The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCurrent with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wwt/SwiftCurrent.git
Reference: 5.1.12
Cloned https://github.com/wwt/SwiftCurrent.git into spi-builder-workspace
SUCCESS checkout https://github.com/wwt/SwiftCurrent.git at 5.1.12
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/10426] Fetching viewinspector
[10427/21270] Fetching viewinspector, swift-argument-parser
Fetched https://github.com/nalexn/ViewInspector.git (0.47s)
[8350/10844] Fetching swift-argument-parser
Fetching https://github.com/sindresorhus/ExceptionCatcher
Fetched https://github.com/sindresorhus/ExceptionCatcher (0.24s)
Fetching https://github.com/apple/swift-algorithms
[1/5009] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms (0.41s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/48900] Fetching swift-syntax
[2446/49332] Fetching swift-syntax, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.19s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[4890/48900] Fetching swift-syntax
[17116/50093] Fetching swift-syntax, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.26s)
[20049/48900] Fetching swift-syntax
Fetched https://github.com/apple/swift-argument-parser (4.88s)
Fetched https://github.com/apple/swift-syntax.git (4.91s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.59s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.0.0 (0.26s)
Fetching https://github.com/apple/swift-numerics
[1/5053] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.36s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.0.1 (0.28s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.29s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.28s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.28s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.9.7 (0.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.36s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.0.0
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.9.7
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.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
Compiling plugin GenerateManual...
Building for debugging...
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/NSObjectLoadable.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/11] Compiling SwiftCurrent_Testing_ObjC NSObjectLoadable.m
[0/11] Compiling atomic-counter.c
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/11] Compiling SwiftCurrent_Testing_ObjC XCTestHooks.m
BUILD FAILURE 5.7 linux

Build Machine: Linux 2