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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/typealiased/mockingbird.git
Reference: master
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/typealiased/mockingbird
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 210ec23 Clean up print statements (#299)
Cloned https://github.com/typealiased/mockingbird.git
Revision (git rev-parse @):
210ec238b470ac6fd60f7ecfa2218b544519773f
SUCCESS checkout https://github.com/typealiased/mockingbird.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/typealiased/mockingbird.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/MKBTestUtils.m:1:
/host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/../include/MKBTestUtils.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/31] Compiling MKBTestUtils.m
In file included from /host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/MKBTestExpectation.m:1:
/host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/../include/MKBTestExpectation.h:1:9: fatal error: 'XCTest/XCTest.h' file not found
#import <XCTest/XCTest.h>
        ^~~~~~~~~~~~~~~~~
1 error generated.
[0/31] Compiling MKBTestExpectation.m
[0/31] Compiling MKBMocking.m
[0/31] Compiling MKBTypeFacade.m
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/MKBTypeFacade.m:1:
/host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/../include/MKBTypeFacade.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/31] Compiling MKBTypeFacade.m
In file included from /host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/MKBTestUtils.m:1:
/host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/../include/MKBTestUtils.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/31] Compiling MKBTestUtils.m
In file included from /host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/MKBTestExpectation.m:1:
/host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/../include/MKBTestExpectation.h:1:9: fatal error: 'XCTest/XCTest.h' file not found
#import <XCTest/XCTest.h>
        ^~~~~~~~~~~~~~~~~
1 error generated.
[0/31] Compiling MKBTestExpectation.m
In file included from /host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/MKBMocking.m:1:
/host/spi-builder-workspace/Sources/MockingbirdFramework/Objective-C/Bridge/sources/../include/MKBMocking.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/31] Compiling MKBMocking.m
BUILD FAILURE 5.8 linux