The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectNotifications, reference main (6a9fdd), with Swift 6.4 for Wasm on 28 Oct 2026 17:36:33 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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-notifications.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/perfectlysoft/perfect-notifications
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6a9fdd3 Merge pull request #20 from PerfectlySoft/release-6.0.0
Cloned https://github.com/perfectlysoft/perfect-notifications.git
Revision (git rev-parse @):
6a9fdd3841e3e669cc773d17523c6744b4c069e6
SUCCESS checkout https://github.com/perfectlysoft/perfect-notifications.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-notifications.git
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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (5.76s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (6.79s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.08s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.28s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 274]
[Planning deferred tasks]
[51 / 444] CCryptoBoringSSL
[52 / 444] CCryptoBoringSSL
[57 / 444] CCryptoBoringSSL
[58 / 444] CCryptoBoringSSL
[62 / 444] CCryptoBoringSSL
[75 / 444] CCryptoBoringSSL
[76 / 444] CCryptoBoringSSL
[81 / 444] CCryptoBoringSSL
[82 / 444] CCryptoBoringSSL
[85 / 444] CCryptoBoringSSL
[88 / 444] CCryptoBoringSSL
[92 / 444] CCryptoBoringSSL
[99 / 444] CCryptoBoringSSL
[102 / 444] CCryptoBoringSSL
[105 / 444] CCryptoBoringSSL
[107 / 444] CCryptoBoringSSL
[111 / 444] CCryptoBoringSSL
[113 / 444] CCryptoBoringSSL
[115 / 444] CCryptoBoringSSL
[118 / 444] CCryptoBoringSSL
[122 / 444] CCryptoBoringSSL
[125 / 444] CCryptoBoringSSL
[131 / 444] CCryptoBoringSSL
[137 / 444] CCryptoBoringSSL
[139 / 444] CCryptoBoringSSL
[142 / 444] CCryptoBoringSSL
[144 / 444] CCryptoBoringSSL
[147 / 444] CCryptoBoringSSL
[148 / 444] CCryptoBoringSSL
[156 / 444] CCryptoBoringSSL
[172 / 444] CCryptoBoringSSL
[182 / 444] CCryptoBoringSSL
[185 / 444] CCryptoBoringSSL
[191 / 444] CCryptoBoringSSL
[193 / 444] CCryptoBoringSSL
[199 / 444] CCryptoBoringSSL
[200 / 444] CCryptoBoringSSL
[204 / 444] CCryptoBoringSSL
[207 / 444] CCryptoBoringSSL
[209 / 444] CCryptoBoringSSL
[212 / 444] CCryptoBoringSSL
[215 / 444] CCryptoBoringSSL
[218 / 444] CCryptoBoringSSL
[220 / 444] CCryptoBoringSSL
[223 / 444] CCryptoBoringSSL
[226 / 444] CCryptoBoringSSL
[228 / 444] CCryptoBoringSSL
[237 / 444] CCryptoBoringSSL
[241 / 444] CCryptoBoringSSL
[245 / 444] CCryptoBoringSSL
[250 / 444] CCryptoBoringSSL
[254 / 444] CCryptoBoringSSL
[256 / 444] CCryptoBoringSSL
[261 / 444] CCryptoBoringSSL
[276 / 444] CCryptoBoringSSL
[282 / 444] CCryptoBoringSSL
[285 / 444] CCryptoBoringSSL
[292 / 444] CCryptoBoringSSL
[293 / 444] CCryptoBoringSSL
[297 / 444] CCryptoBoringSSL
[300 / 444] CCryptoBoringSSL
[305 / 444] CCryptoBoringSSL
[309 / 444] CCryptoBoringSSL
[313 / 444] CCryptoBoringSSL
[315 / 444] CCryptoBoringSSL
[319 / 444] CCryptoBoringSSL
[321 / 444] CCryptoBoringSSL
[327 / 444] CCryptoBoringSSL
[328 / 444] CCryptoBoringSSL
[329 / 444] CCryptoBoringSSL
[339 / 444] CCryptoBoringSSL
[347 / 444] CCryptoBoringSSL
[352 / 444] CCryptoBoringSSL
[354 / 444] CCryptoBoringSSL
[358 / 444] CCryptoBoringSSL
[363 / 444] CCryptoBoringSSL
[367 / 444] CCryptoBoringSSL
[369 / 444] CCryptoBoringSSL
[372 / 444] CCryptoBoringSSL
[373 / 444] CCryptoBoringSSL
[382 / 444] CCryptoBoringSSL
[394 / 444] CCryptoBoringSSL
[400 / 444] CCryptoBoringSSL
[403 / 444] CCryptoBoringSSL
[405 / 444] CCryptoBoringSSL
[409 / 444] CCryptoBoringSSL
[410 / 444] CCryptoBoringSSL
[411 / 444] CCryptoBoringSSL
[415 / 444] CCryptoBoringSSL
[416 / 444] CCryptoBoringSSL
[418 / 444] CCryptoBoringSSL
[419 / 444] CCryptoBoringSSL
[421 / 444] CCryptoBoringSSL
[423 / 444] Crypto
[426 / 445]
[428 / 454] Crypto
[428 / 454] CryptoBoringWrapper
[430 / 454] CryptoBoringWrapper
[436 / 454] Crypto
[441 / 455] CryptoBoringWrapper
[445 / 465] PerfectNotifications
[446 / 465] Crypto
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:165:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |     public init(keyID: String, teamID: String, privateKeyPath: String,
164 |                 environment: Environment = .sandbox,
165 |                 urlSession: URLSession = .shared,
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |                 timeout: TimeInterval = APNSClient.defaultTimeout) throws {
167 |         try Self.validate(environment: environment, timeout: timeout)
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/PerfectNotifications/APNSClient.swift:165:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
163 |     public init(keyID: String, teamID: String, privateKeyPath: String,
164 |                 environment: Environment = .sandbox,
165 |                 urlSession: URLSession = .shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
166 |                 timeout: TimeInterval = APNSClient.defaultTimeout) throws {
167 |         try Self.validate(environment: environment, timeout: timeout)
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:165:43: error: value of type '_' expected to be instance of class or class-constrained type
163 |     public init(keyID: String, teamID: String, privateKeyPath: String,
164 |                 environment: Environment = .sandbox,
165 |                 urlSession: URLSession = .shared,
    |                                           `- error: value of type '_' expected to be instance of class or class-constrained type
166 |                 timeout: TimeInterval = APNSClient.defaultTimeout) throws {
167 |         try Self.validate(environment: environment, timeout: timeout)
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:177:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
175 |     public init(keyID: String, teamID: String, pemString: String,
176 |                 environment: Environment = .sandbox,
177 |                 urlSession: URLSession = .shared,
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |                 timeout: TimeInterval = APNSClient.defaultTimeout) throws {
179 |         try Self.validate(environment: environment, timeout: timeout)
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/PerfectNotifications/APNSClient.swift:177:43: error: value of type '_' expected to be instance of class or class-constrained type
175 |     public init(keyID: String, teamID: String, pemString: String,
176 |                 environment: Environment = .sandbox,
177 |                 urlSession: URLSession = .shared,
    |                                           `- error: value of type '_' expected to be instance of class or class-constrained type
178 |                 timeout: TimeInterval = APNSClient.defaultTimeout) throws {
179 |         try Self.validate(environment: environment, timeout: timeout)
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:177:43: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
175 |     public init(keyID: String, teamID: String, pemString: String,
176 |                 environment: Environment = .sandbox,
177 |                 urlSession: URLSession = .shared,
    |                                           `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
178 |                 timeout: TimeInterval = APNSClient.defaultTimeout) throws {
179 |         try Self.validate(environment: environment, timeout: timeout)
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift:186:78: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
184 |     }
185 |
186 |     init(credentials: APNSCredentials, environment: Environment, urlSession: URLSession,
    |                                                                              `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
187 |          timeout: TimeInterval = APNSClient.defaultTimeout) throws {
188 |         try Self.validate(environment: environment, timeout: timeout)
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/PerfectNotifications/APNSTransport.swift:27:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 | /// trust evaluation (certificate pinning, a private CA in tests) keeps working.
 26 | final class APNSTransport: Sendable {
 27 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let delegate: SessionDelegate
 29 |
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/PerfectNotifications/APNSTransport.swift:30:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |     private let delegate: SessionDelegate
 29 |
 30 |     init(basedOn given: URLSession, maxBodySize: Int) {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |         delegate = SessionDelegate(forwardingTo: given, maxBodySize: maxBodySize)
 32 |         session = URLSession(configuration: given.configuration, delegate: delegate, delegateQueue: nil)
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/PerfectNotifications/APNSTransport.swift:45:26: error: cannot find type 'URLRequest' in scope
 43 |     /// `CancellationError` when the calling task is cancelled, without waiting for
 44 |     /// `URLSession` to wind the transfer down.
 45 |     func send(_ request: URLRequest, deadline seconds: TimeInterval) async throws -> (Data, HTTPURLResponse) {
    |                          `- error: cannot find type 'URLRequest' in scope
 46 |         let flight = InFlight(limit: delegate.maxBodySize)
 47 |         return try await withTaskCancellationHandler {
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:45:93: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     /// `CancellationError` when the calling task is cancelled, without waiting for
 44 |     /// `URLSession` to wind the transfer down.
 45 |     func send(_ request: URLRequest, deadline seconds: TimeInterval) async throws -> (Data, HTTPURLResponse) {
    |                                                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         let flight = InFlight(limit: delegate.maxBodySize)
 47 |         return try await withTaskCancellationHandler {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:27:17: error: stored property 'session' of 'Sendable'-conforming class 'APNSTransport' has non-Sendable type 'AnyObject'
 25 | /// trust evaluation (certificate pinning, a private CA in tests) keeps working.
 26 | final class APNSTransport: Sendable {
 27 |     private let session: URLSession
    |                 `- error: stored property 'session' of 'Sendable'-conforming class 'APNSTransport' has non-Sendable type 'AnyObject'
 28 |     private let delegate: SessionDelegate
 29 |
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:81:58: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |     let limit: Int
 80 |     private let lock = NSLock()
 81 |     private var continuation: CheckedContinuation<(Data, HTTPURLResponse), any Error>?
    |                                                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |     private var pending: Result<(Data, HTTPURLResponse), any Error>?
 83 |     private var task: URLSessionTask?
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:82:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     private let lock = NSLock()
 81 |     private var continuation: CheckedContinuation<(Data, HTTPURLResponse), any Error>?
 82 |     private var pending: Result<(Data, HTTPURLResponse), any Error>?
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |     private var task: URLSessionTask?
 84 |     private var timer: DispatchSourceTimer?
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:83:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 81 |     private var continuation: CheckedContinuation<(Data, HTTPURLResponse), any Error>?
 82 |     private var pending: Result<(Data, HTTPURLResponse), any Error>?
 83 |     private var task: URLSessionTask?
    |                       `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 84 |     private var timer: DispatchSourceTimer?
 85 |     /// Set while the delegate is answering a redirect; a cancel requested meanwhile waits.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:84:24: error: cannot find type 'DispatchSourceTimer' in scope
 82 |     private var pending: Result<(Data, HTTPURLResponse), any Error>?
 83 |     private var task: URLSessionTask?
 84 |     private var timer: DispatchSourceTimer?
    |                        `- error: cannot find type 'DispatchSourceTimer' in scope
 85 |     /// Set while the delegate is answering a redirect; a cancel requested meanwhile waits.
 86 |     private var answeringRedirect = false
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:87:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |     /// Set while the delegate is answering a redirect; a cancel requested meanwhile waits.
 86 |     private var answeringRedirect = false
 87 |     private var deferredCancel: URLSessionTask?
    |                                 `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |     private var done = false
 89 |     private var data = Data()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:90:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 88 |     private var done = false
 89 |     private var data = Data()
 90 |     private var response: HTTPURLResponse?
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 91 |
 92 |     init(limit: Int) { self.limit = limit }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:96:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |     /// Returns `false` if the request already finished (it was cancelled first); the
 95 |     /// continuation has then been resumed.
 96 |     func attach(_ c: CheckedContinuation<(Data, HTTPURLResponse), any Error>) -> Bool {
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |         let early: Result<(Data, HTTPURLResponse), any Error>? = lock.withLock {
 98 |             if let pending { return pending }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:107:45: error: cannot find type 'DispatchSourceTimer' in scope
105 |
106 |     /// Returns `false` if the request finished in the meantime.
107 |     func start(task: URLSessionTask, timer: DispatchSourceTimer) -> Bool {
    |                                             `- error: cannot find type 'DispatchSourceTimer' in scope
108 |         lock.withLock {
109 |             guard !done else { return false }
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:107:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 |
106 |     /// Returns `false` if the request finished in the meantime.
107 |     func start(task: URLSessionTask, timer: DispatchSourceTimer) -> Bool {
    |                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
108 |         lock.withLock {
109 |             guard !done else { return false }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:116:31: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |     }
115 |
116 |     func received(_ response: URLResponse) -> Bool {
    |                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 |         guard let http = response as? HTTPURLResponse else {
118 |             finish(.failure(APNSClientError.invalidResponse))
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:158:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |     /// Resolves the request once: resumes the caller, then cancels the transfer (off the
157 |     /// caller's thread) if it is still running.
158 |     func finish(_ result: Result<(Data, HTTPURLResponse), any Error>) {
    |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |         let (c, task, timer): (CheckedContinuation<(Data, HTTPURLResponse), any Error>?, URLSessionTask?, DispatchSourceTimer?) = lock.withLock {
160 |             guard !done else { return (nil, nil, nil) }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:210:48: error: cannot find type 'URLSessionDataDelegate' in scope
208 | // MARK: - Session delegate
209 |
210 | private final class SessionDelegate: NSObject, URLSessionDataDelegate, @unchecked Sendable {
    |                                                `- error: cannot find type 'URLSessionDataDelegate' in scope
211 |     let maxBodySize: Int
212 |     /// The caller's session, passed to its delegate when forwarding challenges.
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:213:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
211 |     let maxBodySize: Int
212 |     /// The caller's session, passed to its delegate when forwarding challenges.
213 |     private let callerSession: URLSession
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |     private let lock = NSLock()
215 |     private var flights: [Int: InFlight] = [:]
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/PerfectNotifications/APNSTransport.swift:217:38: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 |     private var flights: [Int: InFlight] = [:]
216 |
217 |     init(forwardingTo callerSession: URLSession, maxBodySize: Int) {
    |                                      `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |         self.callerSession = callerSession
219 |         self.maxBodySize = maxBodySize
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/PerfectNotifications/APNSTransport.swift:222:49: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 |     }
221 |
222 |     func register(_ flight: InFlight, for task: URLSessionTask) {
    |                                                 `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
223 |         lock.withLock { flights[task.taskIdentifier] = flight }
224 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:226:29: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 |     }
225 |
226 |     func unregister(_ task: URLSessionTask) {
    |                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
227 |         _ = lock.withLock { flights.removeValue(forKey: task.taskIdentifier) }
228 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:230:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
228 |     }
229 |
230 |     private func flight(_ task: URLSessionTask) -> InFlight? {
    |                                 `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
231 |         lock.withLock { flights[task.taskIdentifier] }
232 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:237:72: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
235 |
236 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
237 |                     completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
    |                                                                        `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
238 |         let keep = flight(dataTask)?.received(response) ?? false
239 |         completionHandler(keep ? .allow : .cancel)
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:236:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
234 |     // MARK: Data
235 |
236 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |                     completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
238 |         let keep = flight(dataTask)?.received(response) ?? false
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/PerfectNotifications/APNSTransport.swift:236:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
234 |     // MARK: Data
235 |
236 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |                     completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
238 |         let keep = flight(dataTask)?.received(response) ?? false
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:236:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
234 |     // MARK: Data
235 |
236 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse,
    |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |                     completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void) {
238 |         let keep = flight(dataTask)?.received(response) ?? false
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:242:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |     }
241 |
242 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 |         flight(dataTask)?.received(data)
244 |     }
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/PerfectNotifications/APNSTransport.swift:242:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |     }
241 |
242 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 |         flight(dataTask)?.received(data)
244 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:246:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 |     }
245 |
246 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
247 |         let f = lock.withLock { flights.removeValue(forKey: task.taskIdentifier) }
248 |         f?.completed(error: error)
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/PerfectNotifications/APNSTransport.swift:246:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 |     }
245 |
246 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: (any Error)?) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
247 |         let f = lock.withLock { flights.removeValue(forKey: task.taskIdentifier) }
248 |         f?.completed(error: error)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:254:41: error: cannot find type 'URLRequest' in scope
252 |
253 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse,
254 |                     newRequest request: URLRequest, completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
    |                                         `- error: cannot find type 'URLRequest' in scope
255 |         if let flight = flight(task) {
256 |             flight.refuseRedirect { completionHandler(nil) }
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:254:93: error: cannot find type 'URLRequest' in scope
252 |
253 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse,
254 |                     newRequest request: URLRequest, completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
    |                                                                                             `- error: cannot find type 'URLRequest' in scope
255 |         if let flight = flight(task) {
256 |             flight.refuseRedirect { completionHandler(nil) }
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:253:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
251 |     // MARK: Redirects: never followed
252 |
253 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse,
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 |                     newRequest request: URLRequest, completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
255 |         if let flight = flight(task) {
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/PerfectNotifications/APNSTransport.swift:253:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
251 |     // MARK: Redirects: never followed
252 |
253 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse,
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 |                     newRequest request: URLRequest, completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
255 |         if let flight = flight(task) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:253:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
251 |     // MARK: Redirects: never followed
252 |
253 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse,
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 |                     newRequest request: URLRequest, completionHandler: @escaping @Sendable (URLRequest?) -> Void) {
255 |         if let flight = flight(task) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:278:72: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
276 |     #else
277 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge,
278 |                     completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                        `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
279 |         let forward = callerSession.delegate
280 |         if (forward as? URLSessionTaskDelegate)?.urlSession?(callerSession, task: task, didReceive: challenge,
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:277:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |     }
276 |     #else
277 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge,
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |                     completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
279 |         let forward = callerSession.delegate
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/PerfectNotifications/APNSTransport.swift:277:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |     }
276 |     #else
277 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge,
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |                     completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
279 |         let forward = callerSession.delegate
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift:277:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |     }
276 |     #else
277 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge,
    |                                                                                        `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |                     completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
279 |         let forward = callerSession.delegate
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/PerfectNotifications/APNSClient.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSCredentials.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSJSONValue.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSNotification.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSPushType.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSResponse.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSTransport.swift /host/spi-builder-workspace/Sources/PerfectNotifications/APNSValidation.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PerfectNotifications -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/Objects-normal/wasm32/PerfectNotifications_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/Objects-normal/wasm32/Modules/PerfectNotifications.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/Objects-normal/wasm32/Modules/PerfectNotifications.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/Objects-normal/wasm32/PerfectNotifications-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/Objects-normal/wasm32/PerfectNotifications-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/Objects-normal/wasm32/PerfectNotifications-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PerfectNotifications.build/Debug-webassembly-wasm32/PerfectNotifications-t.build/Objects-normal/wasm32/Modules/PerfectNotifications.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm