Build Information
Failed to build ChameleonPilot, reference main (92eb22), with Swift 6.3 for Linux on 8 Sep 2026 12:52:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-3":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/shehanargaam/chameleon_pilot_ios_sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-3":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:b82c9ac2aaad9c671b7a7653c8e6eeaf006cac60f6a8910901b9357c067e0892
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-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/6] Compiling ChameleonPilot ChameleonPilotIssueViewController.swift
[4/6] Compiling ChameleonPilot Models.swift
[5/6] Emitting module ChameleonPilot
/host/spi-builder-workspace/Sources/ChameleonPilot/ChameleonPilot.swift:66:40: error: value of type '_' expected to be instance of class or class-constrained type
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: value of type '_' expected to be instance of class or class-constrained type
67 | self.session = session
68 | self.defaults = defaults
/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:66:40: error: value of type '_' expected to be instance of class or class-constrained type
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: value of type '_' expected to be instance of class or class-constrained type
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.3 linux