The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCurrent with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/wwt/SwiftCurrent.git
Reference: 5.1.12
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/wwt/SwiftCurrent
 * tag               5.1.12     -> FETCH_HEAD
HEAD is now at ec91f63 [ci skip] Apply automatic changes
Cloned https://github.com/wwt/SwiftCurrent.git
Revision (git rev-parse @):
ec91f6355a5041ebe15d5e6a068bf7562b1ae20d
SUCCESS checkout https://github.com/wwt/SwiftCurrent.git at 5.1.12
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/wwt/SwiftCurrent.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/sindresorhus/ExceptionCatcher
Fetching https://github.com/mattgallagher/CwlCatchException.git
[5/432] Fetching cwlcatchexception
[433/501] Fetching cwlcatchexception, exceptioncatcher
[502/11606] Fetching cwlcatchexception, exceptioncatcher, viewinspector
[5278/16786] Fetching cwlcatchexception, exceptioncatcher, viewinspector, swift-algorithms
[16787/28221] Fetching cwlcatchexception, exceptioncatcher, viewinspector, swift-algorithms, swift-argument-parser
[28222/85608] Fetching cwlcatchexception, exceptioncatcher, viewinspector, swift-algorithms, swift-argument-parser, swift-syntax
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.19s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched https://github.com/sindresorhus/ExceptionCatcher from cache (1.19s)
Fetched https://github.com/nalexn/ViewInspector.git from cache (1.20s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.20s)
[41334/62567] Fetching swift-algorithms, swift-syntax
[49369/63803] Fetching swift-algorithms, swift-syntax, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.31s)
[53386/62567] Fetching swift-algorithms, swift-syntax
Fetched https://github.com/apple/swift-algorithms from cache (3.45s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.49s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.75s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.0.1 (0.41s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.38s)
Fetching https://github.com/apple/swift-numerics.git
[1/5277] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.41s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.40s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.0 (0.41s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.9.10 (0.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.0 (0.37s)
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.0
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.9.10
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.0
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/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.0.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
/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.
[10/25] Compiling SwiftCurrent_Testing_ObjC NSObjectLoadable.m
[10/25] Compiling atomic-counter.c
[10/25] Compiling SwiftCurrent_Testing_ObjC XCTestHooks.m
[10/25] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
[1/1] 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.
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/16] Compiling SwiftCurrent_Testing_ObjC XCTestHooks.m
[1/16] Compiling SwiftCurrent_Testing_ObjC NSObjectLoadable.m
[1/16] Compiling atomic-counter.c
[1/16] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1