Build Information
Failed to build AndroidLooper, reference main (0f26e1
), with Swift 6.0 for Linux on 9 Dec 2024 15:46:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/AndroidLooper.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/PADL/AndroidLooper
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0f26e1b make AExecutor initializer throw
Cloned https://github.com/PADL/AndroidLooper.git
Revision (git rev-parse @):
0f26e1bdb989120f5689d74ea69a0525833ecd52
SUCCESS checkout https://github.com/PADL/AndroidLooper.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/PADL/AndroidLooper.git
https://github.com/PADL/AndroidLooper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
}
],
"manifest_display_name" : "AndroidLooper",
"name" : "AndroidLooper",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "AndroidLooper",
"targets" : [
"AndroidLooper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CAndroidLooper",
"module_type" : "ClangTarget",
"name" : "CAndroidLooper",
"path" : "Sources/CAndroidLooper",
"product_memberships" : [
"AndroidLooper"
],
"sources" : [
"CAndroidLooper.cpp"
],
"type" : "library"
},
{
"c99name" : "AndroidLooper",
"module_type" : "SwiftTarget",
"name" : "AndroidLooper",
"path" : "Sources/AndroidLooper",
"product_dependencies" : [
"SystemPackage"
],
"product_memberships" : [
"AndroidLooper"
],
"sources" : [
"AExecutor.swift",
"ALooper.swift",
"LockedState.swift",
"UIThread.swift"
],
"target_dependencies" : [
"CAndroidLooper"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system
[1/3930] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.36s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.41s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
Building for debugging...
[0/5] Write sources
In file included from /host/spi-builder-workspace/Sources/CAndroidLooper/CAndroidLooper.cpp:17:
/host/spi-builder-workspace/Sources/CAndroidLooper/include/CAndroidLooper.h:19:10: fatal error: 'android/looper.h' file not found
19 | #include <android/looper.h>
| ^~~~~~~~~~~~~~~~~~
1 error generated.
[2/5] Compiling CAndroidLooper CAndroidLooper.cpp
[2/5] Compiling CSystem shims.c
[2/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux