The Swift Package Index logo.Swift Package Index

Build Information

Failed to build carsxe, reference v1.4.0 (fbc207), with Swift 6.1 for Wasm on 9 Sep 2026 12:26:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/carsxe/carsxe-swift-package.git
Reference: v1.4.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/carsxe/carsxe-swift-package
 * tag               v1.4.0     -> FETCH_HEAD
HEAD is now at fbc2071 Merge pull request #1 from carsxe/cursor/add-missing-carsxe-api-methods-e2c0
Cloned https://github.com/carsxe/carsxe-swift-package.git
Revision (git rev-parse @):
fbc20710ee38b3bd86091086e883f5e70c5ed809
SUCCESS checkout https://github.com/carsxe/carsxe-swift-package.git at v1.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/carsxe/carsxe-swift-package.git
https://github.com/carsxe/carsxe-swift-package.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.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 saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling carsxe types.swift
/host/spi-builder-workspace/Sources/carsxe/types.swift:40:23: warning: static property 'specs' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 38 | /// All endpoint parameter definitions
 39 | public struct APIEndpoints {
 40 |     public static let specs = EndpointParams(
    |                       |- warning: static property 'specs' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'specs' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         required: ["vin"],
 42 |         optional: ["deepdata", "disableIntVINDecoding"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:45:23: warning: static property 'marketValue' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 43 |     )
 44 |
 45 |     public static let marketValue = EndpointParams(
    |                       |- warning: static property 'marketValue' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'marketValue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |         required: ["vin"],
 47 |         optional: ["state"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:50:23: warning: static property 'history' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 48 |     )
 49 |
 50 |     public static let history = EndpointParams(
    |                       |- warning: static property 'history' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'history' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         required: ["vin"]
 52 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:54:23: warning: static property 'recalls' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 52 |     )
 53 |
 54 |     public static let recalls = EndpointParams(
    |                       |- warning: static property 'recalls' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'recalls' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |         required: ["vin"]
 56 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:58:23: warning: static property 'internationalVinDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 56 |     )
 57 |
 58 |     public static let internationalVinDecoder = EndpointParams(
    |                       |- warning: static property 'internationalVinDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'internationalVinDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |         required: ["vin"]
 60 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:62:23: warning: static property 'plateDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 60 |     )
 61 |
 62 |     public static let plateDecoder = EndpointParams(
    |                       |- warning: static property 'plateDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'plateDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |         required: ["plate", "country"],
 64 |         optional: ["state", "district"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:67:23: warning: static property 'images' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 65 |     )
 66 |
 67 |     public static let images = EndpointParams(
    |                       |- warning: static property 'images' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'images' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |         required: ["make", "model"],
 69 |         optional: ["year", "trim", "color", "transparent", "angle", "photoType", "size", "license"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:72:23: warning: static property 'obdcodesDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 70 |     )
 71 |
 72 |     public static let obdcodesDecoder = EndpointParams(
    |                       |- warning: static property 'obdcodesDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'obdcodesDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |         required: ["code"]
 74 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:76:23: warning: static property 'plateImageRecognition' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 74 |     )
 75 |
 76 |     public static let plateImageRecognition = EndpointParams(
    |                       |- warning: static property 'plateImageRecognition' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'plateImageRecognition' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         required: ["upload_url"]
 78 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:80:23: warning: static property 'vinOcr' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 78 |     )
 79 |
 80 |     public static let vinOcr = EndpointParams(
    |                       |- warning: static property 'vinOcr' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'vinOcr' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |         required: ["upload_url"]
 82 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:84:23: warning: static property 'yearMakeModel' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 82 |     )
 83 |
 84 |     public static let yearMakeModel = EndpointParams(
    |                       |- warning: static property 'yearMakeModel' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'yearMakeModel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |         required: ["year", "make", "model"],
 86 |         optional: ["trim"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:89:23: warning: static property 'lienAndTheft' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 87 |     )
 88 |
 89 |     public static let lienAndTheft = EndpointParams(
    |                       |- warning: static property 'lienAndTheft' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'lienAndTheft' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |         required: ["vin"]
 91 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:93:23: warning: static property 'recallsYmm' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 91 |     )
 92 |
 93 |     public static let recallsYmm = EndpointParams(
    |                       |- warning: static property 'recallsYmm' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'recallsYmm' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 94 |         required: ["year", "make", "model"]
 95 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:98:23: warning: static property 'submitBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 96 |
 97 |     /// At least one of vins, csv, or csvUrl is required.
 98 |     public static let submitBulkRecallBatch = EndpointParams(
    |                       |- warning: static property 'submitBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'submitBulkRecallBatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         required: [],
100 |         optional: ["vins", "csv", "csvUrl", "webhookUrl"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:103:23: warning: static property 'getBulkRecallBatchStatus' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
101 |     )
102 |
103 |     public static let getBulkRecallBatchStatus = EndpointParams(
    |                       |- warning: static property 'getBulkRecallBatchStatus' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'getBulkRecallBatchStatus' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |         required: ["batchId"]
105 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:107:23: warning: static property 'getBulkRecallBatchResults' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
105 |     )
106 |
107 |     public static let getBulkRecallBatchResults = EndpointParams(
    |                       |- warning: static property 'getBulkRecallBatchResults' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'getBulkRecallBatchResults' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         required: ["batchId"]
109 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:111:23: warning: static property 'downloadBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
109 |     )
110 |
111 |     public static let downloadBulkRecallBatch = EndpointParams(
    |                       |- warning: static property 'downloadBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'downloadBulkRecallBatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |         required: ["batchId"]
113 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:115:23: warning: static property 'ymmOptions' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
113 |     )
114 |
115 |     public static let ymmOptions = EndpointParams(
    |                       |- warning: static property 'ymmOptions' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ymmOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |         required: [],
117 |         optional: ["dimension", "year", "make", "model", "trim"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:120:23: warning: static property 'ownershipVin' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
118 |     )
119 |
120 |     public static let ownershipVin = EndpointParams(
    |                       |- warning: static property 'ownershipVin' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipVin' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |         required: ["vin"],
122 |         optional: ["include"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:125:23: warning: static property 'ownershipPerson' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
123 |     )
124 |
125 |     public static let ownershipPerson = EndpointParams(
    |                       |- warning: static property 'ownershipPerson' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipPerson' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 |         required: ["first_name", "last_name", "address", "zip"],
127 |         optional: ["include"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:130:23: warning: static property 'ownershipAddress' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
128 |     )
129 |
130 |     public static let ownershipAddress = EndpointParams(
    |                       |- warning: static property 'ownershipAddress' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipAddress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |         required: ["address", "zip"],
132 |         optional: ["include", "variant"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:135:23: warning: static property 'ownershipZip' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
133 |     )
134 |
135 |     public static let ownershipZip = EndpointParams(
    |                       |- warning: static property 'ownershipZip' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipZip' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |         required: ["zip"],
137 |         optional: ["gender", "min_age", "max_age", "income", "page", "limit", "include", "variant"]
[4/5] Emitting module carsxe
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     private let apiKey: String
 11 |     private let sourceName = "swift"
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
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/carsxe/carsxe.swift:14:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         self.apiKey = apiKey
 16 |         self.session = session
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/carsxe/carsxe.swift:14:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 15 |         self.apiKey = apiKey
 16 |         self.session = session
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:36: error: cannot find type 'URLRequest' in scope
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                    `- error: cannot find type 'URLRequest' in scope
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:86:37: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     private func perform(_ request: URLRequest) async throws -> Data {
    |                                     `- error: cannot find type 'URLRequest' in scope
 87 |         let data: Data
 88 |         let response: URLResponse
/host/spi-builder-workspace/Sources/carsxe/types.swift:40:23: warning: static property 'specs' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 38 | /// All endpoint parameter definitions
 39 | public struct APIEndpoints {
 40 |     public static let specs = EndpointParams(
    |                       |- warning: static property 'specs' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'specs' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |         required: ["vin"],
 42 |         optional: ["deepdata", "disableIntVINDecoding"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:45:23: warning: static property 'marketValue' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 43 |     )
 44 |
 45 |     public static let marketValue = EndpointParams(
    |                       |- warning: static property 'marketValue' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'marketValue' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |         required: ["vin"],
 47 |         optional: ["state"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:50:23: warning: static property 'history' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 48 |     )
 49 |
 50 |     public static let history = EndpointParams(
    |                       |- warning: static property 'history' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'history' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |         required: ["vin"]
 52 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:54:23: warning: static property 'recalls' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 52 |     )
 53 |
 54 |     public static let recalls = EndpointParams(
    |                       |- warning: static property 'recalls' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'recalls' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |         required: ["vin"]
 56 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:58:23: warning: static property 'internationalVinDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 56 |     )
 57 |
 58 |     public static let internationalVinDecoder = EndpointParams(
    |                       |- warning: static property 'internationalVinDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'internationalVinDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |         required: ["vin"]
 60 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:62:23: warning: static property 'plateDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 60 |     )
 61 |
 62 |     public static let plateDecoder = EndpointParams(
    |                       |- warning: static property 'plateDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'plateDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |         required: ["plate", "country"],
 64 |         optional: ["state", "district"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:67:23: warning: static property 'images' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 65 |     )
 66 |
 67 |     public static let images = EndpointParams(
    |                       |- warning: static property 'images' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'images' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |         required: ["make", "model"],
 69 |         optional: ["year", "trim", "color", "transparent", "angle", "photoType", "size", "license"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:72:23: warning: static property 'obdcodesDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 70 |     )
 71 |
 72 |     public static let obdcodesDecoder = EndpointParams(
    |                       |- warning: static property 'obdcodesDecoder' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'obdcodesDecoder' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |         required: ["code"]
 74 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:76:23: warning: static property 'plateImageRecognition' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 74 |     )
 75 |
 76 |     public static let plateImageRecognition = EndpointParams(
    |                       |- warning: static property 'plateImageRecognition' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'plateImageRecognition' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         required: ["upload_url"]
 78 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:80:23: warning: static property 'vinOcr' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 78 |     )
 79 |
 80 |     public static let vinOcr = EndpointParams(
    |                       |- warning: static property 'vinOcr' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'vinOcr' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |         required: ["upload_url"]
 82 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:84:23: warning: static property 'yearMakeModel' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 82 |     )
 83 |
 84 |     public static let yearMakeModel = EndpointParams(
    |                       |- warning: static property 'yearMakeModel' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'yearMakeModel' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |         required: ["year", "make", "model"],
 86 |         optional: ["trim"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:89:23: warning: static property 'lienAndTheft' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 87 |     )
 88 |
 89 |     public static let lienAndTheft = EndpointParams(
    |                       |- warning: static property 'lienAndTheft' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'lienAndTheft' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |         required: ["vin"]
 91 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:93:23: warning: static property 'recallsYmm' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 91 |     )
 92 |
 93 |     public static let recallsYmm = EndpointParams(
    |                       |- warning: static property 'recallsYmm' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'recallsYmm' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 94 |         required: ["year", "make", "model"]
 95 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:98:23: warning: static property 'submitBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
 96 |
 97 |     /// At least one of vins, csv, or csvUrl is required.
 98 |     public static let submitBulkRecallBatch = EndpointParams(
    |                       |- warning: static property 'submitBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'submitBulkRecallBatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |         required: [],
100 |         optional: ["vins", "csv", "csvUrl", "webhookUrl"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:103:23: warning: static property 'getBulkRecallBatchStatus' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
101 |     )
102 |
103 |     public static let getBulkRecallBatchStatus = EndpointParams(
    |                       |- warning: static property 'getBulkRecallBatchStatus' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'getBulkRecallBatchStatus' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |         required: ["batchId"]
105 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:107:23: warning: static property 'getBulkRecallBatchResults' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
105 |     )
106 |
107 |     public static let getBulkRecallBatchResults = EndpointParams(
    |                       |- warning: static property 'getBulkRecallBatchResults' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'getBulkRecallBatchResults' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |         required: ["batchId"]
109 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:111:23: warning: static property 'downloadBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
109 |     )
110 |
111 |     public static let downloadBulkRecallBatch = EndpointParams(
    |                       |- warning: static property 'downloadBulkRecallBatch' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'downloadBulkRecallBatch' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |         required: ["batchId"]
113 |     )
/host/spi-builder-workspace/Sources/carsxe/types.swift:115:23: warning: static property 'ymmOptions' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
113 |     )
114 |
115 |     public static let ymmOptions = EndpointParams(
    |                       |- warning: static property 'ymmOptions' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ymmOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |         required: [],
117 |         optional: ["dimension", "year", "make", "model", "trim"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:120:23: warning: static property 'ownershipVin' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
118 |     )
119 |
120 |     public static let ownershipVin = EndpointParams(
    |                       |- warning: static property 'ownershipVin' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipVin' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |         required: ["vin"],
122 |         optional: ["include"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:125:23: warning: static property 'ownershipPerson' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
123 |     )
124 |
125 |     public static let ownershipPerson = EndpointParams(
    |                       |- warning: static property 'ownershipPerson' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipPerson' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 |         required: ["first_name", "last_name", "address", "zip"],
127 |         optional: ["include"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:130:23: warning: static property 'ownershipAddress' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
128 |     )
129 |
130 |     public static let ownershipAddress = EndpointParams(
    |                       |- warning: static property 'ownershipAddress' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipAddress' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 |         required: ["address", "zip"],
132 |         optional: ["include", "variant"]
/host/spi-builder-workspace/Sources/carsxe/types.swift:135:23: warning: static property 'ownershipZip' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | /// Parameter definitions for each endpoint
 28 | public struct EndpointParams {
    |               `- note: consider making struct 'EndpointParams' conform to the 'Sendable' protocol
 29 |     public let required: [String]
 30 |     public let optional: [String]
    :
133 |     )
134 |
135 |     public static let ownershipZip = EndpointParams(
    |                       |- warning: static property 'ownershipZip' is not concurrency-safe because non-'Sendable' type 'EndpointParams' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'ownershipZip' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |         required: ["zip"],
137 |         optional: ["gender", "min_age", "max_age", "income", "page", "limit", "include", "variant"]
[5/5] Compiling carsxe carsxe.swift
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     private let apiKey: String
 11 |     private let sourceName = "swift"
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
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/carsxe/carsxe.swift:14:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         self.apiKey = apiKey
 16 |         self.session = session
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/carsxe/carsxe.swift:14:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 15 |         self.apiKey = apiKey
 16 |         self.session = session
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:36: error: cannot find type 'URLRequest' in scope
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                    `- error: cannot find type 'URLRequest' in scope
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:86:37: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     private func perform(_ request: URLRequest) async throws -> Data {
    |                                     `- error: cannot find type 'URLRequest' in scope
 87 |         let data: Data
 88 |         let response: URLResponse
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:82:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |         }
 81 |         #else
 82 |         try await session.data(for: request)
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 83 |         #endif
 84 |     }
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:88:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     private func perform(_ request: URLRequest) async throws -> Data {
 87 |         let data: Data
 88 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         do {
 90 |             (data, response) = try await self.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:97:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 95 |         }
 96 |
 97 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 98 |             throw CarsXEError.networkError(NSError(domain: "CarsXE", code: -1, userInfo: [NSLocalizedDescriptionKey: "Invalid response"]))
 99 |         }
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:97:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |         }
 96 |
 97 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |             throw CarsXEError.networkError(NSError(domain: "CarsXE", code: -1, userInfo: [NSLocalizedDescriptionKey: "Invalid response"]))
 99 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:101:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 99 |         }
100 |
101 |         guard (200...299).contains(http.statusCode) else {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
102 |             throw CarsXEError.httpError(statusCode: http.statusCode, data: data)
103 |         }
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:102:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
100 |
101 |         guard (200...299).contains(http.statusCode) else {
102 |             throw CarsXEError.httpError(statusCode: http.statusCode, data: data)
    |                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
103 |         }
104 |
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:109:23: error: cannot find 'URLRequest' in scope
107 |
108 |     private func fetch(url: URL) async throws -> [String: Any] {
109 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
110 |         request.httpMethod = "GET"
111 |         return try parseJSONObject(from: try await perform(request))
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:115:23: error: cannot find 'URLRequest' in scope
113 |
114 |     private func post(url: URL, jsonBody: [String: Any], headers: [String: String] = [:]) async throws -> [String: Any] {
115 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
116 |         request.httpMethod = "POST"
117 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:128:23: error: cannot find 'URLRequest' in scope
126 |
127 |     private func fetchText(url: URL) async throws -> String {
128 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
129 |         request.httpMethod = "GET"
130 |         let data = try await perform(request)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling carsxe types.swift
[3/4] Emitting module carsxe
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     private let apiKey: String
 11 |     private let sourceName = "swift"
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
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/carsxe/carsxe.swift:14:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         self.apiKey = apiKey
 16 |         self.session = session
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/carsxe/carsxe.swift:14:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 15 |         self.apiKey = apiKey
 16 |         self.session = session
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:36: error: cannot find type 'URLRequest' in scope
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                    `- error: cannot find type 'URLRequest' in scope
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:86:37: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     private func perform(_ request: URLRequest) async throws -> Data {
    |                                     `- error: cannot find type 'URLRequest' in scope
 87 |         let data: Data
 88 |         let response: URLResponse
[4/4] Compiling carsxe carsxe.swift
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:12:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 10 |     private let apiKey: String
 11 |     private let sourceName = "swift"
 12 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
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/carsxe/carsxe.swift:14:42: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |         self.apiKey = apiKey
 16 |         self.session = session
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/carsxe/carsxe.swift:14:56: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 12 |     private let session: URLSession
 13 |
 14 |     public init(apiKey: String, session: URLSession = .shared) {
    |                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 15 |         self.apiKey = apiKey
 16 |         self.session = session
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:36: error: cannot find type 'URLRequest' in scope
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                    `- error: cannot find type 'URLRequest' in scope
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:67:71: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |     /// Perform a request with native async URLSession on Darwin, or an async
 66 |     /// continuation wrapper on Linux (`FoundationNetworking`).
 67 |     private func data(for request: URLRequest) async throws -> (Data, URLResponse) {
    |                                                                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 68 |         #if canImport(FoundationNetworking)
 69 |         try await withCheckedThrowingContinuation { continuation in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:86:37: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     private func perform(_ request: URLRequest) async throws -> Data {
    |                                     `- error: cannot find type 'URLRequest' in scope
 87 |         let data: Data
 88 |         let response: URLResponse
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:82:27: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 80 |         }
 81 |         #else
 82 |         try await session.data(for: request)
    |                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
 83 |         #endif
 84 |     }
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:88:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |     private func perform(_ request: URLRequest) async throws -> Data {
 87 |         let data: Data
 88 |         let response: URLResponse
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |         do {
 90 |             (data, response) = try await self.data(for: request)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:97:35: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 95 |         }
 96 |
 97 |         guard let http = response as? HTTPURLResponse else {
    |                                   `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
 98 |             throw CarsXEError.networkError(NSError(domain: "CarsXE", code: -1, userInfo: [NSLocalizedDescriptionKey: "Invalid response"]))
 99 |         }
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:97:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |         }
 96 |
 97 |         guard let http = response as? HTTPURLResponse else {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 98 |             throw CarsXEError.networkError(NSError(domain: "CarsXE", code: -1, userInfo: [NSLocalizedDescriptionKey: "Invalid response"]))
 99 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:101:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 99 |         }
100 |
101 |         guard (200...299).contains(http.statusCode) else {
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
102 |             throw CarsXEError.httpError(statusCode: http.statusCode, data: data)
103 |         }
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:102:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
100 |
101 |         guard (200...299).contains(http.statusCode) else {
102 |             throw CarsXEError.httpError(statusCode: http.statusCode, data: data)
    |                                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
103 |         }
104 |
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:109:23: error: cannot find 'URLRequest' in scope
107 |
108 |     private func fetch(url: URL) async throws -> [String: Any] {
109 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
110 |         request.httpMethod = "GET"
111 |         return try parseJSONObject(from: try await perform(request))
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:115:23: error: cannot find 'URLRequest' in scope
113 |
114 |     private func post(url: URL, jsonBody: [String: Any], headers: [String: String] = [:]) async throws -> [String: Any] {
115 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
116 |         request.httpMethod = "POST"
117 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/carsxe/carsxe.swift:128:23: error: cannot find 'URLRequest' in scope
126 |
127 |     private func fetchText(url: URL) async throws -> String {
128 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
129 |         request.httpMethod = "GET"
130 |         let data = try await perform(request)
BUILD FAILURE 6.1 wasm