Build Information
Failed to build SwiftSensors, reference 0.0.1 (f80560
), with Swift 6.0 for Linux on 21 Mar 2025 02:59:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getmirai/swift-sensors.git
Reference: 0.0.1
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/getmirai/swift-sensors
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at f805608 add sources
Cloned https://github.com/getmirai/swift-sensors.git
Revision (git rev-parse @):
f805608cedad5e05ca1a95cf28ffd6c899497adc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/getmirai/swift-sensors.git at 0.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/getmirai/swift-sensors.git
https://github.com/getmirai/swift-sensors.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSensors",
"name" : "SwiftSensors",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "SwiftSensors",
"targets" : [
"SwiftSensors"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftSensors",
"module_type" : "SwiftTarget",
"name" : "SwiftSensors",
"path" : "Sources/SwiftSensors",
"product_memberships" : [
"SwiftSensors"
],
"sources" : [
"PowerSensors.swift",
"SensorBase.swift",
"SensorFormatter.swift",
"SwiftSensors.swift",
"SystemStats.swift",
"ThermalSensors.swift"
],
"target_dependencies" : [
"PrivateAPI"
],
"type" : "library"
},
{
"c99name" : "PrivateAPI",
"module_type" : "ClangTarget",
"name" : "PrivateAPI",
"path" : "Sources/PrivateAPI",
"product_memberships" : [
"SwiftSensors"
],
"sources" : [
"PrivateAPI.m"
],
"target_dependencies" : [
"IOKit"
],
"type" : "library"
},
{
"c99name" : "IOKit",
"module_type" : "BinaryTarget",
"name" : "IOKit",
"path" : "Frameworks/IOKit.xcframework",
"product_memberships" : [
"SwiftSensors"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
In file included from /host/spi-builder-workspace/Sources/PrivateAPI/PrivateAPI.m:1:
/host/spi-builder-workspace/Sources/PrivateAPI/PrivateAPI.h:4:10: fatal error: 'Foundation/Foundation.h' file not found
4 | #include <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/3] Compiling PrivateAPI PrivateAPI.m
[1/3] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/PrivateAPI/PrivateAPI.m:1:
/host/spi-builder-workspace/Sources/PrivateAPI/PrivateAPI.h:4:10: fatal error: 'Foundation/Foundation.h' file not found
4 | #include <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling PrivateAPI PrivateAPI.m
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux