The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAA with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onekiloparsec/SwiftAA.git
Reference: 2.4.0
Cloned https://github.com/onekiloparsec/SwiftAA.git into spi-builder-workspace
SUCCESS checkout https://github.com/onekiloparsec/SwiftAA.git at 2.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/177] Compiling AAplus AABinaryStar.cpp
[1/177] Compiling AAplus AAAngularSeparation.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.
[2/177] Compiling ObjCAA KPCAAVenus.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/177] Compiling ObjCAA KPCAASaturnRings.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/177] 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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/177] Compiling ObjCAA KPCAASaturnMoons.mm
[2/177] Compiling ObjCAA KPCAASidereal.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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/177] 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>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/177] Compiling ObjCAA KPCAAUranus.mm
In file included from /host/spi-builder-workspace/Sources/ObjCAA/KPCAASaturn.mm:9:
/host/spi-builder-workspace/Sources/ObjCAA/include/KPCAASaturn.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/177] Compiling ObjCAA KPCAASaturn.mm
BUILD FAILURE 5.9 linux

Build Machine: Linux 1