The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AntiFishHook, reference 0.6.0 (d106f6), with Swift 6.2 (beta) for Android on 23 Jun 2025 00:17:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/swift-anti-fishhook.git
Reference: 0.6.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/p-x9/swift-anti-fishhook
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at d106f6b Merge pull request #17 from p-x9/dependabot/swift/github.com/p-x9/machokit-0.30.0
Cloned https://github.com/p-x9/swift-anti-fishhook.git
Revision (git rev-parse @):
d106f6b6af1bc9f32166f0def33b83cdc97d4a48
SUCCESS checkout https://github.com/p-x9/swift-anti-fishhook.git at 0.6.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/p-x9/MachOKit.git
Fetching https://github.com/p-x9/swift-fishhook.git
[1/201] Fetching swift-fishhook
[202/5483] Fetching swift-fishhook, machokit
Fetched https://github.com/p-x9/swift-fishhook.git from cache (0.36s)
Fetched https://github.com/p-x9/MachOKit.git from cache (0.36s)
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.68s)
Computing version for https://github.com/p-x9/MachOKit.git
warning: 'machokit': /Package.swift:77: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
75 | }
76 |
77 | 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
78 |     public static var allCases: [Self] {
79 |         [
Computed https://github.com/p-x9/MachOKit.git at 0.35.1 (0.49s)
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-crypto.git
[1/163] Fetching swift-fileio
[164/15582] Fetching swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-fileio.git from cache (2.51s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.55s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.9.0 (2.88s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.30s)
Creating working copy for https://github.com/p-x9/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.35.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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
warning: 'machokit': /host/spi-builder-workspace/.build/checkouts/MachOKit/Package.swift:77: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
75 | }
76 |
77 | 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
78 |     public static var allCases: [Self] {
79 |         [
Building for debugging...
[0/368] Write sources
[5/368] Compiling fiat_p256_adx_sqr.S
[6/368] Compiling fiat_p256_adx_mul.S
[7/368] Compiling fiat_curve25519_adx_mul.S
[8/368] Compiling fiat_curve25519_adx_square.S
[9/368] Compiling md5-x86_64-apple.S
[10/368] Compiling md5-x86_64-linux.S
[11/368] Compiling MachOKitC mach-o-linux.c
[12/368] Compiling md5-586-apple.S
[13/368] Compiling md5-586-linux.S
[14/368] Compiling chacha20_poly1305_x86_64-apple.S
[15/368] Compiling chacha20_poly1305_x86_64-linux.S
[16/368] Compiling chacha20_poly1305_armv8-win.S
[17/368] Compiling chacha-x86_64-linux.S
[18/368] Compiling chacha20_poly1305_armv8-apple.S
[19/368] Compiling chacha-x86_64-apple.S
[20/368] Compiling chacha-x86-apple.S
[21/368] Compiling chacha-x86-linux.S
[22/368] Compiling chacha-armv8-win.S
[23/368] Compiling chacha20_poly1305_armv8-linux.S
[24/368] Compiling chacha-armv8-apple.S
[25/368] Write swift-version-8C5A4AE7A8CE2BA.txt
[25/368] Compiling CCryptoBoringSSLShims shims.c
[27/368] Compiling chacha-armv8-linux.S
[28/368] Compiling chacha-armv4-linux.S
[29/368] Compiling aes128gcmsiv-x86_64-apple.S
[30/368] Compiling aes128gcmsiv-x86_64-linux.S
[31/368] Compiling x86_64-mont5-linux.S
[32/368] Compiling x86_64-mont5-apple.S
[33/368] Compiling x86_64-mont-apple.S
[34/368] Compiling x86-mont-linux.S
[35/368] Compiling x86_64-mont-linux.S
[36/371] Compiling vpaes-x86_64-linux.S
[37/372] Compiling x86-mont-apple.S
[38/372] Compiling vpaes-x86-apple.S
[39/372] Compiling vpaes-x86-linux.S
[40/372] Compiling vpaes-x86_64-apple.S
[41/372] Compiling vpaes-armv8-linux.S
[42/372] Compiling vpaes-armv8-win.S
[43/372] Compiling vpaes-armv8-apple.S
[44/372] Compiling sha512-x86_64-linux.S
[45/372] Compiling vpaes-armv7-linux.S
[46/372] Compiling sha512-armv8-win.S
[47/372] Compiling sha512-x86_64-apple.S
[48/372] Compiling sha512-armv8-apple.S
[49/372] Compiling sha512-armv4-linux.S
[50/372] Compiling sha512-armv8-linux.S
[51/372] Compiling sha512-586-apple.S
[52/372] Compiling sha256-x86_64-linux.S
[53/372] Compiling sha256-x86_64-apple.S
[54/372] Compiling sha512-586-linux.S
[55/372] Compiling err_data.cc
[56/372] Compiling sha256-armv8-apple.S
[57/372] Compiling sha256-armv8-win.S
[58/372] Compiling sha256-armv4-linux.S
[59/372] Compiling sha256-586-linux.S
[60/372] Compiling sha256-586-apple.S
[61/372] Compiling sha256-armv8-linux.S
[62/372] Compiling sha1-x86_64-apple.S
[63/372] Compiling sha1-x86_64-linux.S
[64/372] Compiling sha1-armv8-win.S
[65/372] Compiling sha1-armv8-apple.S
[66/372] Compiling sha1-armv4-large-linux.S
[67/372] Compiling sha1-armv8-linux.S
[68/372] Compiling sha1-586-apple.S
[69/372] Compiling sha1-586-linux.S
[70/372] Compiling rsaz-avx2-linux.S
[71/372] Compiling rsaz-avx2-apple.S
[72/372] Compiling rdrand-x86_64-apple.S
[73/372] Compiling p256_beeu-x86_64-asm-linux.S
[74/372] Compiling rdrand-x86_64-linux.S
[75/372] Compiling p256_beeu-armv8-asm-win.S
[76/372] Compiling p256_beeu-armv8-asm-linux.S
[77/372] Compiling p256_beeu-armv8-asm-apple.S
[78/372] Compiling p256_beeu-x86_64-asm-apple.S
[79/372] Compiling p256-x86_64-asm-linux.S
[80/372] Compiling p256-x86_64-asm-apple.S
[81/372] Compiling p256-armv8-asm-win.S
[82/372] Compiling ghashv8-armv8-win.S
[83/372] Compiling p256-armv8-asm-apple.S
[84/372] Compiling p256-armv8-asm-linux.S
[85/372] Compiling ghashv8-armv8-linux.S
[85/372] Compiling ghashv8-armv8-apple.S
[87/372] Compiling ghash-x86-linux.S
[88/372] Compiling ghash-x86_64-linux.S
[89/372] Compiling ghash-x86-apple.S
[90/372] Compiling ghashv8-armv7-linux.S
[91/372] Compiling ghash-x86_64-apple.S
[92/372] Compiling ghash-ssse3-x86_64-apple.S
[93/372] Compiling ghash-ssse3-x86_64-linux.S
[94/372] Compiling ghash-ssse3-x86-linux.S
[95/372] Compiling ghash-ssse3-x86-apple.S
[96/372] Compiling ghash-neon-armv8-apple.S
[97/372] Compiling ghash-neon-armv8-win.S
[98/372] Compiling ghash-neon-armv8-linux.S
[99/372] Compiling ghash-armv4-linux.S
[99/372] Compiling co-586-linux.S
[101/372] Compiling bsaes-armv7-linux.S
[101/372] Compiling co-586-apple.S
[103/372] Compiling bn-armv8-win.S
[104/372] Compiling bn-armv8-linux.S
[105/372] Compiling armv8-mont-apple.S
[106/372] Compiling bn-armv8-apple.S
[107/372] Compiling bn-586-apple.S
[108/372] Compiling armv8-mont-win.S
[109/372] Compiling bn-586-linux.S
[110/372] Compiling armv4-mont-linux.S
[111/372] Compiling aesv8-gcm-armv8-win.S
[112/372] Compiling armv8-mont-linux.S
[113/372] Compiling aesv8-armv8-win.S
[114/372] Compiling aesv8-armv8-apple.S
[115/372] Compiling aesv8-gcm-armv8-apple.S
[116/372] Compiling aesv8-armv8-linux.S
[117/372] Compiling aesv8-gcm-armv8-linux.S
[118/372] Compiling aesv8-armv7-linux.S
[119/372] Compiling aesni-x86_64-linux.S
[120/372] Compiling aesni-x86_64-apple.S
[121/372] Compiling aesni-x86-linux.S
[122/372] Compiling aesni-gcm-x86_64-apple.S
[123/372] Compiling aesni-gcm-x86_64-linux.S
[124/372] Compiling aes-gcm-avx10-x86_64-linux.S
[125/372] Compiling aesni-x86-apple.S
[126/372] Compiling aes-gcm-avx10-x86_64-apple.S
[127/372] Compiling x_val.cc
[128/372] Compiling x_req.cc
[129/372] Compiling x_pubkey.cc
[130/372] Compiling x_sig.cc
[131/372] Compiling x_spki.cc
[132/372] Compiling x_x509a.cc
[133/372] Compiling x_x509.cc
[134/372] Compiling x_exten.cc
[135/372] Compiling x_attrib.cc
[136/372] Compiling x_name.cc
[137/372] Compiling x_crl.cc
[138/372] Compiling x509spki.cc
[139/372] Compiling x_algor.cc
[140/372] Compiling x_all.cc
[141/372] Compiling x509rset.cc
[143/372] Emitting module FileIO
[143/372] Compiling x509name.cc
[144/372] Compiling x509cset.cc
[145/372] Compiling x509_vpm.cc
[146/372] Compiling x509_vfy.cc
[147/372] Compiling x509_txt.cc
[148/372] Compiling x509_v3.cc
[149/372] Compiling x509_trs.cc
[150/372] Compiling x509_req.cc
[151/372] Compiling x509_set.cc
[152/372] Compiling x509_obj.cc
[153/372] Compiling x509_lu.cc
[154/372] Compiling x509_ext.cc
[155/372] Compiling x509_def.cc
[156/372] Compiling x509_d2.cc
[157/372] Compiling x509_cmp.cc
[158/372] Compiling x509_att.cc
[159/372] Compiling x509.cc
[160/372] Compiling v3_utl.cc
[161/372] Compiling v3_prn.cc
[162/372] Compiling v3_skey.cc
[163/372] Compiling v3_purp.cc
[164/372] Compiling v3_ncons.cc
[165/372] Compiling v3_pmaps.cc
[166/372] Compiling v3_pcons.cc
[167/372] Compiling v3_ocsp.cc
[168/372] Compiling v3_int.cc
[169/372] Compiling v3_lib.cc
[170/372] Compiling v3_ia5.cc
[171/372] Compiling v3_info.cc
[172/372] Compiling v3_extku.cc
[173/372] Compiling v3_genn.cc
[174/372] Compiling v3_enum.cc
[175/372] Compiling v3_crld.cc
[176/372] Compiling v3_conf.cc
[177/372] Compiling v3_bitst.cc
[178/372] Compiling v3_cpols.cc
[179/372] Compiling v3_bcons.cc
[180/372] Compiling v3_alt.cc
[181/372] Compiling v3_akeya.cc
[182/372] Compiling v3_akey.cc
[183/372] Compiling t_req.cc
[184/372] Compiling t_x509a.cc
[185/372] Compiling t_x509.cc
[186/372] Compiling policy.cc
[187/372] Compiling t_crl.cc
[188/372] Compiling i2d_pr.cc
[189/372] Compiling rsa_pss.cc
[190/372] Compiling by_dir.cc
[191/372] Compiling name_print.cc
[192/372] Compiling by_file.cc
[193/372] Compiling algorithm.cc
[194/372] Compiling a_verify.cc
[195/372] Compiling asn1_gen.cc
[196/372] Compiling a_sign.cc
[197/372] Compiling a_digest.cc
[199/372] Compiling FileIO StreamedFile.swift
[200/372] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:73:22: error: cannot find 'MAP_FAILED' in scope
 71 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
 72 |         guard let ptr,
 73 |               ptr != MAP_FAILED else {
    |                      `- error: cannot find 'MAP_FAILED' in scope
 74 |             close(fd)
 75 |             throw POSIXError(.init(rawValue: errno)!)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/sys/mman.h:43:9: note: macro 'MAP_FAILED' unavailable: structure not supported
 41 |
 42 | /** Return value for mmap(). */
 43 | #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1)
    |         `- note: macro 'MAP_FAILED' unavailable: structure not supported
 44 |
 45 | /**
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:72:15: error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
 70 |         if isWritable { prot |= PROT_WRITE }
 71 |         let ptr = mmap(nil, Int(fileSize), prot, MAP_SHARED, fd, 0)
 72 |         guard let ptr,
    |               `- error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
 73 |               ptr != MAP_FAILED else {
 74 |             close(fd)
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:133:22: error: cannot find 'MAP_FAILED' in scope
131 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
132 |         guard let ptr,
133 |               ptr != MAP_FAILED else {
    |                      `- error: cannot find 'MAP_FAILED' in scope
134 |             throw POSIXError(.init(rawValue: errno)!)
135 |         }
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/sys/mman.h:43:9: note: macro 'MAP_FAILED' unavailable: structure not supported
 41 |
 42 | /** Return value for mmap(). */
 43 | #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1)
    |         `- note: macro 'MAP_FAILED' unavailable: structure not supported
 44 |
 45 | /**
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/MemoryMappedFile.swift:132:15: error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
130 |         if isWritable { prot |= PROT_WRITE }
131 |         let ptr = mmap(nil, newSize, prot, MAP_SHARED, fileDescriptor, 0)
132 |         guard let ptr,
    |               `- error: initializer for conditional binding must have Optional type, not 'UnsafeMutableRawPointer'
133 |               ptr != MAP_FAILED else {
134 |             throw POSIXError(.init(rawValue: errno)!)
[201/372] Compiling FileIO FileIO.swift
[201/372] Compiling trust_token.cc
[201/372] Compiling thread_win.cc
[201/372] Compiling thread_pthread.cc
[201/372] Compiling thread.cc
[201/372] Compiling pmbtoken.cc
[201/372] Compiling thread_none.cc
[201/372] Compiling voprf.cc
BUILD FAILURE 6.2 android