Build Information
Failed to build APIota, reference main (5a2929), with Swift 6.3 for Wasm on 12 Apr 2026 04:25:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielrbrowne/APIota.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/danielrbrowne/APIota
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5a2929b Update example project for v0.2.0 breaking changes (#34)
Cloned https://github.com/danielrbrowne/APIota.git
Revision (git rev-parse @):
5a2929b5c50d6f95ade57ab702ee6a391dd951f0
SUCCESS checkout https://github.com/danielrbrowne/APIota.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/danielrbrowne/APIota.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/realm/SwiftLint
[1/160791] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (30.54s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.63.2 (36.24s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/ileitch/swift-filename-matcher
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
[1/929] Fetching swiftytexttable
[104/1030] Fetching swiftytexttable, collectionconcurrencykit
[192/1093] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher
[1094/14434] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher, cryptoswift
[1495/31957] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher, cryptoswift, swift-argument-parser
[3663/43508] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher, cryptoswift, swift-argument-parser, yams
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (3.92s)
Fetched https://github.com/ileitch/swift-filename-matcher from cache (3.92s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (3.94s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.96s)
Fetched https://github.com/jpsim/Yams.git from cache (3.98s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (4.03s)
[1/16200] Fetching sourcekitten
[11827/91167] Fetching sourcekitten, swift-syntax
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.10s)
[49479/74967] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.47s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (9.87s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.39s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.39s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.27s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.3 (0.48s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.33s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (0.74s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.40s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0-prerelease-2026-01-20 (1.88s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.63.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0-prerelease-2026-01-20
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.3
Creating working copy for https://github.com/ileitch/swift-filename-matcher
Working copy of https://github.com/ileitch/swift-filename-matcher resolved at 2.0.1
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
[902/72588246] Downloading https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip (7.15s)
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Compiling APIota APIotaClientError.swift
[8/15] Emitting module APIota
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:16:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 | /// A `URLSession` to use for sending `URLRequest`s from the Client to the REST API.
16 | var session: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// A `JSONDecoder` to use for decoding the responses received by the Client from the REST API.
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/APIota/APIotaCodableEndpoint.swift:44:62: error: cannot find type 'URLRequest' in scope
42 | /// - Parameter baseUrlComponents: `URLComponents` defining the base URL of the API Client.
43 | /// - Returns: A `URLRequest` configured according to the receiver's definition.
44 | func request(baseUrlComponents: URLComponents) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:51:62: error: cannot find type 'URLRequest' in scope
49 | public extension APIotaCodableEndpoint {
50 |
51 | func request(baseUrlComponents: URLComponents) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 |
53 | var requestUrlComponents = baseUrlComponents
/host/spi-builder-workspace/Sources/APIota/APIotaURLEncodedFormEndpoint.swift:33:62: error: cannot find type 'URLRequest' in scope
31 | }
32 |
33 | func request(baseUrlComponents: URLComponents) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
34 |
35 | var requestUrlComponents = baseUrlComponents
[9/15] Compiling APIota APIotaURLEncodedFormEndpoint.swift
/host/spi-builder-workspace/Sources/APIota/APIotaURLEncodedFormEndpoint.swift:33:62: error: cannot find type 'URLRequest' in scope
31 | }
32 |
33 | func request(baseUrlComponents: URLComponents) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
34 |
35 | var requestUrlComponents = baseUrlComponents
/host/spi-builder-workspace/Sources/APIota/APIotaURLEncodedFormEndpoint.swift:43:23: error: cannot find 'URLRequest' in scope
41 | }
42 |
43 | var request = URLRequest(url: requestUrl)
| `- error: cannot find 'URLRequest' in scope
44 | request.httpMethod = httpMethod.rawValue
45 | request.httpBody = httpBody
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:44:62: error: cannot find type 'URLRequest' in scope
42 | /// - Parameter baseUrlComponents: `URLComponents` defining the base URL of the API Client.
43 | /// - Returns: A `URLRequest` configured according to the receiver's definition.
44 | func request(baseUrlComponents: URLComponents) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:51:62: error: cannot find type 'URLRequest' in scope
49 | public extension APIotaCodableEndpoint {
50 |
51 | func request(baseUrlComponents: URLComponents) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 |
53 | var requestUrlComponents = baseUrlComponents
[10/15] Compiling APIota APIotaClient.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:16:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 | /// A `URLSession` to use for sending `URLRequest`s from the Client to the REST API.
16 | var session: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// A `JSONDecoder` to use for decoding the responses received by the Client from the REST API.
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/APIota/APIotaClient.swift:50:22: error: cannot find type 'URLRequest' in scope
48 | callback: @escaping (Result<T.SuccessResponse, Error>) -> Void) {
49 |
50 | var request: URLRequest!
| `- error: cannot find type 'URLRequest' in scope
51 | do {
52 | request = try endpoint.request(baseUrlComponents: baseUrlComponents)
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:44:62: error: cannot find type 'URLRequest' in scope
42 | /// - Parameter baseUrlComponents: `URLComponents` defining the base URL of the API Client.
43 | /// - Returns: A `URLRequest` configured according to the receiver's definition.
44 | func request(baseUrlComponents: URLComponents) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:51:62: error: cannot find type 'URLRequest' in scope
49 | public extension APIotaCodableEndpoint {
50 |
51 | func request(baseUrlComponents: URLComponents) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 |
53 | var requestUrlComponents = baseUrlComponents
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:57:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
55 | }
56 |
57 | let dataTask = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
58 |
59 | guard error == nil else {
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:69:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
67 |
68 | guard let httpResponse = response as? HTTPURLResponse,
69 | let statusCode = HTTPStatusCode(rawValue: httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 | callback(.failure(APIotaClientError<T.ErrorResponse>.unexpectedResponse))
71 |
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | var request = URLRequest(url: requestUrl)
| `- error: cannot find 'URLRequest' in scope
62 | request.httpMethod = httpMethod.rawValue
63 |
[11/15] Compiling APIota APIotaCodableEndpoint.swift
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:16:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 | /// A `URLSession` to use for sending `URLRequest`s from the Client to the REST API.
16 | var session: URLSession { get }
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | /// A `JSONDecoder` to use for decoding the responses received by the Client from the REST API.
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/APIota/APIotaClient.swift:50:22: error: cannot find type 'URLRequest' in scope
48 | callback: @escaping (Result<T.SuccessResponse, Error>) -> Void) {
49 |
50 | var request: URLRequest!
| `- error: cannot find type 'URLRequest' in scope
51 | do {
52 | request = try endpoint.request(baseUrlComponents: baseUrlComponents)
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:44:62: error: cannot find type 'URLRequest' in scope
42 | /// - Parameter baseUrlComponents: `URLComponents` defining the base URL of the API Client.
43 | /// - Returns: A `URLRequest` configured according to the receiver's definition.
44 | func request(baseUrlComponents: URLComponents) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:51:62: error: cannot find type 'URLRequest' in scope
49 | public extension APIotaCodableEndpoint {
50 |
51 | func request(baseUrlComponents: URLComponents) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
52 |
53 | var requestUrlComponents = baseUrlComponents
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:57:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
55 | }
56 |
57 | let dataTask = session.dataTask(with: request) { data, response, error in
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
58 |
59 | guard error == nil else {
/host/spi-builder-workspace/Sources/APIota/APIotaClient.swift:69:74: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
67 |
68 | guard let httpResponse = response as? HTTPURLResponse,
69 | let statusCode = HTTPStatusCode(rawValue: httpResponse.statusCode) else {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
70 | callback(.failure(APIotaClientError<T.ErrorResponse>.unexpectedResponse))
71 |
/host/spi-builder-workspace/Sources/APIota/APIotaCodableEndpoint.swift:61:23: error: cannot find 'URLRequest' in scope
59 | }
60 |
61 | var request = URLRequest(url: requestUrl)
| `- error: cannot find 'URLRequest' in scope
62 | request.httpMethod = httpMethod.rawValue
63 |
[12/16] Compiling APIota HTTPMethod.swift
[13/16] Compiling APIota HTTPMediaType.swift
[14/16] Compiling APIota HTTPHeaders.swift
[15/16] Compiling APIota HTTPHeader.swift
[16/16] Compiling APIota HTTPStatusCode.swift
BUILD FAILURE 6.3 wasm