Build Information
Failed to build ChameleonPilot, reference main (92eb22), with Swift 6.1 for Wasm on 8 Sep 2026 12:56:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shehanargaam/chameleon_pilot_ios_sdk.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/shehanargaam/chameleon_pilot_ios_sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 92eb228 Add registry-backed screen layouts
Cloned https://github.com/shehanargaam/chameleon_pilot_ios_sdk.git
Revision (git rev-parse @):
92eb228a68c3109c363fdaeeebf6282217ce9521
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/shehanargaam/chameleon_pilot_ios_sdk.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/shehanargaam/chameleon_pilot_ios_sdk.git
https://github.com/shehanargaam/chameleon_pilot_ios_sdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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
[3/6] Compiling ChameleonPilot Models.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling ChameleonPilot ChameleonPilotIssueViewController.swift
[5/6] Emitting module ChameleonPilot
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:66:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
67 | self.session = session
68 | self.defaults = defaults
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:61:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
61 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | private let defaults: UserDefaults
63 |
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/ChameleonPilot/ChameleonPilot.swift:66:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | self.session = session
68 | self.defaults = defaults
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
[6/6] Compiling ChameleonPilot ChameleonPilot.swift
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:66:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
67 | self.session = session
68 | self.defaults = defaults
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:61:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
61 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | private let defaults: UserDefaults
63 |
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/ChameleonPilot/ChameleonPilot.swift:66:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | self.session = session
68 | self.defaults = defaults
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/ChameleonPilot/ChameleonPilot.swift:103:23: error: cannot find 'URLRequest' in scope
101 | clearCache()
102 |
103 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
104 | request.httpMethod = "GET"
105 | request.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:114:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
112 |
113 | do {
114 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
115 | guard let httpResponse = response as? HTTPURLResponse else {
116 | throw ChameleonPilotError.invalidResponse
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/5] Emitting module ChameleonPilot
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:66:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
67 | self.session = session
68 | self.defaults = defaults
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:61:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
61 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | private let defaults: UserDefaults
63 |
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/ChameleonPilot/ChameleonPilot.swift:66:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | self.session = session
68 | self.defaults = defaults
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
[3/5] Compiling ChameleonPilot Models.swift
[4/5] Compiling ChameleonPilot ChameleonPilotIssueViewController.swift
[5/5] Compiling ChameleonPilot ChameleonPilot.swift
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:66:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
67 | self.session = session
68 | self.defaults = defaults
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:61:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
61 | private let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
62 | private let defaults: UserDefaults
63 |
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/ChameleonPilot/ChameleonPilot.swift:66:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | /// Creates an SDK instance. The default shared instance is suitable for production;
65 | /// dependency injection is available to make tests deterministic.
66 | public init(session: URLSession = .shared, defaults: UserDefaults = .standard) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | self.session = session
68 | self.defaults = defaults
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/ChameleonPilot/ChameleonPilot.swift:103:23: error: cannot find 'URLRequest' in scope
101 | clearCache()
102 |
103 | var request = URLRequest(url: endpoint)
| `- error: cannot find 'URLRequest' in scope
104 | request.httpMethod = "GET"
105 | request.timeoutInterval = timeout
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:114:54: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
112 |
113 | do {
114 | let (data, response) = try await session.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
115 | guard let httpResponse = response as? HTTPURLResponse else {
116 | throw ChameleonPilotError.invalidResponse
BUILD FAILURE 6.1 wasm