Build Information
Failed to build Mockingbird with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/typealiased/mockingbird.git
Reference: 0.20.0
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
* tag 0.20.0 -> FETCH_HEAD
HEAD is now at 6e0d473 Fix parsing async keywords in void methods (#290)
Cloned https://github.com/typealiased/mockingbird.git
Revision (git rev-parse @):
6e0d473df6b975719e145f6aebf90990c634700e
SUCCESS checkout https://github.com/typealiased/mockingbird.git at 0.20.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
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.9-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/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
[0/31] Compiling MKBTypeFacade.m
[0/31] Compiling MKBTestUtils.m
[0/31] Compiling MKBTestExpectation.m
[0/1] Planning build
Building for debugging...
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
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/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/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>
^~~~~~~~~~~~~~~~~~~~~~~~~
[0/31] Compiling MKBTestUtils.m
BUILD FAILURE 5.9 linux