The Swift Package Index logo.Swift Package Index

Build Information

Failed to build whisperr-swift, reference main (ca25a0), with Swift 6.2 for Wasm on 22 Oct 2026 19:30:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build 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.2
Building package at path:  $PWD
https://github.com/WhisperrAI/whisperr-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/19] 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
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: value of type '_' expected to be instance of class or class-constrained type
 20 |         sdkVersion: String = kWhisperrSdkVersion,
 21 |         timeout: TimeInterval = 30,
 22 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 23 |     ) {
 24 |         self.baseURL = baseURL
[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
/host/spi-builder-workspace/Sources/Whisperr/Transport.swift:22:32: error: value of type '_' expected to be instance of class or class-constrained type
 20 |         sdkVersion: String = kWhisperrSdkVersion,
 21 |         timeout: TimeInterval = 30,
 22 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 23 |     ) {
 24 |         self.baseURL = baseURL
[8/20] Compiling Whisperr resource_bundle_accessor.swift
[9/20] Compiling Whisperr AppLifecycle.swift
[10/20] Compiling Whisperr DeviceTraits.swift
[11/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: value of type '_' expected to be instance of class or class-constrained type
 20 |         sdkVersion: String = kWhisperrSdkVersion,
 21 |         timeout: TimeInterval = 30,
 22 |         session: URLSession = .shared
    |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 23 |     ) {
 24 |         self.baseURL = baseURL
/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
[12/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 |     }
[13/20] Compiling Whisperr Persistence.swift
[14/20] Compiling Whisperr Push.swift
[15/20] Compiling Whisperr Signals.swift
[16/20] Compiling Whisperr JSONValue.swift
[17/20] Compiling Whisperr Models.swift
[18/20] Compiling WhisperrNotificationServiceExtension WhisperrNotificationService.swift
[19/20] Emitting module WhisperrNotificationServiceExtension
BUILD FAILURE 6.2 wasm