Build Information
Failed to build SwiftHook, reference main (ac0be1
), with Swift 5.10 for Linux on 11 May 2025 18:47:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-hook.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/p-x9/swift-hook
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ac0be16 Merge pull request #33 from p-x9/dependabot/swift/github.com/p-x9/machokit-spm-0.32.0
Cloned https://github.com/p-x9/swift-hook.git
Revision (git rev-parse @):
ac0be1622fd76592bd43b59abfc57ff9085ad8c5
SUCCESS checkout https://github.com/p-x9/swift-hook.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/p-x9/swift-hook.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/p-x9/fishhook
[1/126] Fetching fishhook
Fetched https://github.com/p-x9/fishhook from cache (0.24s)
Fetching https://github.com/p-x9/Echo
[1/975] Fetching echo
Fetched https://github.com/p-x9/Echo from cache (0.24s)
Fetching https://github.com/p-x9/MachOKit-SPM
Fetching https://github.com/apple/swift-atomics.git
[1/255] Fetching machokit-spm
[256/1965] Fetching machokit-spm, swift-atomics
Fetched https://github.com/p-x9/MachOKit-SPM from cache (0.24s)
[941/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 0.0.3 (0.37s)
Computing version for https://github.com/p-x9/MachOKit-SPM
Computed https://github.com/p-x9/MachOKit-SPM at 0.32.0 (0.36s)
Fetching https://github.com/p-x9/swift-fileio.git
[1/156] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.23s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.9.0 (0.35s)
Creating working copy for https://github.com/p-x9/fishhook
Working copy of https://github.com/p-x9/fishhook resolved at spm (3b916cd)
Creating working copy for https://github.com/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.9.0
Creating working copy for https://github.com/p-x9/Echo
Working copy of https://github.com/p-x9/Echo resolved at swift5.9 (3382440)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 0.0.3
Creating working copy for https://github.com/p-x9/MachOKit-SPM
Working copy of https://github.com/p-x9/MachOKit-SPM resolved at 0.32.0
[1369/16790434] Downloading https://github.com/p-x9/MachOKit/releases/download/0.32.0/MachOKit.xcframework.zip
[114208/17074577] Downloading https://github.com/p-x9/MachOKit/releases/download/0.32.0/MachOKit.xcframework.zip, https://github.com/p-x9/MachOKit/releases/download/0.32.0/MachOKitC.xcframework.zip
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.32.0/MachOKitC.xcframework.zip
Downloading binary artifact https://github.com/p-x9/MachOKit/releases/download/0.32.0/MachOKit.xcframework.zip
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.32.0/MachOKitC.xcframework.zip (1.31s)
Downloaded https://github.com/p-x9/MachOKit/releases/download/0.32.0/MachOKit.xcframework.zip (4.22s)
Building for debugging...
[0/15] Write sources
[5/15] Compiling CEcho ValueWitnessTable.c
[6/15] Compiling CEcho KnownMetadata.c
[7/15] Write sources
[8/15] Compiling CEcho Functions.c
[9/15] Compiling CEcho ImageInspectionMachO.c
[10/15] Compiling CEcho CallAccessor.c
[11/15] Compiling CEcho ImageInspectionELF.c
[12/15] Compiling _AtomicsShims.c
/host/spi-builder-workspace/.build/checkouts/fishhook/fishhook.c:32:10: fatal error: 'mach/mach.h' file not found
#include <mach/mach.h>
^~~~~~~~~~~~~
1 error generated.
[13/15] Compiling fishhookC fishhook.c
[13/15] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux