Build Information
Failed to build HAP, reference master (51e350
), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 15:12:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 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: wasm
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/Bouke/SRP.git
[1/633] Fetching srp
[634/1501] Fetching srp, netservice
[1502/5337] Fetching srp, netservice, swift-log
[1809/6633] Fetching srp, netservice, swift-log, regex
Fetched https://github.com/Bouke/SRP.git from cache (0.32s)
[2735/6000] Fetching netservice, swift-log, regex
Fetched https://github.com/Bouke/NetService.git from cache (0.34s)
[2831/5132] Fetching swift-log, regex
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.38s)
[1/15203] Fetching swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
[1218/91530] Fetching swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.94s)
[54956/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.61s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (7.23s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (1.01s)
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.84s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (1.33s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.95s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.28s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[702/6225] Fetching swift-atomics, swift-system
[2832/22831] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
[4318/16606] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.30s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.09s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.89s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
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/Bouke/SRP.git
Working copy of https://github.com/Bouke/SRP.git resolved at 3.2.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/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-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
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
[20/465] Compiling CNIOWindows WSAStartup.c
[21/465] Compiling CNIOLinux liburing_shims.c
[22/465] Compiling CNIOLinux shim.c
[23/465] Compiling CNIOWASI CNIOWASI.c
[24/465] Compiling _AtomicsShims.c
[25/465] Compiling CNIODarwin shim.c
[26/465] Compiling CNIOLLHTTP c_nio_http.c
[27/465] Compiling CNIOWindows shim.c
[27/465] Write swift-version-24593BA9C3E375BF.txt
[29/465] Compiling CQRCode qrcode.c
[30/469] Compiling CNIOLLHTTP c_nio_api.c
[31/479] Compiling CCryptoBoringSSLShims shims.c
[32/479] Compiling v3_utl.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/492] Emitting module NetService
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/FoundationCompat.swift:1:8: error: no such module 'CoreFoundation'
1 | import CoreFoundation
| `- error: no such module 'CoreFoundation'
2 |
3 | #if !os(Linux) || compiler(>=5.3)
[35/492] Emitting module _NIOBase64
[35/492] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/506] Compiling c-nioatomics.c
[37/508] Compiling c-atomics.c
[38/508] Compiling v3_skey.c
[40/514] Compiling Regex String+Regex.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
[41/514] Compiling Regex RegexOptions.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
[42/515] Compiling Regex Utils.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
[43/515] Emitting module Logging
[44/515] Compiling NetService Utils.swift
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/FoundationCompat.swift:1:8: error: no such module 'CoreFoundation'
1 | import CoreFoundation
| `- error: no such module 'CoreFoundation'
2 |
3 | #if !os(Linux) || compiler(>=5.3)
[45/515] Compiling NetService ServiceFlags.swift
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/FoundationCompat.swift:1:8: error: no such module 'CoreFoundation'
1 | import CoreFoundation
| `- error: no such module 'CoreFoundation'
2 |
3 | #if !os(Linux) || compiler(>=5.3)
[46/515] Compiling Regex Regex.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
[47/515] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/516] Emitting module Regex
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
[49/516] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/516] 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 |
[51/516] Compiling Logging Locks.swift
[52/516] Compiling Logging LogHandler.swift
[53/516] Compiling NetService FoundationCompat.swift
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/FoundationCompat.swift:1:8: error: no such module 'CoreFoundation'
1 | import CoreFoundation
| `- error: no such module 'CoreFoundation'
2 |
3 | #if !os(Linux) || compiler(>=5.3)
[54/516] Compiling _NIOBase64 Base64.swift
[56/517] Compiling NetService NetServiceBrowserDelegate.swift
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/FoundationCompat.swift:1:8: error: no such module 'CoreFoundation'
1 | import CoreFoundation
| `- error: no such module 'CoreFoundation'
2 |
3 | #if !os(Linux) || compiler(>=5.3)
[57/517] Compiling Regex GroupRangeUtils.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
/host/spi-builder-workspace/.build/checkouts/NetService/Sources/NetService/FoundationCompat.swift:1:8: error: no such module 'CoreFoundation'
1 | import CoreFoundation
| `- error: no such module 'CoreFoundation'
2 |
3 | #if !os(Linux) || compiler(>=5.3)
[58/517] Compiling Regex MatchSequence.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
BUILD FAILURE 6.2 wasm