Build Information
Failed to build swift-apple-search-ads-api, reference main (58c314), with Swift 6.4 for Wasm on 25 Sep 2026 04:36:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihai8804858/swift-apple-search-ads-api.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/mihai8804858/swift-apple-search-ads-api
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 58c314f Fix lint issues
Cloned https://github.com/mihai8804858/swift-apple-search-ads-api.git
Revision (git rev-parse @):
58c314ffc957b921424538be063f0504a2ffd175
SUCCESS checkout https://github.com/mihai8804858/swift-apple-search-ads-api.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/mihai8804858/swift-apple-search-ads-api.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/CreateAPI/URLQueryEncoder
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/128] Fetching urlqueryencoder
[129/910] Fetching urlqueryencoder, anycodable
[911/2356] Fetching urlqueryencoder, anycodable, swift-clocks
Fetching https://github.com/fumoboy007/swift-retry
Fetched https://github.com/CreateAPI/URLQueryEncoder (0.85s)
Fetched https://github.com/pointfreeco/swift-clocks (0.85s)
[1/229] Fetching swift-retry
Fetched https://github.com/fumoboy007/swift-retry (0.47s)
[1/16479] Fetching swift-snapshot-testing
Fetching https://github.com/apple/swift-crypto
Fetched https://github.com/Flight-School/AnyCodable (2.69s)
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto (2.55s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (5.25s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (7.00s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (0.27s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (1.05s)
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.62s)
Computing version for https://github.com/CreateAPI/URLQueryEncoder
Computed https://github.com/CreateAPI/URLQueryEncoder at 0.2.1 (4.49s)
Computing version for https://github.com/fumoboy007/swift-retry
Computed https://github.com/fumoboy007/swift-retry at 0.2.4 (0.99s)
Fetching https://github.com/apple/swift-log.git
[1/8165] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (1.12s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (1.32s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/1058] Fetching swift-concurrency-extras
[1059/7219] Fetching swift-concurrency-extras, swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-concurrency-extras (0.78s)
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.79s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.95s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.2 (0.32s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.48s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.1 (0.67s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.18s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.21s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/fumoboy007/swift-retry
Working copy of https://github.com/fumoboy007/swift-retry resolved at 0.2.4
Creating working copy for https://github.com/CreateAPI/URLQueryEncoder
Working copy of https://github.com/CreateAPI/URLQueryEncoder resolved at 0.2.1
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
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
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 423]
[Planning deferred tasks]
[Starting]
[55 / 489] AnyCodable
[75 / 511] CXKCP
[77 / 511] Logging
[78 / 511] Logging
[89 / 511] Logging
[89 / 511] CXKCP
[92 / 511] CryptoBoringWrapper
[98 / 511] CryptoBoringWrapper
[101 / 511] CryptoBoringWrapper
[102 / 511] CryptoBoringWrapper
[102 / 511] Logging
[107 / 512]
[110 / 522] Retry
[117 / 522] Retry
[121 / 522] Retry
[123 / 522] Logging
[127 / 527] AnyCodable
[130 / 527] URLQueryEncoder
[136 / 528] CCryptoBoringSSL
[138 / 529] CCryptoBoringSSL
[139 / 530] CCryptoBoringSSL
[140 / 530] CCryptoBoringSSL
[143 / 530] CCryptoBoringSSL
[146 / 530] CCryptoBoringSSL
[148 / 530] CCryptoBoringSSL
[150 / 530] CCryptoBoringSSL
[152 / 530] CCryptoBoringSSL
[154 / 530] CCryptoBoringSSL
[156 / 530] CCryptoBoringSSL
[158 / 530] CCryptoBoringSSL
[159 / 530] CCryptoBoringSSL
[160 / 530] CCryptoBoringSSL
[161 / 530] CCryptoBoringSSL
[164 / 530] CCryptoBoringSSL
[165 / 530] CCryptoBoringSSL
[168 / 530] CCryptoBoringSSL
[169 / 530] CCryptoBoringSSL
[170 / 530] CCryptoBoringSSL
[173 / 530] CCryptoBoringSSL
[179 / 530] CCryptoBoringSSL
[183 / 530] CCryptoBoringSSL
[184 / 530] CCryptoBoringSSL
[185 / 530] CCryptoBoringSSL
[187 / 530] CCryptoBoringSSL
[188 / 530] CCryptoBoringSSL
[189 / 530] CCryptoBoringSSL
[193 / 530] CCryptoBoringSSL
[194 / 530] CCryptoBoringSSL
[195 / 530] CCryptoBoringSSL
[199 / 530] CCryptoBoringSSL
[200 / 530] CCryptoBoringSSL
[203 / 530] CCryptoBoringSSL
[207 / 530] CCryptoBoringSSL
[209 / 530] CCryptoBoringSSL
[210 / 530] CCryptoBoringSSL
[213 / 530] CCryptoBoringSSL
[217 / 530] CCryptoBoringSSL
[219 / 530] CCryptoBoringSSL
[220 / 530] CCryptoBoringSSL
[221 / 530] CCryptoBoringSSL
[223 / 530] CCryptoBoringSSL
[226 / 530] CCryptoBoringSSL
[228 / 530] CCryptoBoringSSL
[230 / 530] CCryptoBoringSSL
[234 / 530] CCryptoBoringSSL
[239 / 530] CCryptoBoringSSL
[243 / 530] CCryptoBoringSSL
[251 / 530] CCryptoBoringSSL
[255 / 530] CCryptoBoringSSL
[263 / 530] CCryptoBoringSSL
[264 / 530] CCryptoBoringSSL
[269 / 530] CCryptoBoringSSL
[270 / 530] CCryptoBoringSSL
[272 / 530] CCryptoBoringSSL
[273 / 530] CCryptoBoringSSL
[278 / 530] CCryptoBoringSSL
[279 / 530] CCryptoBoringSSL
[281 / 530] CCryptoBoringSSL
[285 / 530] CCryptoBoringSSL
[286 / 530] CCryptoBoringSSL
[287 / 530] CCryptoBoringSSL
[289 / 530] CCryptoBoringSSL
[290 / 530] CCryptoBoringSSL
[291 / 530] CCryptoBoringSSL
[293 / 530] CCryptoBoringSSL
[295 / 530] CCryptoBoringSSL
[298 / 530] CCryptoBoringSSL
[302 / 530] CCryptoBoringSSL
[303 / 530] CCryptoBoringSSL
[305 / 530] CCryptoBoringSSL
[308 / 530] CCryptoBoringSSL
[310 / 530] CCryptoBoringSSL
[311 / 530] CCryptoBoringSSL
[318 / 530] CCryptoBoringSSL
[322 / 530] CCryptoBoringSSL
[325 / 530] CCryptoBoringSSL
[327 / 530] CCryptoBoringSSL
[330 / 530] CCryptoBoringSSL
[332 / 530] CCryptoBoringSSL
[335 / 530] CCryptoBoringSSL
[336 / 530] CCryptoBoringSSL
[337 / 530] CCryptoBoringSSL
[338 / 530] CCryptoBoringSSL
[340 / 530] CCryptoBoringSSL
[342 / 530] CCryptoBoringSSL
[348 / 530] CCryptoBoringSSL
[358 / 530] CCryptoBoringSSL
[362 / 530] CCryptoBoringSSL
[364 / 530] CCryptoBoringSSL
[367 / 530] CCryptoBoringSSL
[369 / 530] CCryptoBoringSSL
[371 / 530] CCryptoBoringSSL
[374 / 530] CCryptoBoringSSL
[375 / 530] CCryptoBoringSSL
[378 / 530] CCryptoBoringSSL
[379 / 530] CCryptoBoringSSL
[381 / 530] CCryptoBoringSSL
[384 / 530] CCryptoBoringSSL
[386 / 530] CCryptoBoringSSL
[388 / 530] CCryptoBoringSSL
[390 / 530] CCryptoBoringSSL
[393 / 530] CCryptoBoringSSL
[394 / 530] CCryptoBoringSSL
[395 / 530] CCryptoBoringSSL
[398 / 530] CCryptoBoringSSL
[401 / 530] CCryptoBoringSSL
[402 / 530] CCryptoBoringSSL
[405 / 530] CCryptoBoringSSL
[406 / 530] CCryptoBoringSSL
[409 / 530] CCryptoBoringSSL
[410 / 530] CCryptoBoringSSL
[411 / 530] CCryptoBoringSSL
[413 / 530] CCryptoBoringSSL
[418 / 530] CCryptoBoringSSL
[422 / 530] CCryptoBoringSSL
[427 / 530] CCryptoBoringSSL
[430 / 530] CCryptoBoringSSL
[434 / 530] CCryptoBoringSSL
[435 / 530] CCryptoBoringSSL
[436 / 530] CCryptoBoringSSL
[439 / 530] CCryptoBoringSSL
[441 / 530] CCryptoBoringSSL
[445 / 530] CCryptoBoringSSL
[447 / 530] CCryptoBoringSSL
[448 / 530] CCryptoBoringSSL
[450 / 530] CCryptoBoringSSL
[451 / 530] CCryptoBoringSSL
[453 / 530] CCryptoBoringSSL
[457 / 530] CCryptoBoringSSL
[459 / 530] CCryptoBoringSSL
[465 / 530] CCryptoBoringSSL
[469 / 530] CCryptoBoringSSL
[475 / 530] CCryptoBoringSSL
[480 / 530] CCryptoBoringSSL
[481 / 530] CCryptoBoringSSL
[483 / 530] CCryptoBoringSSL
[484 / 530] CCryptoBoringSSL
[485 / 530] CCryptoBoringSSL
[486 / 530] CCryptoBoringSSL
[488 / 530] CCryptoBoringSSL
[490 / 530] CCryptoBoringSSL
[492 / 530] CCryptoBoringSSL
[496 / 530] CCryptoBoringSSL
[498 / 530] URLQueryEncoder
[503 / 530] CryptoBoringWrapper
[506 / 530] AnyCodable
[507 / 530] CCryptoBoringSSL
[508 / 530] AnyCodable-product
[511 / 531] CCryptoBoringSSL
[517 / 540] AnyCodable
[519 / 541] Crypto
[520 / 541] CCryptoBoringSSL
[522 / 541]
[526 / 541] Crypto
[532 / 542] Crypto
[537 / 552] AppleSearchAds
[538 / 552] AppleSearchAds
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/API/APIConfiguration.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile APIConfiguration.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/API/APIProvider.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile APIProvider.swift
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile URLRequestExtensions.swift
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:25: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// `URLSession` to use to perform the requests.
[0;36m22 |[0;0m public let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
[0;36m24 |[0;0m public let clientIdentifier: String
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m keyIdentifier: String,
[0;36m45 |[0;0m privateKey: String,
[0;36m46 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m jwtExpirationDuration: TimeInterval = 86400
[0;36m48 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m44 |[0;0m keyIdentifier: String,
[0;36m45 |[0;0m privateKey: String,
[0;36m46 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m47 |[0;0m jwtExpirationDuration: TimeInterval = 86400
[0;36m48 |[0;0m ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:46:32: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m44 |[0;0m keyIdentifier: String,
[0;36m45 |[0;0m privateKey: String,
[0;36m46 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m47 |[0;0m jwtExpirationDuration: TimeInterval = 86400
[0;36m48 |[0;0m ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:18: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m69 |[0;0m keyIdentifier: String,
[0;36m70 |[0;0m privateKeyURL: URL,
[0;36m71 |[0;0m session: [4;39mURLSession[0;0m = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m72 |[0;0m jwtExpirationDuration: TimeInterval = 86400
[0;36m73 |[0;0m ) {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' 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 URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m69 |[0;0m keyIdentifier: String,
[0;36m70 |[0;0m privateKeyURL: URL,
[0;36m71 |[0;0m session: URLSession = [4;39m.shared[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m72 |[0;0m jwtExpirationDuration: TimeInterval = 86400
[0;36m73 |[0;0m ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:71:32: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m69 |[0;0m keyIdentifier: String,
[0;36m70 |[0;0m privateKeyURL: URL,
[0;36m71 |[0;0m session: URLSession = .shared,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m72 |[0;0m jwtExpirationDuration: TimeInterval = 86400
[0;36m73 |[0;0m ) {
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:22:16: [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m /// `URLSession` to use to perform the requests.
[0;36m22 |[0;0m public let session: URLSession
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'session' of 'Sendable'-conforming struct 'APIConfiguration' has non-Sendable type 'AnyObject'[0;0m
[0;36m23 |[0;0m /// You receive your client identifier when you upload a public key to App Store Search Ads UI.
[0;36m24 |[0;0m public let clientIdentifier: String
/host/spi-builder-workspace/Sources/API/APIConfiguration.swift:94:48: [1;33mwarning: [1;39m'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m92 |[0;0m return try P256.Signing.PrivateKey(derRepresentation: base64Key)
[0;36m93 |[0;0m case .pemURL(let privateKeyURL):
[0;36m94 |[0;0m let pemEncodedPrivateKey = try String(contentsOf: privateKeyURL)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m95 |[0;0m return try P256.Signing.PrivateKey(pemRepresentation: pemEncodedPrivateKey)
[0;36m96 |[0;0m }
/host/spi-builder-workspace/Sources/API/APIProvider.swift:30:36: [1;31merror: [1;39margument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'[0;0m
[0;36m28 |[0;0m let provider = Provider(
[0;36m29 |[0;0m baseURL: URL(string: "https://api.searchads.apple.com")!,
[0;36m30 |[0;0m session: configuration.session,
[0;36m|[0;0m `- [1;31merror: [1;39margument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'SessionType'[0;0m
[0;36m31 |[0;0m plugins: [
[0;36m32 |[0;0m HostInjector(),
/host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift:6:11: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m4 |[0;0m #endif
[0;36m5 |[0;0m
[0;36m6 |[0;0m extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m mutating func add(headers: [String: String], replace: Bool) {
[0;36m8 |[0;0m headers.forEach { add(header: $0.key, value: $0.value, replace: replace) }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -c -filelist /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/sources-1 -primary-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/DerivedSources/resource_bundle_accessor.swift -primary-file /host/spi-builder-workspace/Sources/API/APIConfiguration.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+AdGroupKeywords.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+AdGroups.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+AdRejection.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Ads.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Apps.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+BudgetOrders.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+CampaignKeywords.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Campaigns.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Context.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Creatives.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+CustomProductPages.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Geolocations.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Paged.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+Reports.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider+TargetingKeywords.swift -primary-file /host/spi-builder-workspace/Sources/API/APIProvider.swift -primary-file /host/spi-builder-workspace/Sources/Core/Extensions/CoderExtensions.swift -primary-file /host/spi-builder-workspace/Sources/Core/Extensions/ErrorExtensions.swift -primary-file /host/spi-builder-workspace/Sources/Core/Extensions/ResponseExtensions.swift -primary-file /host/spi-builder-workspace/Sources/Core/Extensions/URLRequestExtensions.swift -primary-file /host/spi-builder-workspace/Sources/Core/Models/Codable/AccessToken.swift -primary-file /host/spi-builder-workspace/Sources/Core/Models/Codable/Ad.swift -primary-file /host/spi-builder-workspace/Sources/Core/Models/Codable/AdCreate.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/supplementaryOutputs-9 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AppleSearchAds -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/AppleSearchAds_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/resource_bundle_accessor.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIConfiguration.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+AdGroupKeywords.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+AdGroups.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+AdRejection.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Ads.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Apps.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+BudgetOrders.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+CampaignKeywords.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Campaigns.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Context.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Creatives.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+CustomProductPages.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Geolocations.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Paged.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Reports.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+TargetingKeywords.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/CoderExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/ErrorExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/ResponseExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/URLRequestExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/AccessToken.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/Ad.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/AdCreate.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/resource_bundle_accessor.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIConfiguration.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+AdGroupKeywords.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+AdGroups.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+AdRejection.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Ads.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Apps.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+BudgetOrders.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+CampaignKeywords.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Campaigns.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Context.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Creatives.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+CustomProductPages.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Geolocations.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Paged.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+Reports.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider+TargetingKeywords.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/APIProvider.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/CoderExtensions.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/ErrorExtensions.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/ResponseExtensions.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/URLRequestExtensions.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/AccessToken.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/Ad.o -index-unit-output-path /swift-apple-search-ads-api.build/Debug-webassembly-wasm32/AppleSearchAds-t.build/Objects-normal/wasm32/AdCreate.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm