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 my-home, reference 0.2.0 (b80376), with Swift 6.1 for Wasm on 27 May 2025 14:21:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bouke/my-home.git
Reference: 0.2.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/my-home
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at b80376c Update for Swift 5 (require >=4.2)
Cloned https://github.com/bouke/my-home.git
Revision (git rev-parse @):
b80376c1c5498c9bf956e10bdda4b15a2e816b58
SUCCESS checkout https://github.com/bouke/my-home.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bouke/my-home.git
https://github.com/bouke/my-home.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "icy",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/ICY.git"
    },
    {
      "identity" : "hap",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/HAP.git"
    },
    {
      "identity" : "evergreen",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Bouke/Evergreen.git"
    }
  ],
  "manifest_display_name" : "my-home",
  "name" : "my-home",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "my-home",
      "targets" : [
        "my-home"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "my_home",
      "module_type" : "SwiftTarget",
      "name" : "my-home",
      "path" : "Sources",
      "product_dependencies" : [
        "ICY",
        "HAP",
        "Evergreen"
      ],
      "product_memberships" : [
        "my-home"
      ],
      "sources" : [
        "ICYThermostat.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Bouke/ICY.git
Fetching https://github.com/Bouke/Evergreen.git
Fetching https://github.com/Bouke/HAP.git
[1/509] Fetching evergreen
[510/539] Fetching evergreen, icy
[540/7090] Fetching evergreen, icy, hap
Fetched https://github.com/Bouke/Evergreen.git from cache (0.65s)
Fetched https://github.com/Bouke/ICY.git from cache (0.65s)
Fetched https://github.com/Bouke/HAP.git from cache (0.66s)
Computing version for https://github.com/Bouke/Evergreen.git
Computed https://github.com/Bouke/Evergreen.git at 2.0.0 (1.38s)
Computing version for https://github.com/Bouke/HAP.git
Computed https://github.com/Bouke/HAP.git at 0.7.0 (3.22s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/Bouke/NetService.git
Fetching https://github.com/Bouke/HKDF.git
[1/134] Fetching hkdf
[135/1002] Fetching hkdf, netservice
[1003/4838] Fetching hkdf, netservice, swift-log
[1080/6134] Fetching hkdf, netservice, swift-log, regex
[2125/7788] Fetching hkdf, netservice, swift-log, regex, bluecryptor
Fetched https://github.com/Bouke/NetService.git from cache (0.45s)
[3157/6920] Fetching hkdf, swift-log, regex, bluecryptor
Fetching https://github.com/Bouke/SRP.git
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.52s)
[2786/5624] Fetching hkdf, swift-log, bluecryptor
[4245/81666] Fetching hkdf, swift-log, bluecryptor, swift-nio
[7146/82299] Fetching hkdf, swift-log, bluecryptor, swift-nio, srp
Fetched https://github.com/Bouke/HKDF.git from cache (0.90s)
Fetched https://github.com/apple/swift-log.git from cache (0.91s)
Fetched https://github.com/Bouke/SRP.git from cache (0.48s)
[5457/77696] Fetching bluecryptor, swift-nio
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (5.28s)
Fetched https://github.com/apple/swift-nio.git from cache (5.38s)
Computing version for https://github.com/Bouke/HKDF.git
Computed https://github.com/Bouke/HKDF.git at 3.1.0 (8.75s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.72s)
Computing version for https://github.com/Bouke/ICY.git
Computed https://github.com/Bouke/ICY.git at 1.2.2 (0.67s)
Computing version for https://github.com/Bouke/NetService.git
Computed https://github.com/Bouke/NetService.git at 0.8.1 (0.73s)
Computing version for https://github.com/Bouke/SRP.git
Computed https://github.com/Bouke/SRP.git at 3.2.1 (0.71s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
[3346/18712] Fetching swift-crypto, bigint
Fetched https://github.com/attaswift/BigInt.git from cache (1.60s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (2.24s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.2 (0.60s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (0.62s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (1.30s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (2.15s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.09s)
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/1710] Fetching swift-atomics
[532/6101] Fetching swift-atomics, swift-system
[6102/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.27s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.27s)
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.2.0 (2.01s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.60s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.81s)
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/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-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/HAP.git
Working copy of https://github.com/Bouke/HAP.git resolved at 0.7.0
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
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/ICY.git
Working copy of https://github.com/Bouke/ICY.git resolved at 1.2.2
Creating working copy for https://github.com/Bouke/Evergreen.git
Working copy of https://github.com/Bouke/Evergreen.git resolved at 2.0.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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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/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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/473] Compiling a_bool.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_object.c:66:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[1/473] Compiling a_object.c
[1/473] Compiling a_i2d_fp.c
[1/473] Compiling a_mbstr.c
[1/473] Compiling a_d2i_fp.c
[1/473] Compiling a_dup.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/a_int.c:65:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/asn1/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
[1/473] Compiling a_int.c
In file included from [1/473] Compiling a_bitstr.c
[1/473] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/472] Write sources
[24/472] Compiling CNIOWindows shim.c
[24/472] Compiling CNIOLinux liburing_shims.c
[26/472] Compiling CNIOWindows WSAStartup.c
[27/472] Compiling _AtomicsShims.c
[28/472] Compiling CNIOWASI CNIOWASI.c
[29/472] Compiling CNIOLinux shim.c
[30/472] Compiling CNIOLLHTTP c_nio_http.c
[31/472] Compiling CNIODarwin shim.c
[32/472] Compiling CQRCode qrcode.c
[33/472] Compiling CNIOLLHTTP c_nio_api.c
[34/472] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_utl.c:73:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/../internal.h:134:10: fatal error: 'pthread.h' file not found
  134 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[35/472] Compiling v3_utl.c
[35/472] Compiling CCryptoBoringSSLShims shims.c
[35/472] Compiling v3_skey.c
[35/472] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/472] Compiling v3_purp.c
[35/472] Compiling c-atomics.c
[35/472] Compiling v3_prn.c
[35/472] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm