The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WireGuard, reference master (7ad36c), with Swift 6.2 for Wasm on 17 Jun 2025 16:25:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/operatorfoundation/wireguard.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/operatorfoundation/wireguard
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7ad36cd Tests and Dependencies
Cloned https://github.com/operatorfoundation/wireguard.git
Revision (git rev-parse @):
7ad36cd1b0557c487ad79418a45d789e00b4fb4a
SUCCESS checkout https://github.com/operatorfoundation/wireguard.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/operatorfoundation/wireguard.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/OperatorFoundation/Transport.git
Fetching https://github.com/Bouke/INI
Fetching https://github.com/OperatorFoundation/Datable
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
warning: 'hkdfkit': skipping cache due to an error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
[1/452] Fetching transport
[453/603] Fetching transport, ini
Fetching https://github.com/OperatorFoundation/swift-sodium.git
[604/1002] Fetching transport, ini, datable
[1003/13943] Fetching transport, ini, datable, cryptoswift
Fetching https://github.com/OperatorFoundation/Blake2.git
Fetched https://github.com/OperatorFoundation/Transport.git from cache (0.46s)
Fetched https://github.com/Bouke/INI from cache (0.46s)
Fetching https://github.com/OperatorFoundation/HKDFKit.git
[2341/13340] Fetching datable, cryptoswift
warning: 'hkdfkit': skipping cache due to an error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/root/.cache/org.swift.swiftpm/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
[2342/13392] Fetching datable, cryptoswift, blake2
[2394/17202] Fetching datable, cryptoswift, blake2, swift-sodium
Fetched https://github.com/OperatorFoundation/Blake2.git from cache (0.34s)
[4618/17150] Fetching datable, cryptoswift, swift-sodium
Fetched https://github.com/OperatorFoundation/Datable from cache (1.87s)
[14504/16751] Fetching cryptoswift, swift-sodium
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.91s)
[1601/3810] Fetching swift-sodium
Fetched https://github.com/OperatorFoundation/swift-sodium.git from cache (3.64s)
error: Failed to clone repository https://github.com/OperatorFoundation/HKDFKit.git:
    Cloning into bare repository '/host/spi-builder-workspace/.build/repositories/HKDFKit-a908d820'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
BUILD FAILURE 6.2 wasm