Build Information
Failed to build Cerberus, reference 0.4.2 (ed6193
), with Swift 6.2 (beta) for Android on 17 Jun 2025 19:58:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bermudadigitalstudio/cerberus.git
Reference: 0.4.2
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/bermudadigitalstudio/cerberus
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at ed6193a Moved the Log repo to @bermudadigitalstudio, because it was deleted from @lgaches account.
Cloned https://github.com/bermudadigitalstudio/cerberus.git
Revision (git rev-parse @):
ed6193a45c6f7092d083aa3fb89ce99bf5dadff9
SUCCESS checkout https://github.com/bermudadigitalstudio/cerberus.git at 0.4.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/bermudadigitalstudio/cerberus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/bermudadigitalstudio/Log.git
[1/15] Fetching log
Fetched https://github.com/bermudadigitalstudio/Log.git from cache (0.21s)
Computing version for https://github.com/bermudadigitalstudio/Log.git
Computed https://github.com/bermudadigitalstudio/Log.git at 0.0.1 (0.58s)
Creating working copy for https://github.com/bermudadigitalstudio/Log.git
Working copy of https://github.com/bermudadigitalstudio/Log.git resolved at 0.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/5] Emitting module Log
[5/5] Compiling Log Log.swift
[7/11] Compiling Cerberus VaultClient.swift
/host/spi-builder-workspace/Sources/Cerberus/VaultClient.swift:17:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | public let vaultAuthority: URL
16 | public let logger: Log?
17 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | public var token: String?
19 | public var renewalManager: RenewalManager?
/host/spi-builder-workspace/Sources/Cerberus/VaultClient.swift:17:54: error: cannot infer contextual base in reference to member 'default'
15 | public let vaultAuthority: URL
16 | public let logger: Log?
17 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
18 | public var token: String?
19 | public var renewalManager: RenewalManager?
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] Compiling Cerberus RenewalManager.swift
[9/11] Emitting module Cerberus
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:4:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
2 | import Dispatch
3 |
4 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 |
6 | struct Sys {
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:4:50: error: cannot infer contextual base in reference to member 'default'
2 | import Dispatch
3 |
4 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
5 |
6 | struct Sys {
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:202:65: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | private func requestForURL(_ url: URL, token: String? = nil) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
203 | let request: URLRequest
204 | if let t = token {
/host/spi-builder-workspace/Sources/Cerberus/VaultClient.swift:17:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | public let vaultAuthority: URL
16 | public let logger: Log?
17 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | public var token: String?
19 | public var renewalManager: RenewalManager?
/host/spi-builder-workspace/Sources/Cerberus/VaultClient.swift:17:54: error: cannot infer contextual base in reference to member 'default'
15 | public let vaultAuthority: URL
16 | public let logger: Log?
17 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
18 | public var token: String?
19 | public var renewalManager: RenewalManager?
[10/11] Compiling Cerberus VaultAPIClient.swift
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:4:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
2 | import Dispatch
3 |
4 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
5 |
6 | struct Sys {
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:4:50: error: cannot infer contextual base in reference to member 'default'
2 | import Dispatch
3 |
4 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
5 |
6 | struct Sys {
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:202:65: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | private func requestForURL(_ url: URL, token: String? = nil) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
203 | let request: URLRequest
204 | if let t = token {
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:203:18: error: cannot find type 'URLRequest' in scope
201 |
202 | private func requestForURL(_ url: URL, token: String? = nil) -> URLRequest {
203 | let request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
204 | if let t = token {
205 | var tokenReq = URLRequest(url: url)
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:205:24: error: cannot find 'URLRequest' in scope
203 | let request: URLRequest
204 | if let t = token {
205 | var tokenReq = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
206 | tokenReq.setValue(t, forHTTPHeaderField: "X-Vault-Token")
207 | request = tokenReq
/host/spi-builder-workspace/Sources/Cerberus/VaultAPIClient.swift:209:19: error: cannot find 'URLRequest' in scope
207 | request = tokenReq
208 | } else {
209 | request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
210 | }
211 | return request
[11/11] Compiling Cerberus VaultClient+Kubernetes.swift
/host/spi-builder-workspace/Sources/Cerberus/VaultClient.swift:17:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | public let vaultAuthority: URL
16 | public let logger: Log?
17 | private let session = URLSession(configuration: .default)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | public var token: String?
19 | public var renewalManager: RenewalManager?
/host/spi-builder-workspace/Sources/Cerberus/VaultClient.swift:17:54: error: cannot infer contextual base in reference to member 'default'
15 | public let vaultAuthority: URL
16 | public let logger: Log?
17 | private let session = URLSession(configuration: .default)
| `- error: cannot infer contextual base in reference to member 'default'
18 | public var token: String?
19 | public var renewalManager: RenewalManager?
BUILD FAILURE 6.2 android