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 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/onekiloparsec/SwiftAA.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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/Tests/SwiftAATests/SwiftAATests-Info.plist
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 AAEclipses.cpp
[1/181] Compiling AAplus AAElliptical.cpp
[1/181] Write sources
[3/181] Compiling AAplus AAEclipticalElements.cpp
[4/181] Compiling AAplus AAElementsPlanetaryOrbit.cpp
[5/181] Compiling AAplus AAEarth.cpp
[6/181] Compiling AAplus AADynamicalTime.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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/181] Compiling ObjCAA KPCAAVenus.mm
[7/181] Write swift-version-24593BA9C3E375BF.txt
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/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:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/181] Compiling ObjCAA KPCAAUranus.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAAStellarMagnitudes.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAAStellarMagnitudes.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/181] Compiling ObjCAA KPCAAStellarMagnitudes.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAASidereal.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAASidereal.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[7/181] Compiling ObjCAA KPCAASidereal.mm
[7/181] Compiling AAplus AAELPMPP02.cpp
[7/181] Compiling AAplus AAELP2000.cpp
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/Tests/SwiftAATests/SwiftAATests-Info.plist
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
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAAStellarMagnitudes.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAAStellarMagnitudes.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/174] Compiling ObjCAA KPCAAStellarMagnitudes.mm
[0/174] Compiling ObjCAA KPCAAUranus.mm
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/174] Compiling ObjCAA KPCAASun.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAASaturnMoons.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAASaturnMoons.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/174] Compiling ObjCAA KPCAASaturnMoons.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAASaturnRings.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAASaturnRings.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/174] Compiling ObjCAA KPCAASaturnRings.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAASidereal.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAASidereal.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/174] Compiling ObjCAA KPCAASidereal.mm
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
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/174] Compiling ObjCAA KPCAAVenus.mm
[0/174] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux