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 HAP, reference 0.7.0 (f0ffaa), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 15:10:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 0.7.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/bouke/hap
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at f0ffaa2 Changelog updated for 0.7.0
Cloned https://github.com/bouke/hap.git
Revision (git rev-parse @):
f0ffaa2f3a0cd364ade2b33263ca7a3f21ab3834
SUCCESS checkout https://github.com/bouke/hap.git at 0.7.0
========================================
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-4609320-0":/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/Bouke/NetService.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Bouke/HKDF.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/868] Fetching netservice
[462/2522] Fetching netservice, bluecryptor
[999/2656] Fetching netservice, bluecryptor, hkdf
[2657/3952] Fetching netservice, bluecryptor, hkdf, regex
[3953/7788] Fetching netservice, bluecryptor, hkdf, regex, swift-log
[7789/84115] Fetching netservice, bluecryptor, hkdf, regex, swift-log, swift-nio
Fetched https://github.com/Bouke/HKDF.git from cache (0.56s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (0.56s)
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.57s)
Fetched https://github.com/Bouke/NetService.git from cache (0.57s)
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Fetching https://github.com/Bouke/SRP.git
[5343/76327] Fetching swift-nio
[22136/76960] Fetching swift-nio, srp
Fetched https://github.com/Bouke/SRP.git from cache (0.52s)
[45033/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.70s)
Computing version for https://github.com/Bouke/HKDF.git
Computed https://github.com/Bouke/HKDF.git at 3.1.0 (7.63s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.82s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.49s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.51s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-crypto.git
[1/4807] Fetching bigint
[4280/20010] Fetching bigint, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (1.71s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (2.34s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (1.27s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.49s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.25s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.73s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
[1798/18403] Fetching swift-atomics, swift-collections
[2629/22831] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.36s)
[6687/21034] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.95s)
Fetched https://github.com/apple/swift-collections.git from cache (0.97s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.30s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.59s)
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/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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
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/HKDF.git
Working copy of https://github.com/Bouke/HKDF.git resolved at 3.1.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/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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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
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 openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
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 openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install libsodium using your system-packager:
    apt-get install libsodium-dev
Building for debugging...
[0/469] Write sources
[22/469] Compiling _AtomicsShims.c
[23/469] Compiling CNIOWindows shim.c
[24/469] Compiling CNIOWindows WSAStartup.c
[25/469] Compiling a_gentm.c
[26/469] Compiling CNIOLinux shim.c
[27/469] Compiling CNIOWASI CNIOWASI.c
[28/469] Compiling hexdump.c
[29/469] Compiling CNIOLinux liburing_shims.c
[30/469] Compiling a_dup.c
[31/469] Compiling CNIOLLHTTP c_nio_http.c
[32/469] Compiling CNIODarwin shim.c
[33/469] Compiling a_enum.c
[34/469] Compiling CQRCode qrcode.c
[35/469] Write swift-version-24593BA9C3E375BF.txt
[36/469] Compiling CNIOLLHTTP c_nio_api.c
[37/473] Compiling CCryptoBoringSSLShims shims.c
[38/473] Compiling v3_skey.c
[39/473] Compiling v3_purp.c
[40/475] Compiling v3_utl.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/496] 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)
[42/496] Compiling CNIOLLHTTP c_nio_llhttp.c
[44/510] Emitting module _NIOBase64
[44/510] Compiling c-nioatomics.c
[45/510] Compiling c-atomics.c
[47/523] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[48/524] 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)
[49/524] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/524] 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 {
[51/525] Compiling _NIODataStructures PriorityQueue.swift
[52/525] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[53/525] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[54/525] 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 {
[55/525] Compiling Cryptor KeyDerivation.swift
[56/525] Compiling Cryptor Random.swift
[57/526] 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)
[58/526] Compiling Cryptor StreamCryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[59/526] Compiling Cryptor Status.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[60/526] Compiling Cryptor Updatable.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[61/526] 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 {
[62/526] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[63/526] Compiling InternalCollectionsUtilities _SortedCollection.swift
[64/526] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/526] Compiling InternalCollectionsUtilities Debugging.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[68/526] 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)
[69/526] Compiling NetService NetServiceDelegate.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)
[70/526] Compiling Cryptor SSLPointerTricks.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/526] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[72/526] Compiling Cryptor Crypto.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[73/526] Compiling Cryptor Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[74/526] Compiling InternalCollectionsUtilities Descriptions.swift
[75/526] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[76/526] 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 {
[77/526] Compiling Regex Match.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/526] 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 |
[79/526] 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 |
[82/526] Emitting module InternalCollectionsUtilities
[85/526] 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)
[86/526] Compiling Regex PlatformTypes.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 {
[87/526] 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 {
[88/526] Emitting module Logging
[89/526] Compiling NetService NetService.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)
[90/526] Compiling NetService NetServiceBrowser.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)
[91/526] Compiling _NIOBase64 Base64.swift
[92/527] 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 {
[94/527] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[95/527] Compiling _NIODataStructures _TinyArray.swift
[97/528] Compiling Cryptor Utilities.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[98/528] Emitting module _NIODataStructures
[99/528] Compiling _NIODataStructures Heap.swift
[101/529] Compiling Logging LogHandler.swift
[102/529] Compiling Logging Locks.swift
BUILD FAILURE 6.2 wasm