Build Information
Failed to build Diagnostics with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WeTransfer/Diagnostics.git
Reference: 5.0.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/WeTransfer/Diagnostics
* tag 5.0.0 -> FETCH_HEAD
HEAD is now at ceccf2c Merge pull request #173 from WeTransfer/peagasilva-patch-1
Submodule path 'Submodules/WeTransfer-iOS-CI': checked out '02174285440b63e3c1a3a0fda3505308120d28e4'
Submodule 'Submodules/WeTransfer-iOS-CI' (https://github.com/WeTransfer/WeTransfer-iOS-CI.git) registered for path 'Submodules/WeTransfer-iOS-CI'
Cloning into '/host/spi-builder-workspace/Submodules/WeTransfer-iOS-CI'...
Cloned https://github.com/WeTransfer/Diagnostics.git
Revision (git rev-parse @):
ceccf2c76f315ec86e859895875fb424bf51018a
SUCCESS checkout https://github.com/WeTransfer/Diagnostics.git at 5.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/WeTransfer/Diagnostics.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/sindresorhus/ExceptionCatcher
[1/69] Fetching exceptioncatcher
Fetched https://github.com/sindresorhus/ExceptionCatcher (0.18s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.0.1 (0.37s)
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.0.1
Building for debugging...
[0/4] Copying functions.js
[0/4] Copying PrivacyInfo.xcprivacy
[0/4] Copying style.css
In file included from /host/spi-builder-workspace/.build/checkouts/ExceptionCatcher/Sources/Internal/ExceptionCatcher.m:1:
/host/spi-builder-workspace/.build/checkouts/ExceptionCatcher/Sources/Internal/include/ExceptionCatcher.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/4] Compiling Internal ExceptionCatcher.m
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/ExceptionCatcher/Sources/Internal/ExceptionCatcher.m:1:
/host/spi-builder-workspace/.build/checkouts/ExceptionCatcher/Sources/Internal/include/ExceptionCatcher.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling Internal ExceptionCatcher.m
BUILD FAILURE 5.9 linux