Build Information
Failed to build whisperr-swift, reference main (ca25a0), with Swift 6.1 for Wasm on 22 Oct 2026 19:30:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WhisperrAI/whisperr-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/WhisperrAI/whisperr-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ca25a0c feat(signals): session_id, visit counters, launch_source, app_error, app_crashed (0.7.0) (#16)
Cloned https://github.com/WhisperrAI/whisperr-swift.git
Revision (git rev-parse @):
ca25a0cea26b9ef866821a36d05828135edf907d
SUCCESS checkout https://github.com/WhisperrAI/whisperr-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/WhisperrAI/whisperr-swift.git
https://github.com/WhisperrAI/whisperr-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/19] Compiling Whisperr Signals.swift
[7/20] Compiling Whisperr WhisperrClient.swift
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | ) {
24 | self.baseURL = baseURL
[8/20] Compiling Whisperr Whisperr.swift
/host/spi-builder-workspace/Sources/Whisperr/Whisperr.swift:197:9: error: cannot find 'NotificationCenter' in scope
195 | }
196 | deepLinks.put(url)
197 | NotificationCenter.default.post(name: deepLinkNotification, object: nil, userInfo: ["url": url])
| `- error: cannot find 'NotificationCenter' in scope
198 | return url
199 | }
/host/spi-builder-workspace/Sources/Whisperr/Whisperr.swift:197:77: error: 'nil' requires a contextual type
195 | }
196 | deepLinks.put(url)
197 | NotificationCenter.default.post(name: deepLinkNotification, object: nil, userInfo: ["url": url])
| `- error: 'nil' requires a contextual type
198 | return url
199 | }
[9/20] Compiling Whisperr Transport.swift
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | private let sdkVersion: String
14 | private let timeout: TimeInterval
15 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | public init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | ) {
24 | self.baseURL = baseURL
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | ) {
24 | self.baseURL = baseURL
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:33:27: error: cannot find 'URLRequest' in scope
31 | public func send(path: String, body: JSONValue) async -> WhisperrSendResult {
32 | do {
33 | var request = URLRequest(url: endpoint(path))
| `- error: cannot find 'URLRequest' in scope
34 | request.httpMethod = "POST"
35 | request.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:41:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 | request.httpBody = try JSONEncoder.whisperr.encode(body)
40 |
41 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 | guard let http = response as? HTTPURLResponse else {
43 | return .retry
[10/20] Compiling Whisperr Persistence.swift
[11/20] Compiling Whisperr Push.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/20] Compiling Whisperr JSONValue.swift
[13/20] Compiling Whisperr Models.swift
[14/20] Compiling Whisperr AppLifecycle.swift
[15/20] Compiling Whisperr DeviceTraits.swift
[16/20] Emitting module Whisperr
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | private let sdkVersion: String
14 | private let timeout: TimeInterval
15 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | public init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | ) {
24 | self.baseURL = baseURL
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | ) {
24 | self.baseURL = baseURL
[17/20] Compiling Whisperr resource_bundle_accessor.swift
[18/20] Compiling WhisperrNotificationServiceExtension WhisperrNotificationService.swift
[19/20] Emitting module WhisperrNotificationServiceExtension
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Whisperr Whisperr.swift
/host/spi-builder-workspace/Sources/Whisperr/Whisperr.swift:197:9: error: cannot find 'NotificationCenter' in scope
195 | }
196 | deepLinks.put(url)
197 | NotificationCenter.default.post(name: deepLinkNotification, object: nil, userInfo: ["url": url])
| `- error: cannot find 'NotificationCenter' in scope
198 | return url
199 | }
/host/spi-builder-workspace/Sources/Whisperr/Whisperr.swift:197:77: error: 'nil' requires a contextual type
195 | }
196 | deepLinks.put(url)
197 | NotificationCenter.default.post(name: deepLinkNotification, object: nil, userInfo: ["url": url])
| `- error: 'nil' requires a contextual type
198 | return url
199 | }
[3/16] Compiling WhisperrNotificationServiceExtension WhisperrNotificationService.swift
[4/16] Emitting module WhisperrNotificationServiceExtension
[5/16] Compiling WhisperrNotificationServiceExtension resource_bundle_accessor.swift
[7/17] Compiling Whisperr resource_bundle_accessor.swift
[8/17] Compiling Whisperr Transport.swift
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | private let sdkVersion: String
14 | private let timeout: TimeInterval
15 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | public init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | ) {
24 | self.baseURL = baseURL
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | ) {
24 | self.baseURL = baseURL
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:33:27: error: cannot find 'URLRequest' in scope
31 | public func send(path: String, body: JSONValue) async -> WhisperrSendResult {
32 | do {
33 | var request = URLRequest(url: endpoint(path))
| `- error: cannot find 'URLRequest' in scope
34 | request.httpMethod = "POST"
35 | request.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:41:51: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
39 | request.httpBody = try JSONEncoder.whisperr.encode(body)
40 |
41 | let (_, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
42 | guard let http = response as? HTTPURLResponse else {
43 | return .retry
[9/17] Compiling Whisperr WhisperrClient.swift
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | ) {
24 | self.baseURL = baseURL
[10/17] Compiling Whisperr AppLifecycle.swift
[11/17] Compiling Whisperr DeviceTraits.swift
[12/17] Compiling Whisperr Persistence.swift
[13/17] Compiling Whisperr Push.swift
[14/17] Compiling Whisperr Signals.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/17] Compiling Whisperr JSONValue.swift
[16/17] Compiling Whisperr Models.swift
[17/17] Emitting module Whisperr
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | private let sdkVersion: String
14 | private let timeout: TimeInterval
15 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | public init(
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | ) {
24 | self.baseURL = baseURL
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
20 | sdkVersion: String = kWhisperrSdkVersion,
21 | timeout: TimeInterval = 30,
22 | session: URLSession = .shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
23 | ) {
24 | self.baseURL = baseURL
BUILD FAILURE 6.1 wasm