The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build XCEAPIClient, reference 6.0.0 (22c92e), with Swift 6.1 for Wasm on 30 May 2025 04:26:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/XCEssentials/APIClient.git
Reference: 6.0.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/XCEssentials/APIClient
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at 22c92e1 Merge branch 'release/6.0.0'
Cloned https://github.com/XCEssentials/APIClient.git
Revision (git rev-parse @):
22c92e1cacf738d1ac32c90389212abadcdf27fa
SUCCESS checkout https://github.com/XCEssentials/APIClient.git at 6.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/XCEssentials/APIClient.git
https://github.com/XCEssentials/APIClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XCEAPIClient",
  "name" : "XCEAPIClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCEAPIClient",
      "targets" : [
        "XCEAPIClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XCEAPIClientAllTests",
      "module_type" : "SwiftTarget",
      "name" : "XCEAPIClientAllTests",
      "path" : "Tests/XCEAPIClientAllTests",
      "sources" : [
        "RequestDefinitionTests.swift",
        "URLRequestFacilitatorTests.swift"
      ],
      "target_dependencies" : [
        "XCEAPIClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCEAPIClient",
      "module_type" : "SwiftTarget",
      "name" : "XCEAPIClient",
      "path" : "Sources/XCEAPIClient",
      "product_memberships" : [
        "XCEAPIClient"
      ],
      "sources" : [
        "3rdParty/Alamofire/ParameterEncoding.swift",
        "BasicURLRequestFacilitator.swift",
        "Errors.swift",
        "Helpers.swift",
        "RequestDefinition.swift",
        "URLRequestFacilitator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling XCEAPIClient Helpers.swift
[4/9] Compiling XCEAPIClient Errors.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/Errors.swift:44:10: warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
42 |     case conversionIntoDataFailed(Error)
43 |     case conversionDataIntoJSONObjectFailed(Error)
44 |     case conversionJSONObjectIntoDictionaryFailed(theObject: Any)
   |          `- warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
45 |     case invalidRelativePath(String)
46 |     case requestEncodingFailed(RequestEncodingIssue)
[5/9] Compiling XCEAPIClient RequestDefinition.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
 66 |         _ urlRequest: URLRequest,
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
    |                 `- error: cannot find type 'URLRequest' in scope
 69 | }
 70 |
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     /// - returns: The encoded request.
 65 |     func encode(
 66 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling XCEAPIClient ParameterEncoding.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
 66 |         _ urlRequest: URLRequest,
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
    |                 `- error: cannot find type 'URLRequest' in scope
 69 | }
 70 |
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     /// - returns: The encoded request.
 65 |     func encode(
 66 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:160:17: error: cannot find type 'URLRequest' in scope
158 |         _ urlRequest: URLRequest,
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
161 |
162 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:158:23: error: cannot find type 'URLRequest' in scope
156 |     /// - returns: The encoded request.
157 |     public func encode(
158 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:421:17: error: cannot find type 'URLRequest' in scope
419 |         _ urlRequest: URLRequest,
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
422 |
423 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:419:23: error: cannot find type 'URLRequest' in scope
417 |     public
418 |     func encode(
419 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:468:17: error: cannot find type 'URLRequest' in scope
466 |         _ urlRequest: URLRequest,
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
    |                 `- error: cannot find type 'URLRequest' in scope
469 |
470 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:466:23: error: cannot find type 'URLRequest' in scope
464 |     public
465 |     func encode(
466 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:568:17: error: cannot find type 'URLRequest' in scope
566 |         _ urlRequest: URLRequest,
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
569 |
570 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:566:23: error: cannot find type 'URLRequest' in scope
564 |     public
565 |     func encode(
566 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:615:16: error: cannot find 'CFBooleanGetTypeID' in scope
613 |     var isBool: Bool
614 |     {
615 |         return CFBooleanGetTypeID() == CFGetTypeID(self)
    |                `- error: cannot find 'CFBooleanGetTypeID' in scope
616 |     }
617 | }
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:615:40: error: cannot find 'CFGetTypeID' in scope
613 |     var isBool: Bool
614 |     {
615 |         return CFBooleanGetTypeID() == CFGetTypeID(self)
    |                                        `- error: cannot find 'CFGetTypeID' in scope
616 |     }
617 | }
[7/9] Emitting module XCEAPIClient
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
 66 |         _ urlRequest: URLRequest,
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
    |                 `- error: cannot find type 'URLRequest' in scope
 69 | }
 70 |
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     /// - returns: The encoded request.
 65 |     func encode(
 66 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:160:17: error: cannot find type 'URLRequest' in scope
158 |         _ urlRequest: URLRequest,
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
161 |
162 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:158:23: error: cannot find type 'URLRequest' in scope
156 |     /// - returns: The encoded request.
157 |     public func encode(
158 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:421:17: error: cannot find type 'URLRequest' in scope
419 |         _ urlRequest: URLRequest,
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
422 |
423 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:419:23: error: cannot find type 'URLRequest' in scope
417 |     public
418 |     func encode(
419 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:468:17: error: cannot find type 'URLRequest' in scope
466 |         _ urlRequest: URLRequest,
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
    |                 `- error: cannot find type 'URLRequest' in scope
469 |
470 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:466:23: error: cannot find type 'URLRequest' in scope
464 |     public
465 |     func encode(
466 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:568:17: error: cannot find type 'URLRequest' in scope
566 |         _ urlRequest: URLRequest,
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
569 |
570 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:566:23: error: cannot find type 'URLRequest' in scope
564 |     public
565 |     func encode(
566 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:36:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | struct BasicURLRequestFacilitator: URLRequestFacilitator
35 | {
36 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     public
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
/host/spi-builder-workspace/Sources/XCEAPIClient/Errors.swift:44:10: warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
42 |     case conversionIntoDataFailed(Error)
43 |     case conversionDataIntoJSONObjectFailed(Error)
44 |     case conversionJSONObjectIntoDictionaryFailed(theObject: Any)
   |          `- warning: associated value 'conversionJSONObjectIntoDictionaryFailed(theObject:)' of 'Sendable'-conforming enum 'PrepareRequestIssue' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
45 |     case invalidRelativePath(String)
46 |     case requestEncodingFailed(RequestEncodingIssue)
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:38:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     init(
 37 |         sharedPrefixURL: URL,
 38 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     )
 40 | }
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/XCEAPIClient/URLRequestFacilitator.swift:49:23: error: cannot find type 'URLRequest' in scope
 47 |     func prepareRequest<R: RequestDefinition>(
 48 |         from definition: R
 49 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
 50 |
 51 |         let parametersData: Data
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:107:23: error: cannot find type 'URLRequest' in scope
105 |         parameterEncoding: ParameterEncoding,
106 |         parameters: Parameters? = nil
107 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
108 |
109 |         guard
[8/9] Compiling XCEAPIClient BasicURLRequestFacilitator.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:36:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | struct BasicURLRequestFacilitator: URLRequestFacilitator
35 | {
36 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     public
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
[9/9] Compiling XCEAPIClient URLRequestFacilitator.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:38:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     init(
 37 |         sharedPrefixURL: URL,
 38 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     )
 40 | }
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/XCEAPIClient/URLRequestFacilitator.swift:49:23: error: cannot find type 'URLRequest' in scope
 47 |     func prepareRequest<R: RequestDefinition>(
 48 |         from definition: R
 49 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
 50 |
 51 |         let parametersData: Data
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:107:23: error: cannot find type 'URLRequest' in scope
105 |         parameterEncoding: ParameterEncoding,
106 |         parameters: Parameters? = nil
107 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
108 |
109 |         guard
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:119:22: error: cannot find 'URLRequest' in scope
117 |         var targetURL = sharedPrefixURL
118 |         targetURL.appendPathComponent(encodedRelativePath)
119 |         var result = URLRequest(url: targetURL)
    |                      `- error: cannot find 'URLRequest' in scope
120 |         result.httpMethod = method?.rawValue
121 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling XCEAPIClient RequestDefinition.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
 66 |         _ urlRequest: URLRequest,
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
    |                 `- error: cannot find type 'URLRequest' in scope
 69 | }
 70 |
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     /// - returns: The encoded request.
 65 |     func encode(
 66 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
[3/8] Compiling XCEAPIClient Helpers.swift
[4/8] Compiling XCEAPIClient URLRequestFacilitator.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:38:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     init(
 37 |         sharedPrefixURL: URL,
 38 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     )
 40 | }
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/XCEAPIClient/URLRequestFacilitator.swift:49:23: error: cannot find type 'URLRequest' in scope
 47 |     func prepareRequest<R: RequestDefinition>(
 48 |         from definition: R
 49 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
 50 |
 51 |         let parametersData: Data
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:107:23: error: cannot find type 'URLRequest' in scope
105 |         parameterEncoding: ParameterEncoding,
106 |         parameters: Parameters? = nil
107 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
108 |
109 |         guard
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:119:22: error: cannot find 'URLRequest' in scope
117 |         var targetURL = sharedPrefixURL
118 |         targetURL.appendPathComponent(encodedRelativePath)
119 |         var result = URLRequest(url: targetURL)
    |                      `- error: cannot find 'URLRequest' in scope
120 |         result.httpMethod = method?.rawValue
121 |
[5/8] Compiling XCEAPIClient Errors.swift
[6/8] Compiling XCEAPIClient BasicURLRequestFacilitator.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:36:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | struct BasicURLRequestFacilitator: URLRequestFacilitator
35 | {
36 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     public
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module XCEAPIClient
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
 66 |         _ urlRequest: URLRequest,
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
    |                 `- error: cannot find type 'URLRequest' in scope
 69 | }
 70 |
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     /// - returns: The encoded request.
 65 |     func encode(
 66 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:160:17: error: cannot find type 'URLRequest' in scope
158 |         _ urlRequest: URLRequest,
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
161 |
162 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:158:23: error: cannot find type 'URLRequest' in scope
156 |     /// - returns: The encoded request.
157 |     public func encode(
158 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:421:17: error: cannot find type 'URLRequest' in scope
419 |         _ urlRequest: URLRequest,
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
422 |
423 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:419:23: error: cannot find type 'URLRequest' in scope
417 |     public
418 |     func encode(
419 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:468:17: error: cannot find type 'URLRequest' in scope
466 |         _ urlRequest: URLRequest,
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
    |                 `- error: cannot find type 'URLRequest' in scope
469 |
470 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:466:23: error: cannot find type 'URLRequest' in scope
464 |     public
465 |     func encode(
466 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:568:17: error: cannot find type 'URLRequest' in scope
566 |         _ urlRequest: URLRequest,
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
569 |
570 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:566:23: error: cannot find type 'URLRequest' in scope
564 |     public
565 |     func encode(
566 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/BasicURLRequestFacilitator.swift:36:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | struct BasicURLRequestFacilitator: URLRequestFacilitator
35 | {
36 |     let session: URLSession
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     public
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
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/XCEAPIClient/BasicURLRequestFacilitator.swift:46:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
44 |     init(
45 |         sharedPrefixURL: URL,
46 |         session: URLSession = .shared
   |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
47 |     ) {
48 |         self.sharedPrefixURL = sharedPrefixURL
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:38:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     init(
 37 |         sharedPrefixURL: URL,
 38 |         session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     )
 40 | }
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/XCEAPIClient/URLRequestFacilitator.swift:49:23: error: cannot find type 'URLRequest' in scope
 47 |     func prepareRequest<R: RequestDefinition>(
 48 |         from definition: R
 49 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
 50 |
 51 |         let parametersData: Data
/host/spi-builder-workspace/Sources/XCEAPIClient/URLRequestFacilitator.swift:107:23: error: cannot find type 'URLRequest' in scope
105 |         parameterEncoding: ParameterEncoding,
106 |         parameters: Parameters? = nil
107 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
108 |
109 |         guard
[8/8] Compiling XCEAPIClient ParameterEncoding.swift
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:68:17: error: cannot find type 'URLRequest' in scope
 66 |         _ urlRequest: URLRequest,
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
    |                 `- error: cannot find type 'URLRequest' in scope
 69 | }
 70 |
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     /// - returns: The encoded request.
 65 |     func encode(
 66 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 67 |         with parameters: Parameters?
 68 |     ) -> Result<URLRequest, RequestEncodingIssue>
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:160:17: error: cannot find type 'URLRequest' in scope
158 |         _ urlRequest: URLRequest,
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
161 |
162 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:158:23: error: cannot find type 'URLRequest' in scope
156 |     /// - returns: The encoded request.
157 |     public func encode(
158 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
159 |         with parameters: Parameters?
160 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:421:17: error: cannot find type 'URLRequest' in scope
419 |         _ urlRequest: URLRequest,
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
422 |
423 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:419:23: error: cannot find type 'URLRequest' in scope
417 |     public
418 |     func encode(
419 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
420 |         with parameters: Parameters?
421 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:468:17: error: cannot find type 'URLRequest' in scope
466 |         _ urlRequest: URLRequest,
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
    |                 `- error: cannot find type 'URLRequest' in scope
469 |
470 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:466:23: error: cannot find type 'URLRequest' in scope
464 |     public
465 |     func encode(
466 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
467 |         withJSONObject jsonObject: Any? = nil
468 |     ) throws -> URLRequest {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:568:17: error: cannot find type 'URLRequest' in scope
566 |         _ urlRequest: URLRequest,
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
    |                 `- error: cannot find type 'URLRequest' in scope
569 |
570 |         var urlRequest = urlRequest
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:566:23: error: cannot find type 'URLRequest' in scope
564 |     public
565 |     func encode(
566 |         _ urlRequest: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
567 |         with parameters: Parameters?
568 |     ) -> Result<URLRequest, RequestEncodingIssue> {
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:615:16: error: cannot find 'CFBooleanGetTypeID' in scope
613 |     var isBool: Bool
614 |     {
615 |         return CFBooleanGetTypeID() == CFGetTypeID(self)
    |                `- error: cannot find 'CFBooleanGetTypeID' in scope
616 |     }
617 | }
/host/spi-builder-workspace/Sources/XCEAPIClient/3rdParty/Alamofire/ParameterEncoding.swift:615:40: error: cannot find 'CFGetTypeID' in scope
613 |     var isBool: Bool
614 |     {
615 |         return CFBooleanGetTypeID() == CFGetTypeID(self)
    |                                        `- error: cannot find 'CFGetTypeID' in scope
616 |     }
617 | }
BUILD FAILURE 6.1 wasm