The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SystemKit with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChangYeop-Yang/Universal-SystemKit.git
Reference: main
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/ChangYeop-Yang/Universal-SystemKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 633ead3 Update 2024.03.14.
Cloned https://github.com/ChangYeop-Yang/Universal-SystemKit.git
Revision (git rev-parse @):
633ead3ffef4bc5bbe883b417953c34c80735361
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/ChangYeop-Yang/Universal-SystemKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/ChangYeop-Yang/Universal-SystemKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/354] Fetching swift-http-types
[69/3527] Fetching swift-http-types, swift-log
[736/4984] Fetching swift-http-types, swift-log, swift-docc-plugin
Fetched https://github.com/apple/swift-http-types.git (0.30s)
[4246/4630] Fetching swift-log, swift-docc-plugin
Fetched https://github.com/apple/swift-log.git (0.43s)
Fetched https://github.com/apple/swift-docc-plugin.git (0.44s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.0.3 (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (0.34s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2646] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.38s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.35s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
In file included from /host/spi-builder-workspace/ObjcSources/Cryptor/SKSecurity.mm:23:
/host/spi-builder-workspace/ObjcSources/Cryptor/SKSecurity.h:23:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling SKSecurity.mm
[0/1] Planning build
Compiling plugin Swift-DocC...
Compiling plugin Swift-DocC Preview...
Building for debugging...
In file included from /host/spi-builder-workspace/ObjcSources/Cryptor/SKSecurity.mm:23:
/host/spi-builder-workspace/ObjcSources/Cryptor/SKSecurity.h:23:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling SKSecurity.mm
BUILD FAILURE 5.7 linux

Build Machine: Linux 2