Build Information
Failed to build AppStoreConnect, reference main (3c05bb), with Swift 6.4 for Wasm on 21 Nov 2026 23:10:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aaronsky/asc-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/aaronsky/asc-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3c05bb1 support api spec 4.6.1
Cloned https://github.com/aaronsky/asc-swift.git
Revision (git rev-parse @):
3c05bb1ab846eac0b542ac2e3941fbc6338c9a30
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aaronsky/asc-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/aaronsky/asc-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/CreateAPI/URLQueryEncoder.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-crypto.git
[1/128] Fetching urlqueryencoder
[129/19115] Fetching urlqueryencoder, swift-crypto
[699/21496] Fetching urlqueryencoder, swift-crypto, swift-docc-plugin
[1104/40938] Fetching urlqueryencoder, swift-crypto, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.83s)
[7446/21496] Fetching urlqueryencoder, swift-crypto, swift-docc-plugin
Fetched https://github.com/CreateAPI/URLQueryEncoder.git (1.29s)
Fetched https://github.com/apple/swift-docc-plugin (1.29s)
Fetched https://github.com/apple/swift-crypto.git (1.30s)
Computing version for https://github.com/CreateAPI/URLQueryEncoder.git
Computed https://github.com/CreateAPI/URLQueryEncoder.git at 0.2.1 (2.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.92s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.56s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3867] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.70s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/CreateAPI/URLQueryEncoder.git
Working copy of https://github.com/CreateAPI/URLQueryEncoder.git resolved at 0.2.1
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.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 711]
[Planning deferred tasks]
[Writing build description]
[7 / 570]
[115 / 582] CryptoBoringWrapper
[116 / 582] CryptoBoringWrapper
[117 / 582] URLQueryEncoder
[128 / 582] CryptoBoringWrapper
[128 / 582] Crypto
[133 / 582] CCryptoBoringSSL
[133 / 582] CryptoBoringWrapper
[135 / 582] CryptoBoringWrapper
[141 / 583] CCryptoBoringSSL
[144 / 584] CCryptoBoringSSL
[147 / 584] CCryptoBoringSSL
[154 / 584] CCryptoBoringSSL
[157 / 584] CCryptoBoringSSL
[158 / 584] CCryptoBoringSSL
[163 / 584] CCryptoBoringSSL
[166 / 584] CCryptoBoringSSL
[167 / 584] CCryptoBoringSSL
[171 / 584] CCryptoBoringSSL
[183 / 584] CCryptoBoringSSL
[185 / 584] CCryptoBoringSSL
[187 / 584] CCryptoBoringSSL
[191 / 584] CCryptoBoringSSL
[192 / 584] CCryptoBoringSSL
[195 / 584] CCryptoBoringSSL
[198 / 584] CCryptoBoringSSL
[200 / 584] CCryptoBoringSSL
[203 / 584] CCryptoBoringSSL
[206 / 584] CCryptoBoringSSL
[208 / 584] CCryptoBoringSSL
[213 / 584] CCryptoBoringSSL
[215 / 584] CCryptoBoringSSL
[220 / 584] CCryptoBoringSSL
[223 / 584] CCryptoBoringSSL
[225 / 584] CCryptoBoringSSL
[228 / 584] CCryptoBoringSSL
[232 / 584] CCryptoBoringSSL
[240 / 584] CCryptoBoringSSL
[251 / 584] CCryptoBoringSSL
[264 / 584] CCryptoBoringSSL
[265 / 584] CCryptoBoringSSL
[271 / 584] CCryptoBoringSSL
[273 / 584] CCryptoBoringSSL
[278 / 584] CCryptoBoringSSL
[281 / 584] CCryptoBoringSSL
[282 / 584] CCryptoBoringSSL
[287 / 584] CCryptoBoringSSL
[289 / 584] CCryptoBoringSSL
[292 / 584] CCryptoBoringSSL
[295 / 584] CCryptoBoringSSL
[296 / 584] CCryptoBoringSSL
[301 / 584] CCryptoBoringSSL
[304 / 584] CCryptoBoringSSL
[305 / 584] CCryptoBoringSSL
[309 / 584] CCryptoBoringSSL
[316 / 584] CCryptoBoringSSL
[323 / 584] CCryptoBoringSSL
[326 / 584] CCryptoBoringSSL
[330 / 584] CCryptoBoringSSL
[335 / 584] CCryptoBoringSSL
[338 / 584] CCryptoBoringSSL
[344 / 584] CCryptoBoringSSL
[360 / 584] CCryptoBoringSSL
[363 / 584] CCryptoBoringSSL
[367 / 584] CCryptoBoringSSL
[373 / 584] CCryptoBoringSSL
[374 / 584] CCryptoBoringSSL
[379 / 584] CCryptoBoringSSL
[382 / 584] CCryptoBoringSSL
[387 / 584] CCryptoBoringSSL
[391 / 584] CCryptoBoringSSL
[394 / 584] CCryptoBoringSSL
[398 / 584] CCryptoBoringSSL
[401 / 584] CCryptoBoringSSL
[404 / 584] CCryptoBoringSSL
[409 / 584] CCryptoBoringSSL
[411 / 584] CCryptoBoringSSL
[417 / 584] CCryptoBoringSSL
[425 / 584] CCryptoBoringSSL
[434 / 584] CCryptoBoringSSL
[436 / 584] CCryptoBoringSSL
[440 / 584] CCryptoBoringSSL
[444 / 584] CCryptoBoringSSL
[448 / 584] CCryptoBoringSSL
[451 / 584] CCryptoBoringSSL
[452 / 584] CCryptoBoringSSL
[454 / 584] CCryptoBoringSSL
[466 / 584] CCryptoBoringSSL
[476 / 584] CCryptoBoringSSL
[481 / 584] CCryptoBoringSSL
[484 / 584] CCryptoBoringSSL
[485 / 584] CCryptoBoringSSL
[486 / 584] CCryptoBoringSSL
[490 / 584] CCryptoBoringSSL
[493 / 584] CCryptoBoringSSL
[496 / 584] CCryptoBoringSSL
[503 / 586] ArgumentParserToolInfo
[507 / 597] URLQueryEncoder-product
[508 / 597] CCryptoBoringSSL
[516 / 597] CCryptoBoringSSL
[518 / 597] CCryptoBoringSSL
[519 / 598] Crypto
[520 / 598] CXKCP
[537 / 609] AppStoreConnect
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/AppStoreConnect/AppStoreConnectClient.swift:41:47: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m39 |[0;0m /// - authenticator: Responsible for generating and managing access tokens. ``JWT`` is the default implementation.
[0;36m40 |[0;0m public init(
[0;36m41 |[0;0m transport: any Transport = [4;39mURLSession[0;0m.[4;39mshared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m42 |[0;0m authenticator: any Authenticator
[0;36m43 |[0;0m ) {
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Request.swift:7:11: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m5 |[0;0m #endif
[0;36m6 |[0;0m
[0;36m7 |[0;0m extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m /// Creates a ``URLRequest`` out of a ``Request``.
[0;36m9 |[0;0m /// - Parameters:
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:15:19: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m13 |[0;0m let data: Received?
[0;36m14 |[0;0m /// Response returned by the ``Transport``.
[0;36m15 |[0;0m let response: [4;39mURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m /// Status code found on the ``response``.
[0;36m17 |[0;0m let statusCode: StatusCode
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:32:19: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m init(
[0;36m31 |[0;0m data: Received?,
[0;36m32 |[0;0m response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m33 |[0;0m statusCode: StatusCode,
[0;36m34 |[0;0m rate: Rate?,
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:53:19: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m init(
[0;36m52 |[0;0m fileURL: Received?,
[0;36m53 |[0;0m response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m statusCode: StatusCode,
[0;36m55 |[0;0m rate: Rate?
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:69:19: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m67 |[0;0m init(
[0;36m68 |[0;0m data: Received?,
[0;36m69 |[0;0m response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m statusCode: StatusCode,
[0;36m71 |[0;0m rate: Rate?,
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:15:9: [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'[0;0m
[0;36m13 |[0;0m let data: Received?
[0;36m14 |[0;0m /// Response returned by the ``Transport``.
[0;36m15 |[0;0m let response: URLResponse
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'[0;0m
[0;36m16 |[0;0m /// Status code found on the ``response``.
[0;36m17 |[0;0m let statusCode: StatusCode
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:11:15: [1;31merror: [1;39mtype 'Response<Received>' does not conform to protocol 'Equatable'[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m /// Response from sending a ``Request``.
[0;36m11 |[0;0m public struct Response<Received: Equatable & Sendable>: Equatable, Sendable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'Response<Received>' does not conform to protocol 'Equatable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m12 |[0;0m /// Raw data returned by the ``Transport``.
[0;36m13 |[0;0m let data: Received?
[0;36m14 |[0;0m /// Response returned by the ``Transport``.
[0;36m15 |[0;0m let response: URLResponse
[0;36m|[0;0m `- [1;39mnote: [1;39mstored property type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'Response<Received>' to 'Equatable'[0;0m
[0;36m16 |[0;0m /// Status code found on the ``response``.
[0;36m17 |[0;0m let statusCode: StatusCode
Swift.==:1:24: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'RawRepresentable'[0;0m
[0;36m1 |[0;0m @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'RawRepresentable'[0;0m
Swift.FloatingPoint.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'FloatingPoint'[0;0m
[0;36m1 |[0;0m protocol FloatingPoint {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'FloatingPoint'[0;0m
[0;36m3 |[0;0m
Swift.BinaryInteger.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'BinaryInteger'[0;0m
[0;36m1 |[0;0m protocol BinaryInteger {
[0;36m2 |[0;0m public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'BinaryInteger'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:31: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift.Strideable.==:2:31: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'Strideable'[0;0m
[0;36m1 |[0;0m protocol Strideable {
[0;36m2 |[0;0m @inlinable public static func == (x: Self, y: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'Strideable'[0;0m
[0;36m3 |[0;0m
Swift.StringProtocol.==:2:31: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'StringProtocol'[0;0m
[0;36m1 |[0;0m protocol StringProtocol {
[0;36m2 |[0;0m @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'StringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.SIMD.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'SIMD'[0;0m
[0;36m1 |[0;0m protocol SIMD {
[0;36m2 |[0;0m public static func == (a: Self, b: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'SIMD'[0;0m
[0;36m3 |[0;0m
Foundation.__BridgedNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '__BridgedNSError'[0;0m
[0;36m1 |[0;0m protocol __BridgedNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '__BridgedNSError'[0;0m
[0;36m3 |[0;0m
Foundation._BridgedStoredNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '_BridgedStoredNSError'[0;0m
[0;36m1 |[0;0m protocol _BridgedStoredNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to '_BridgedStoredNSError'[0;0m
[0;36m3 |[0;0m
FoundationEssentials.AttributedStringProtocol.==:2:20: [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'AttributedStringProtocol'[0;0m
[0;36m1 |[0;0m protocol AttributedStringProtocol {
[0;36m2 |[0;0m public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'Response<Received>' conformed to 'AttributedStringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.Equatable.==:2:13: [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing Response<Received>, borrowing Response<Received>) -> Bool'[0;0m
[0;36m1 |[0;0m protocol Equatable {
[0;36m2 |[0;0m static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing Response<Received>, borrowing Response<Received>) -> Bool'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:121:82: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m119 |[0;0m public enum ResponseError: Swift.Error, Equatable {
[0;36m120 |[0;0m /// The response as requested was unsuccessful, as described by the `statusCode` and `error`.
[0;36m121 |[0;0m case requestFailure(error: ErrorResponse?, statusCode: StatusCode, response: [4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m122 |[0;0m /// The client has exceeded the rate limit for the current period.
[0;36m123 |[0;0m case rateLimitExceeded(error: ErrorResponse?, rate: Rate?, response: URLResponse)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:123:74: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m121 |[0;0m case requestFailure(error: ErrorResponse?, statusCode: StatusCode, response: URLResponse)
[0;36m122 |[0;0m /// The client has exceeded the rate limit for the current period.
[0;36m123 |[0;0m case rateLimitExceeded(error: ErrorResponse?, rate: Rate?, response: [4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m124 |[0;0m /// Data was expected to exist or conform to some format but failed.
[0;36m125 |[0;0m case dataAssertionFailed
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:121:10: [1;33mwarning: [1;39massociated value 'requestFailure(error:statusCode:response:)' of 'Sendable'-conforming enum 'ResponseError' contains non-Sendable type 'AnyObject'[0;0m
[0;36m119 |[0;0m public enum ResponseError: Swift.Error, Equatable {
[0;36m120 |[0;0m /// The response as requested was unsuccessful, as described by the `statusCode` and `error`.
[0;36m121 |[0;0m case requestFailure(error: ErrorResponse?, statusCode: StatusCode, response: URLResponse)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'requestFailure(error:statusCode:response:)' of 'Sendable'-conforming enum 'ResponseError' contains non-Sendable type 'AnyObject'[0;0m
[0;36m122 |[0;0m /// The client has exceeded the rate limit for the current period.
[0;36m123 |[0;0m case rateLimitExceeded(error: ErrorResponse?, rate: Rate?, response: URLResponse)
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:123:10: [1;33mwarning: [1;39massociated value 'rateLimitExceeded(error:rate:response:)' of 'Sendable'-conforming enum 'ResponseError' contains non-Sendable type 'AnyObject'[0;0m
[0;36m121 |[0;0m case requestFailure(error: ErrorResponse?, statusCode: StatusCode, response: URLResponse)
[0;36m122 |[0;0m /// The client has exceeded the rate limit for the current period.
[0;36m123 |[0;0m case rateLimitExceeded(error: ErrorResponse?, rate: Rate?, response: URLResponse)
[0;36m|[0;0m `- [1;33mwarning: [1;39massociated value 'rateLimitExceeded(error:rate:response:)' of 'Sendable'-conforming enum 'ResponseError' contains non-Sendable type 'AnyObject'[0;0m
[0;36m124 |[0;0m /// Data was expected to exist or conform to some format but failed.
[0;36m125 |[0;0m case dataAssertionFailed
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift:119:13: [1;31merror: [1;39mtype 'ResponseError' does not conform to protocol 'Equatable'[0;0m
[0;36m117 |[0;0m
[0;36m118 |[0;0m /// Error thrown when the response from the ``Transport`` fails to meet expectations.
[0;36m119 |[0;0m public enum ResponseError: Swift.Error, Equatable {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'ResponseError' does not conform to protocol 'Equatable'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m120 |[0;0m /// The response as requested was unsuccessful, as described by the `statusCode` and `error`.
[0;36m121 |[0;0m case requestFailure(error: ErrorResponse?, statusCode: StatusCode, response: URLResponse)
[0;36m|[0;0m `- [1;39mnote: [1;39massociated value type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ResponseError' to 'Equatable'[0;0m
[0;36m122 |[0;0m /// The client has exceeded the rate limit for the current period.
[0;36m123 |[0;0m case rateLimitExceeded(error: ErrorResponse?, rate: Rate?, response: URLResponse)
[0;36m|[0;0m `- [1;39mnote: [1;39massociated value type 'URLResponse' (aka 'AnyObject') does not conform to protocol 'Equatable', preventing synthesized conformance of 'ResponseError' to 'Equatable'[0;0m
[0;36m124 |[0;0m /// Data was expected to exist or conform to some format but failed.
[0;36m125 |[0;0m case dataAssertionFailed
Swift.==:1:24: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'RawRepresentable'[0;0m
[0;36m1 |[0;0m @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'RawRepresentable'[0;0m
Swift.FloatingPoint.==:2:20: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'FloatingPoint'[0;0m
[0;36m1 |[0;0m protocol FloatingPoint {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'FloatingPoint'[0;0m
[0;36m3 |[0;0m
Swift.BinaryInteger.==:2:20: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'BinaryInteger'[0;0m
[0;36m1 |[0;0m protocol BinaryInteger {
[0;36m2 |[0;0m public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'BinaryInteger'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:20: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift._Pointer.==:2:31: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '_Pointer'[0;0m
[0;36m1 |[0;0m protocol _Pointer {
[0;36m2 |[0;0m @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '_Pointer'[0;0m
[0;36m3 |[0;0m
Swift.Strideable.==:2:31: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'Strideable'[0;0m
[0;36m1 |[0;0m protocol Strideable {
[0;36m2 |[0;0m @inlinable public static func == (x: Self, y: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'Strideable'[0;0m
[0;36m3 |[0;0m
Swift.StringProtocol.==:2:31: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'StringProtocol'[0;0m
[0;36m1 |[0;0m protocol StringProtocol {
[0;36m2 |[0;0m @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'StringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.SIMD.==:2:20: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'SIMD'[0;0m
[0;36m1 |[0;0m protocol SIMD {
[0;36m2 |[0;0m public static func == (a: Self, b: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'SIMD'[0;0m
[0;36m3 |[0;0m
Foundation.__BridgedNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '__BridgedNSError'[0;0m
[0;36m1 |[0;0m protocol __BridgedNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '__BridgedNSError'[0;0m
[0;36m3 |[0;0m
Foundation._BridgedStoredNSError.==:2:20: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '_BridgedStoredNSError'[0;0m
[0;36m1 |[0;0m protocol _BridgedStoredNSError {
[0;36m2 |[0;0m public static func == (lhs: Self, rhs: Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to '_BridgedStoredNSError'[0;0m
[0;36m3 |[0;0m
FoundationEssentials.AttributedStringProtocol.==:2:20: [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'AttributedStringProtocol'[0;0m
[0;36m1 |[0;0m protocol AttributedStringProtocol {
[0;36m2 |[0;0m public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate would match if 'ResponseError' conformed to 'AttributedStringProtocol'[0;0m
[0;36m3 |[0;0m
Swift.Equatable.==:2:13: [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing ResponseError, borrowing ResponseError) -> Bool'[0;0m
[0;36m1 |[0;0m protocol Equatable {
[0;36m2 |[0;0m static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires function '==' with type '(borrowing ResponseError, borrowing ResponseError) -> Bool'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Transport.swift:23:24: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m21 |[0;0m /// - Returns: The response from the App Store Connect API.
[0;36m22 |[0;0m /// - Throws: An error describing the manner in which the request failed to complete.
[0;36m23 |[0;0m func send(request: [4;39mURLRequest[0;0m, decoder: JSONDecoder) async throws -> Response<Data>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// Download the requested resource and store it on-disk.
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Transport.swift:29:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m /// - Returns: A ``Response`` that describes the location of the downloaded file.
[0;36m28 |[0;0m /// - Throws: An error describing the manner in which the request failed to complete.
[0;36m29 |[0;0m func download(request: [4;39mURLRequest[0;0m) async throws -> Response<URL>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m /// Upload the data using the request and receive a ``Response`` asynchronously.
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Transport.swift:38:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m36 |[0;0m /// - Returns: The response from the App Store Connect API.
[0;36m37 |[0;0m /// - Throws: An error describing the manner in which the request failed to complete.
[0;36m38 |[0;0m func upload(request: [4;39mURLRequest[0;0m, data: Data, decoder: JSONDecoder) async throws -> Response<Data>
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
/host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Transport.swift:41:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m extension [4;39mURLSession[0;0m: Transport {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m42 |[0;0m /// Send the request and receive a ``Response`` asynchronously.
[0;36m43 |[0;0m /// - Parameters:
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AppStoreConnect/AppStoreConnectClient.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Authentication/JWT.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Entities/AnyJSON.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Entities/ErrorLinks.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Entities/ErrorResponse.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Entities/ErrorSourceParameter.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Entities/ErrorSourcePointer.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Entities/PagedDocumentLinks.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Entities/StringCodingKey.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Networking/API.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Formatters.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Pagination.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Request.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Response.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Networking/RetryStrategy.swift /host/spi-builder-workspace/Sources/AppStoreConnect/Networking/Transport.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/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AppStoreConnect -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/Objects-normal/wasm32/AppStoreConnect_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/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/Objects-normal/wasm32/Modules/AppStoreConnect.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/Objects-normal/wasm32/Modules/AppStoreConnect.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/Objects-normal/wasm32/AppStoreConnect-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/Objects-normal/wasm32/AppStoreConnect-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/Objects-normal/wasm32/AppStoreConnect-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AppStoreConnect.build/Debug-webassembly-wasm32/AppStoreConnect-t.build/Objects-normal/wasm32/Modules/AppStoreConnect.swiftmodule
[539 / 618] ArgumentParser
error: Build failed
BUILD FAILURE 6.4 wasm