Build Information
Failed to build FoundationRadar, reference main (3f5a46), with Swift 6.2 for Linux on 16 Jul 2026 09:02:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NagaYu/FoundationRadar.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/NagaYu/FoundationRadar
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3f5a466 Set 0.1.0 release date
Cloned https://github.com/NagaYu/FoundationRadar.git
Revision (git rev-parse @):
3f5a466095d846c840efaf01cde9d3c79e87bcd0
SUCCESS checkout https://github.com/NagaYu/FoundationRadar.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/NagaYu/FoundationRadar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:146297aca0eb7f3e338453cbf4c0aa72424647d7d0d3f35fda2f7ef7698dd3aa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/RadarCLI/README.md
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling FoundationRadar PCCSignals.swift
[5/16] Compiling FoundationRadar FoundationRadar.swift
[6/16] Compiling FoundationRadar ContextMeasurement.swift
[7/16] Emitting module FoundationRadar
[8/16] Compiling FoundationRadar Availability.swift
[9/16] Compiling FoundationRadar RadarError.swift
[10/16] Compiling FoundationRadar History.swift
/host/spi-builder-workspace/Sources/FoundationRadar/History.swift:66:15: error: cannot find 'sysctlbyname' in scope
64 | static func string(for key: String) -> String? {
65 | var size = 0
66 | guard sysctlbyname(key, nil, &size, nil, 0) == 0, size > 0 else { return nil }
| `- error: cannot find 'sysctlbyname' in scope
67 | var buffer = [CChar](repeating: 0, count: size)
68 | guard sysctlbyname(key, &buffer, &size, nil, 0) == 0 else { return nil }
/host/spi-builder-workspace/Sources/FoundationRadar/History.swift:66:33: error: 'nil' requires a contextual type
64 | static func string(for key: String) -> String? {
65 | var size = 0
66 | guard sysctlbyname(key, nil, &size, nil, 0) == 0, size > 0 else { return nil }
| `- error: 'nil' requires a contextual type
67 | var buffer = [CChar](repeating: 0, count: size)
68 | guard sysctlbyname(key, &buffer, &size, nil, 0) == 0 else { return nil }
/host/spi-builder-workspace/Sources/FoundationRadar/History.swift:66:45: error: 'nil' requires a contextual type
64 | static func string(for key: String) -> String? {
65 | var size = 0
66 | guard sysctlbyname(key, nil, &size, nil, 0) == 0, size > 0 else { return nil }
| `- error: 'nil' requires a contextual type
67 | var buffer = [CChar](repeating: 0, count: size)
68 | guard sysctlbyname(key, &buffer, &size, nil, 0) == 0 else { return nil }
/host/spi-builder-workspace/Sources/FoundationRadar/History.swift:68:15: error: cannot find 'sysctlbyname' in scope
66 | guard sysctlbyname(key, nil, &size, nil, 0) == 0, size > 0 else { return nil }
67 | var buffer = [CChar](repeating: 0, count: size)
68 | guard sysctlbyname(key, &buffer, &size, nil, 0) == 0 else { return nil }
| `- error: cannot find 'sysctlbyname' in scope
69 | return buffer.withUnsafeBufferPointer { pointer in
70 | guard let base = pointer.baseAddress else { return nil }
/host/spi-builder-workspace/Sources/FoundationRadar/History.swift:68:49: error: 'nil' requires a contextual type
66 | guard sysctlbyname(key, nil, &size, nil, 0) == 0, size > 0 else { return nil }
67 | var buffer = [CChar](repeating: 0, count: size)
68 | guard sysctlbyname(key, &buffer, &size, nil, 0) == 0 else { return nil }
| `- error: 'nil' requires a contextual type
69 | return buffer.withUnsafeBufferPointer { pointer in
70 | guard let base = pointer.baseAddress else { return nil }
[11/16] Compiling FoundationRadar LatencyBenchmark.swift
[12/16] Compiling FoundationRadar Report.swift
BUILD FAILURE 6.2 linux