The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AntiFishHook, reference main (5240d5), with Swift 6.4 for Linux on 24 Sep 2026 15:03:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-anti-fishhook.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-anti-fishhook
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5240d5c Merge pull request #38 from p-x9/dependabot/swift/github.com/p-x9/machokit-0.48.0
Cloned https://github.com/p-x9/swift-anti-fishhook.git
Revision (git rev-parse @):
5240d5ca79756e92a2fc75f947de540937612d55
SUCCESS checkout https://github.com/p-x9/swift-anti-fishhook.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/p-x9/swift-anti-fishhook.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/p-x9/MachOKit.git
Fetching https://github.com/p-x9/swift-fishhook.git
[1/251] Fetching swift-fishhook
[37/7877] Fetching swift-fishhook, machokit
Fetched https://github.com/p-x9/swift-fishhook.git (0.59s)
Fetched https://github.com/p-x9/MachOKit.git (0.59s)
Computing version for https://github.com/p-x9/swift-fishhook.git
Computed https://github.com/p-x9/swift-fishhook.git at 0.6.0 (0.77s)
Computing version for https://github.com/p-x9/MachOKit.git
warning: 'machokit': /Package.swift:139:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
137 | }
138 |
139 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
140 |     public static var allCases: [Self] {
141 |         [
Computed https://github.com/p-x9/MachOKit.git at 0.52.2 (0.25s)
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
[1/86] Fetching swift-fileio-extra
[87/345] Fetching swift-fileio-extra, objectarchivekit
[346/18894] Fetching swift-fileio-extra, objectarchivekit, swift-crypto
[8508/19549] Fetching swift-fileio-extra, objectarchivekit, swift-crypto, swift-fileio
[19550/19791] Fetching swift-fileio-extra, objectarchivekit, swift-crypto, swift-fileio, swift-binary-parse-support
Fetched https://github.com/p-x9/swift-binary-parse-support.git (1.15s)
Fetched https://github.com/p-x9/swift-fileio-extra.git (1.23s)
Fetched https://github.com/p-x9/swift-fileio.git (1.23s)
Fetched https://github.com/p-x9/ObjectArchiveKit.git (1.23s)
Fetched https://github.com/apple/swift-crypto.git (1.25s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.2.1 (1.42s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.5.0 (0.19s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.3.0 (0.19s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.15.1 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.16s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.01s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (2.15s)
Creating working copy for https://github.com/p-x9/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.5.0
Creating working copy for https://github.com/p-x9/swift-fishhook.git
Working copy of https://github.com/p-x9/swift-fishhook.git resolved at 0.6.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.2.1
Creating working copy for https://github.com/p-x9/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.52.2
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.15.1
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:139:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
137 | }
138 |
139 | extension SwiftSetting: CaseIterable {
    | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
140 |     public static var allCases: [Self] {
141 |         [
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 365]
[Planning deferred tasks]
[81 / 524] BinaryParseSupport
[82 / 524] MachOKitC
[84 / 524] CCryptoBoringSSL
[85 / 524] CCryptoBoringSSL
[88 / 524] CCryptoBoringSSL
[89 / 524] CCryptoBoringSSL
[91 / 524] CCryptoBoringSSL
[96 / 524] CCryptoBoringSSL
[99 / 524] CCryptoBoringSSL
[101 / 524] FileIO
[120 / 524] BinaryParseSupport
[122 / 524] CCryptoBoringSSL
[123 / 524] CCryptoBoringSSL
[124 / 524] CCryptoBoringSSL
[128 / 524] CCryptoBoringSSL
[130 / 524] CCryptoBoringSSL
[131 / 524] CCryptoBoringSSL
[133 / 524] CCryptoBoringSSL
[141 / 524] CCryptoBoringSSL
[148 / 524] CCryptoBoringSSL
[149 / 524] CCryptoBoringSSL
[151 / 524] CCryptoBoringSSL
[156 / 524] CCryptoBoringSSL
[157 / 524] CCryptoBoringSSL
[159 / 524] CCryptoBoringSSL
[164 / 524] CCryptoBoringSSL
[165 / 524] CCryptoBoringSSL
[167 / 524] CCryptoBoringSSL
[171 / 524] CCryptoBoringSSL
[173 / 524] CCryptoBoringSSL
[174 / 524] CCryptoBoringSSL
[182 / 524] CCryptoBoringSSL
[185 / 524] CCryptoBoringSSL
[187 / 524] CCryptoBoringSSL
[191 / 524] CCryptoBoringSSL
[199 / 524] CCryptoBoringSSL
[210 / 524] CCryptoBoringSSL
[224 / 524] CCryptoBoringSSL
[229 / 524] CCryptoBoringSSL
[234 / 524] CCryptoBoringSSL
[236 / 524] CCryptoBoringSSL
[240 / 524] CCryptoBoringSSL
[243 / 524] CCryptoBoringSSL
[247 / 524] CCryptoBoringSSL
[249 / 524] CCryptoBoringSSL
[251 / 524] CCryptoBoringSSL
[254 / 524] CCryptoBoringSSL
[257 / 524] CCryptoBoringSSL
[259 / 524] CCryptoBoringSSL
[261 / 524] CCryptoBoringSSL
[265 / 524] CCryptoBoringSSL
[268 / 524] CCryptoBoringSSL
[271 / 524] CCryptoBoringSSL
[276 / 524] CCryptoBoringSSL
[285 / 524] CCryptoBoringSSL
[287 / 524] CCryptoBoringSSL
[288 / 524] CCryptoBoringSSL
[294 / 524] CCryptoBoringSSL
[297 / 524] CCryptoBoringSSL
[302 / 524] CCryptoBoringSSL
[309 / 524] CCryptoBoringSSL
[318 / 524] CCryptoBoringSSL
[322 / 524] CCryptoBoringSSL
[335 / 524] CCryptoBoringSSL
[341 / 524] CCryptoBoringSSL
[346 / 524] CCryptoBoringSSL
[348 / 524] CCryptoBoringSSL
[351 / 524] CCryptoBoringSSL
[355 / 524] CCryptoBoringSSL
[358 / 524] CCryptoBoringSSL
[362 / 524] CCryptoBoringSSL
[365 / 524] CCryptoBoringSSL
[369 / 524] CCryptoBoringSSL
[373 / 524] CCryptoBoringSSL
[375 / 524] CCryptoBoringSSL
[380 / 524] CCryptoBoringSSL
[390 / 524] CCryptoBoringSSL
[398 / 524] CCryptoBoringSSL
[402 / 524] CCryptoBoringSSL
[407 / 524] CCryptoBoringSSL
[410 / 524] CCryptoBoringSSL
[414 / 524] CCryptoBoringSSL
[417 / 524] CCryptoBoringSSL
[426 / 524] CCryptoBoringSSL
[435 / 524] CCryptoBoringSSL
[445 / 524] CCryptoBoringSSL
[446 / 524] CCryptoBoringSSL
[448 / 524] CCryptoBoringSSL
[450 / 524] CCryptoBoringSSL
[452 / 524] CCryptoBoringSSL
[455 / 524] CCryptoBoringSSL
[459 / 524] CCryptoBoringSSL
[461 / 524] FileIO-product
[463 / 524] CCryptoBoringSSL
[467 / 524] CryptoBoringWrapper
[471 / 524] CryptoBoringWrapper
[472 / 524] Crypto
[478 / 525] FileIO
[480 / 525] FileIOBinary
[482 / 525]
[488 / 530] FileIOBinary
[491 / 539] Crypto
[493 / 541] FileIOBinary
[501 / 541] FileIOBinary
[503 / 542] CCryptoBoringSSL
[505 / 542] FileIOBinary
[507 / 542] Crypto
[515 / 542] BinaryParseSupport
[517 / 543] CCryptoBoringSSLShims
[519 / 544] MachOKit
[522 / 553] MachOKit
[523 / 553] MachOKit
[524 / 553] MachOKit
[526 / 553] Crypto
[528 / 554] MachOKit
[529 / 554] MachOKit
[535 / 554] MachOKit
[538 / 555] Crypto-product
[542 / 560] FishHook
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/AntiFishHook/AntiFishHook.swift:10:33: error: type 'MachOImage' has no member 'images'
  8 |     static public func denyFishHook(_ symbol: String) {
  9 |         var symbolAddress: UnsafeRawPointer?
 10 |         for image in MachOImage.images {
    |                                 `- error: type 'MachOImage' has no member 'images'
 11 |             if symbolAddress == nil {
 12 |                 symbolAddress = find(symbol, in: image)
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AntiFishHook/AntiFishHook.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/MachOKitC.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/MachOKit/Sources/MachOKitC/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AntiFishHook -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/Objects-normal/x86_64/AntiFishHook_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/Objects-normal/x86_64/Modules/AntiFishHook.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/Objects-normal/x86_64/Modules/AntiFishHook.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/Objects-normal/x86_64/AntiFishHook-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/Objects-normal/x86_64/AntiFishHook-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/Objects-normal/x86_64/AntiFishHook-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AntiFishHook.build/Debug-linux-x86_64/AntiFishHook-t.build/Objects-normal/x86_64/Modules/AntiFishHook.swiftmodule
[551 / 563] AntiFishHook
error: Build failed
BUILD FAILURE 6.4 linux