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 29 Nov 2024 05:03:39 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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-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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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 AAJewishCalendar.cpp
[1/181] Compiling AAplus AAInterpolate.cpp
[2/181] Write sources
[3/181] Compiling AAplus AAMars.cpp
[4/181] Compiling AAplus AAJupiter.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.
[5/181] Compiling ObjCAA KPCAAVenus.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAAUranus.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAAUranus.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAASun.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAASun.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/181] Compiling ObjCAA KPCAASun.mm
[5/181] Compiling ObjCAA KPCAAUranus.mm
[5/181] Compiling AAplus AAGlobe.cpp
[5/181] Compiling AAplus AAKepler.cpp
[5/181] Compiling AAplus AAMercury.cpp
[5/181] Compiling AAplus AAIlluminatedFraction.cpp
[5/181] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux