The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SGPKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/csanfilippo/swift-sgp4.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/csanfilippo/swift-sgp4
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cbc9a67 Introducing TLEParser
Cloned https://github.com/csanfilippo/swift-sgp4.git
Revision (git rev-parse @):
cbc9a67b1851541d939b0106e003d85c7257ce63
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/csanfilippo/swift-sgp4.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/csanfilippo/swift-sgp4.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
Fetching https://github.com/apple/swift-docc-plugin
[1/14209] Fetching quick
[286/15666] Fetching quick, swift-docc-plugin
[15667/32957] Fetching quick, swift-docc-plugin, nimble
Fetched https://github.com/apple/swift-docc-plugin from cache (1.56s)
Fetched https://github.com/Quick/Quick from cache (1.56s)
Fetched https://github.com/Quick/Nimble from cache (1.58s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 10.0.0 (0.49s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1236] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 5.0.1 (0.48s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.0 (0.51s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/432] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.26s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.46s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.50s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2483] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.59s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.0
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 5.0.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 10.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/OBJC/SatelliteData.m:25:
/host/spi-builder-workspace/Sources/OBJC/include/SatelliteData.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/23] Compiling SGPKitOBJC SatelliteData.m
[2/23] Compiling SGPKitCPP SGP4.cc
[2/23] Compiling SGPKitCPP OrbitalElements.cc
[2/23] Compiling SGPKitCPP Eci.cc
[2/23] Compiling SGPKitCPP Globals.cc
In file included from /host/spi-builder-workspace/Sources/OBJC/SGP4Wrapper.mm:25:
/host/spi-builder-workspace/Sources/OBJC/include/SGP4Wrapper.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/23] Compiling SGPKitOBJC SGP4Wrapper.mm
[2/23] Compiling SGPKitCPP Observer.cc
[2/23] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/OBJC/SatelliteData.m:25:
/host/spi-builder-workspace/Sources/OBJC/include/SatelliteData.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/23] Compiling SGPKitOBJC SatelliteData.m
[2/23] Compiling SGPKitCPP Tle.cc
[2/23] Compiling SGPKitCPP Util.cc
[2/23] Compiling SGPKitCPP Vector.cc
[2/23] Compiling SGPKitCPP TleException.cc
In file included from /host/spi-builder-workspace/Sources/OBJC/SGP4Wrapper.mm:25:
/host/spi-builder-workspace/Sources/OBJC/include/SGP4Wrapper.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/23] Compiling SGPKitOBJC SGP4Wrapper.mm
In file included from /host/spi-builder-workspace/Sources/OBJC/TLEWrapper.m:25:
/host/spi-builder-workspace/Sources/OBJC/include/TLEWrapper.h:25:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/23] Compiling SGPKitOBJC TLEWrapper.m
[2/23] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2