The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIota, reference 0.2.0 (590dd9), with Swift 6.3 for Wasm on 12 Apr 2026 04:23:30 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielrbrowne/APIota.git
Reference: 0.2.0
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
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 590dd92 README and API docs updates (#32)
Cloned https://github.com/danielrbrowne/APIota.git
Revision (git rev-parse @):
590dd92231b0428f2b6910f856845d1895c58af9
SUCCESS checkout https://github.com/danielrbrowne/APIota.git at 0.2.0
========================================
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 (38.33s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.63.2 (44.28s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/ileitch/swift-filename-matcher
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/scottrhoyt/SwiftyTextTable.git
[1/929] Fetching swiftytexttable
[11/1030] Fetching swiftytexttable, collectionconcurrencykit
[281/1093] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher
[1094/14434] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher, cryptoswift
[2962/25985] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher, cryptoswift, yams
[14475/42185] Fetching swiftytexttable, collectionconcurrencykit, swift-filename-matcher, cryptoswift, yams, sourcekitten
Fetched https://github.com/ileitch/swift-filename-matcher from cache (6.51s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/jpsim/SourceKitten.git from cache (6.53s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (7.73s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (7.73s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (7.77s)
Fetched https://github.com/jpsim/Yams.git from cache (7.78s)
[1/74967] Fetching swift-syntax
[14245/92490] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.49s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.22s)
Computing version for https://github.com/ileitch/swift-filename-matcher
Computed https://github.com/ileitch/swift-filename-matcher at 2.0.1 (15.58s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.49s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.49s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.04s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.3 (0.68s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.73s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (1.65s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.54s)
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.44s)
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 (0.60s)
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
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/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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
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
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
[1397/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 (6.73s)
[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] 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
[8/16] Compiling APIota HTTPMethod.swift
[9/16] 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 |
[10/16] 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 |
[11/16] Compiling APIota HTTPStatusCode.swift
[12/16] Compiling APIota HTTPHeaders.swift
[13/16] Compiling APIota HTTPMediaType.swift
[14/16] Compiling APIota APIotaClientError.swift
[15/16] 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
[16/16] Compiling APIota HTTPHeader.swift
BUILD FAILURE 6.3 wasm