The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftAA, reference 2.4.0 (18a291), with Swift 6.0 for Linux on 2 Nov 2024 22:00:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onekiloparsec/SwiftAA.git
Reference: 2.4.0
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/onekiloparsec/SwiftAA
 * tag               2.4.0      -> FETCH_HEAD
HEAD is now at 18a291a Commenting watchOS support since it makes linting fails.
Cloned https://github.com/onekiloparsec/SwiftAA.git
Revision (git rev-parse @):
18a291abe9c31e483ab4f573da87d050735f434d
SUCCESS checkout https://github.com/onekiloparsec/SwiftAA.git at 2.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/onekiloparsec/SwiftAA.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -Xswiftc -strict-concurrency=complete 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
warning: 'spi-builder-workspace': ignoring target 'ObjCAATests' in package 'spi-builder-workspace'; C language in tests is not yet supported
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/Sources/SwiftAA/SwiftAA-Info.plist
Building for debugging...
[0/181] Compiling AAplus AACoordinateTransformation.cpp
[1/181] Compiling AAplus AASidereal.cpp
[2/181] Write sources
[3/181] Compiling AAplus AADate.cpp
[4/181] Compiling AAplus AABinaryStar.cpp
[5/181] Compiling AAplus AADiameters.cpp
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAAVenus.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAAVenus.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/181] Compiling ObjCAA KPCAAVenus.mm
[6/181] Compiling ObjCAA KPCAASun.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAAUranus.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAAUranus.h[6/181] Compiling ObjCAA KPCAAUranus.mm
[6/181] Compiling ObjCAA KPCAAStellarMagnitudes.mm
[6/181] Compiling AAplus AASaturnRings.cpp
[6/181] Compiling AAplus AADynamicalTime.cpp
[6/181] Compiling AAplus AAELP2000.cpp
[6/181] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux