Build Information
Failed to build FishHook, reference main (90132a
), with Swift 6.2 (beta) for Android on 22 Jun 2025 12:54:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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-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-fishhook
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 90132a6 Merge pull request #30 from p-x9/dependabot/swift/github.com/p-x9/machokit-0.35.1
Cloned https://github.com/p-x9/swift-fishhook.git
Revision (git rev-parse @):
90132a6151219fb84205b9dd1112041d907ec9ce
SUCCESS checkout https://github.com/p-x9/swift-fishhook.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/p-x9/swift-fishhook.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[1/5282] Fetching machokit
Fetched https://github.com/p-x9/MachOKit.git from cache (0.38s)
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.92s)
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-crypto.git
[1/163] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.26s)
[1/15419] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.76s)
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.11s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.03s)
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/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-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/MachOKit.git
Working copy of https://github.com/p-x9/MachOKit.git resolved at 0.35.1
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/367] Write sources
[5/367] Compiling fiat_p256_adx_sqr.S
[6/367] Compiling fiat_curve25519_adx_square.S
[7/367] Compiling rsaz-avx2-linux.S
[8/367] Compiling rsaz-avx2-apple.S
[9/367] Write swift-version-8C5A4AE7A8CE2BA.txt
[10/367] Compiling fiat_p256_adx_mul.S
[11/367] Compiling MachOKitC mach-o-linux.c
[12/367] Compiling md5-x86_64-apple.S
[13/367] Compiling md5-x86_64-linux.S
[14/367] Compiling fiat_curve25519_adx_mul.S
[15/367] Compiling md5-586-linux.S
[16/371] Compiling md5-586-apple.S
[17/371] Compiling chacha20_poly1305_x86_64-linux.S
[18/371] Compiling chacha20_poly1305_x86_64-apple.S
[19/371] Compiling chacha20_poly1305_armv8-win.S
[20/371] Compiling chacha20_poly1305_armv8-linux.S
[21/371] Compiling chacha-x86_64-linux.S
[22/371] Compiling chacha20_poly1305_armv8-apple.S
[23/371] Compiling chacha-x86_64-apple.S
[24/371] Compiling chacha-x86-linux.S
[25/371] Compiling chacha-x86-apple.S
[26/371] Compiling chacha-armv8-win.S
[27/371] Compiling chacha-armv4-linux.S
[28/371] Compiling chacha-armv8-apple.S
[29/371] Compiling CCryptoBoringSSLShims shims.c
[30/371] Compiling aes128gcmsiv-x86_64-linux.S
[31/371] Compiling chacha-armv8-linux.S
[32/371] Compiling aes128gcmsiv-x86_64-apple.S
[33/371] Compiling x86_64-mont5-linux.S
[34/371] Compiling x86_64-mont5-apple.S
[35/371] Compiling x86_64-mont-linux.S
[36/371] Compiling x86_64-mont-apple.S
[37/371] Compiling err_data.cc
[38/371] Compiling x86-mont-linux.S
[39/371] Compiling x86-mont-apple.S
[40/371] Compiling vpaes-x86_64-linux.S
[41/371] Compiling vpaes-x86-linux.S
[42/371] Compiling vpaes-x86_64-apple.S
[43/371] Compiling vpaes-armv8-win.S
[44/371] Compiling vpaes-armv8-linux.S
[45/371] Compiling vpaes-x86-apple.S
[46/371] Compiling vpaes-armv8-apple.S
[47/371] Compiling vpaes-armv7-linux.S
[48/371] Compiling sha512-x86_64-linux.S
[49/371] Compiling sha512-x86_64-apple.S
[50/371] Compiling sha512-armv8-win.S
[51/371] Compiling sha512-armv8-apple.S
[52/371] Compiling sha512-586-linux.S
[53/371] Compiling sha512-armv4-linux.S
[54/371] Compiling sha512-armv8-linux.S
[55/371] Compiling sha512-586-apple.S
[56/371] Compiling sha256-x86_64-apple.S
[57/371] Compiling sha256-x86_64-linux.S
[58/371] Compiling sha256-armv8-linux.S
[59/371] Compiling sha256-armv8-win.S
[60/371] Compiling sha256-armv8-apple.S
[61/371] Compiling sha256-armv4-linux.S
[62/371] Compiling sha1-x86_64-linux.S
[63/371] Compiling sha256-586-apple.S
[64/371] Compiling sha256-586-linux.S
[65/371] Compiling sha1-x86_64-apple.S
[66/371] Compiling sha1-armv8-win.S
[67/371] Compiling sha1-armv4-large-linux.S
[67/371] Compiling sha1-armv8-apple.S
[69/371] Compiling sha1-586-linux.S
[70/371] Compiling sha1-586-apple.S
[71/371] Compiling sha1-armv8-linux.S
[72/371] Compiling rdrand-x86_64-linux.S
[73/371] Compiling rdrand-x86_64-apple.S
[74/371] Compiling p256_beeu-armv8-asm-win.S
[75/371] Compiling p256_beeu-x86_64-asm-linux.S
[76/371] Compiling p256_beeu-x86_64-asm-apple.S
[77/371] Compiling p256_beeu-armv8-asm-linux.S
[78/371] Compiling p256-x86_64-asm-linux.S
[79/371] Compiling p256_beeu-armv8-asm-apple.S
[80/371] Compiling p256-x86_64-asm-apple.S
[81/371] Compiling p256-armv8-asm-win.S
[82/371] Compiling p256-armv8-asm-apple.S
[83/371] Compiling ghashv8-armv8-win.S
[84/371] Compiling p256-armv8-asm-linux.S
[85/371] Compiling ghashv8-armv8-apple.S
[86/371] Compiling ghashv8-armv7-linux.S
[87/371] Compiling ghashv8-armv8-linux.S
[88/371] Compiling ghash-x86_64-linux.S
[89/371] Compiling ghash-x86_64-apple.S
[90/371] Compiling ghash-x86-linux.S
[91/371] Compiling ghash-ssse3-x86-linux.S
[92/371] Compiling ghash-x86-apple.S
[93/371] Compiling ghash-ssse3-x86_64-apple.S
[94/371] Compiling ghash-ssse3-x86_64-linux.S
[95/371] Compiling ghash-ssse3-x86-apple.S
[96/371] Compiling ghash-neon-armv8-win.S
[97/371] Compiling ghash-armv4-linux.S
[98/371] Compiling ghash-neon-armv8-apple.S
[98/371] Compiling ghash-neon-armv8-linux.S
[100/371] Compiling co-586-apple.S
[101/371] Compiling co-586-linux.S
[102/371] Compiling bn-armv8-win.S
[103/371] Compiling bsaes-armv7-linux.S
[104/371] Compiling bn-armv8-linux.S
[105/371] Compiling bn-586-apple.S
[106/371] Compiling bn-armv8-apple.S
[107/371] Compiling bn-586-linux.S
[108/371] Compiling armv8-mont-win.S
[109/371] Compiling armv4-mont-linux.S
[110/371] Compiling armv8-mont-apple.S
[111/371] Compiling armv8-mont-linux.S
[112/371] Compiling aesv8-gcm-armv8-win.S
[113/371] Compiling aesv8-gcm-armv8-apple.S
[114/371] Compiling aesv8-armv8-win.S
[115/371] Compiling aesv8-gcm-armv8-linux.S
[116/371] Compiling aesv8-armv8-apple.S
[117/371] Compiling aesni-x86_64-linux.S
[118/371] Compiling aesv8-armv7-linux.S
[119/371] Compiling aesv8-armv8-linux.S
[120/371] Compiling aesni-x86-linux.S
[121/371] Compiling aesni-x86_64-apple.S
[122/371] Compiling aesni-x86-apple.S
[123/371] Compiling aesni-gcm-x86_64-linux.S
[124/371] Compiling aesni-gcm-x86_64-apple.S
[125/371] Compiling aes-gcm-avx10-x86_64-apple.S
[126/371] Compiling aes-gcm-avx10-x86_64-linux.S
[127/371] Compiling x_sig.cc
[128/371] Compiling x_x509.cc
[129/371] Compiling x_x509a.cc
[130/371] Compiling x_val.cc
[131/371] Compiling x_pubkey.cc
[132/371] Compiling x_spki.cc
[133/371] Compiling x_req.cc
[134/371] Compiling x_attrib.cc
[135/371] Compiling x_name.cc
[136/371] Compiling x_algor.cc
[137/371] Compiling x_crl.cc
[138/371] Compiling x_exten.cc
[139/371] Compiling x509spki.cc
[140/371] Compiling x_all.cc
[141/371] Compiling x509name.cc
[142/371] Compiling x509rset.cc
[143/371] Compiling x509_vfy.cc
[144/371] Compiling x509cset.cc
[145/371] Compiling x509_v3.cc
[146/371] Compiling x509_txt.cc
[147/371] Compiling x509_vpm.cc
[148/371] Compiling x509_trs.cc
[149/371] Compiling x509_def.cc
[150/371] Compiling x509_set.cc
[151/371] Compiling x509_ext.cc
[152/371] Compiling x509_req.cc
[153/371] Compiling x509_obj.cc
[154/371] Compiling x509_lu.cc
[155/371] Compiling x509_d2.cc
[156/371] Compiling v3_utl.cc
[157/371] Compiling x509_att.cc
[158/371] Compiling x509_cmp.cc
[159/371] Compiling x509.cc
[160/371] Compiling v3_skey.cc
[161/371] Compiling v3_purp.cc
[162/371] Compiling v3_pcons.cc
[163/371] Compiling v3_prn.cc
[164/371] Compiling v3_ocsp.cc
[165/371] Compiling v3_pmaps.cc
[166/371] Compiling v3_ncons.cc
[167/371] Compiling v3_int.cc
[168/371] Compiling v3_info.cc
[169/371] Compiling v3_genn.cc
[170/371] Compiling v3_ia5.cc
[171/371] Compiling v3_lib.cc
[172/371] Compiling v3_extku.cc
[173/371] Compiling v3_crld.cc
[174/371] Compiling v3_enum.cc
[175/371] Compiling v3_cpols.cc
[176/371] Compiling v3_conf.cc
[177/371] Compiling v3_bcons.cc
[178/371] Compiling v3_bitst.cc
[179/371] Compiling v3_alt.cc
[180/371] Compiling v3_akeya.cc
[181/371] Compiling v3_akey.cc
[182/371] Compiling t_x509a.cc
[183/371] Compiling t_crl.cc
[184/371] Compiling t_req.cc
[185/371] Compiling t_x509.cc
[186/371] Compiling rsa_pss.cc
[187/371] Compiling name_print.cc
[188/371] Compiling i2d_pr.cc
[189/371] Compiling policy.cc
[190/371] Compiling by_dir.cc
[191/371] Compiling asn1_gen.cc
[192/371] Compiling by_file.cc
[194/371] Compiling FileIO FileIO.swift
[195/371] 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)!)
[196/371] Emitting module FileIO
[197/371] Compiling FileIO StreamedFile.swift
[197/371] Compiling a_verify.cc
[197/371] Compiling pmbtoken.cc
[197/371] Compiling voprf.cc
[197/371] Compiling trust_token.cc
[197/371] Compiling a_digest.cc
[197/371] Compiling a_sign.cc
[197/371] Compiling algorithm.cc
BUILD FAILURE 6.2 android