Build Information
Failed to build HAP, reference master (51e350
), with Swift 6.2 (beta) for Android on 17 Jun 2025 15:08:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/bouke/hap.git
Reference: master
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/bouke/hap
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 51e3505 Merge pull request #158 from Bouke/endianness
Cloned https://github.com/bouke/hap.git
Revision (git rev-parse @):
51e3505a34eb842f7491fda48bb4ef873b16b68c
SUCCESS checkout https://github.com/bouke/hap.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/bouke/hap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/crossroadlabs/Regex.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Bouke/SRP.git
[1/633] Fetching srp
[634/4469] Fetching srp, swift-log
[3358/5765] Fetching srp, swift-log, regex
[5766/20968] Fetching srp, swift-log, regex, swift-crypto
[11088/97295] Fetching srp, swift-log, regex, swift-crypto, swift-nio
[24349/98163] Fetching srp, swift-log, regex, swift-crypto, swift-nio, netservice
Fetched https://github.com/Bouke/SRP.git from cache (1.14s)
[52346/97530] Fetching swift-log, regex, swift-crypto, swift-nio, netservice
Fetched https://github.com/apple/swift-log.git from cache (1.15s)
[48662/93694] Fetching regex, swift-crypto, swift-nio, netservice
Fetched https://github.com/crossroadlabs/Regex.git from cache (3.91s)
Fetched https://github.com/Bouke/NetService.git from cache (3.91s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.95s)
Fetched https://github.com/apple/swift-nio.git from cache (4.01s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (6.84s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.37s)
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.42s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.80s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.38s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.76s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[235/6225] Fetching swift-atomics, swift-system
[6226/22831] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.24s)
Fetched https://github.com/apple/swift-system.git from cache (1.24s)
Fetched https://github.com/apple/swift-collections.git from cache (1.27s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.77s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.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 1.1.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/Bouke/SRP.git
Working copy of https://github.com/Bouke/SRP.git resolved at 3.2.1
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/Bouke/NetService.git
Working copy of https://github.com/Bouke/NetService.git resolved at 0.8.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
apt-get install libavahi-compat-libdnssd-dev
warning: you may be able to install avahi-compat-libdns_sd using your system-packager:
apt-get install libavahi-compat-libdnssd-dev
Building for debugging...
[0/465] Write sources
[14/465] Compiling _AtomicsShims.c
[15/465] Write sources
[21/465] Compiling ghash-neon-armv8.ios.aarch64.S
[22/465] Compiling CNIOWindows shim.c
[23/465] Compiling CNIOWindows WSAStartup.c
[24/465] Compiling aesv8-armx32.linux.arm.S
[25/465] Compiling CNIOWASI CNIOWASI.c
[26/465] Compiling crypto.c
[27/465] Write swift-version-8C5A4AE7A8CE2BA.txt
[28/465] Compiling CQRCode qrcode.c
[29/465] Compiling p_ed25519_asn1.c
[30/465] Compiling CNIOLinux liburing_shims.c
[31/465] Compiling CNIODarwin shim.c
[32/465] Compiling p_rsa.c
[33/465] Compiling CNIOLLHTTP c_nio_http.c
[34/465] Compiling CNIOLinux shim.c
[35/473] Compiling CNIOLLHTTP c_nio_api.c
[36/508] Compiling CNIOLLHTTP c_nio_llhttp.c
[38/508] Emitting module _NIODataStructures
[38/508] Compiling c-nioatomics.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/508] Emitting module COperatingSystem
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[41/508] Compiling COperatingSystem libc.swift
/host/spi-builder-workspace/Sources/COperatingSystem/libc.swift:4:23: error: no such module 'Darwin.C'
2 | @_exported import Glibc
3 | #else
4 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
5 | #endif
6 |
[42/508] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/Cdns_sd/shim.h:1:10: error: 'dns_sd.h' file not found
1 | #include <dns_sd.h>
| `- error: 'dns_sd.h' file not found
2 |
[42/508] Compiling c-atomics.c
[43/508] Emitting module _NIOBase64
BUILD FAILURE 6.2 android