Build Information
Failed to build WireGuard, reference 0.0.5 (974e6b), with Swift 6.2 for Wasm on 17 Jun 2025 16:26:12 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/operatorfoundation/wireguard.git
Reference: 0.0.5
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
* tag 0.0.5 -> FETCH_HEAD
HEAD is now at 974e6b1 Fixed encrypted_timestamp bug
Cloned https://github.com/operatorfoundation/wireguard.git
Revision (git rev-parse @):
974e6b1a041978f1b997d10cd876992e9f632ce2
SUCCESS checkout https://github.com/operatorfoundation/wireguard.git at 0.0.5
========================================
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-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/OperatorFoundation/Transport.git
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Fetching https://github.com/OperatorFoundation/Datable
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/Bouke/INI
Fetching https://github.com/OperatorFoundation/Blake2.git
[1/52] Fetching blake2
[53/203] Fetching blake2, ini
[204/13144] Fetching blake2, ini, cryptoswift
[981/13596] Fetching blake2, ini, cryptoswift, transport
[2468/13995] Fetching blake2, ini, cryptoswift, transport, datable
Fetched https://github.com/OperatorFoundation/Blake2.git from cache (2.16s)
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
Fetching https://github.com/OperatorFoundation/swift-sodium.git
Fetched https://github.com/OperatorFoundation/Transport.git from cache (2.29s)
Fetched https://github.com/OperatorFoundation/Datable from cache (2.29s)
Fetched https://github.com/Bouke/INI from cache (2.29s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.32s)
Fetching https://github.com/OperatorFoundation/HKDFKit.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/3810] Fetching swift-sodium
Fetched https://github.com/OperatorFoundation/swift-sodium.git from cache (3.25s)
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