Build Information
Failed to build WireGuard, reference 0.0.5 (974e6b), with Swift 6.1 for Wasm on 27 May 2025 08:33:05 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/operatorfoundation/wireguard.git
https://github.com/operatorfoundation/wireguard.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-sodium",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.11",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/swift-sodium.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "hkdfkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/HKDFKit.git"
},
{
"identity" : "blake2",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/Blake2.git"
},
{
"identity" : "transport",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.22",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/Transport.git"
},
{
"identity" : "datable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/OperatorFoundation/Datable"
},
{
"identity" : "ini",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Bouke/INI"
}
],
"manifest_display_name" : "WireGuard",
"name" : "WireGuard",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "WireGuard",
"targets" : [
"WireGuard"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WireGuardTests",
"module_type" : "SwiftTarget",
"name" : "WireGuardTests",
"path" : "Tests/WireGuardTests",
"product_dependencies" : [
"Transport",
"INI",
"Datable"
],
"sources" : [
"WireGuardTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"WireGuard"
],
"type" : "test"
},
{
"c99name" : "WireGuard",
"module_type" : "SwiftTarget",
"name" : "WireGuard",
"path" : "Sources/WireGuard",
"product_dependencies" : [
"Sodium",
"CryptoSwift",
"HKDFKit",
"Blake2",
"Transport",
"Datable"
],
"product_memberships" : [
"WireGuard"
],
"sources" : [
"Configuration.swift",
"Crypto.swift",
"CryptoShim.swift",
"NonceTracker.swift",
"Protocol.swift",
"State.swift",
"Timers.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/OperatorFoundation/HKDFKit.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/OperatorFoundation/Blake2.git
Fetching https://github.com/OperatorFoundation/Transport.git
Fetching https://github.com/Bouke/INI
Fetching https://github.com/OperatorFoundation/Datable
[1/452] Fetching transport
[309/504] Fetching transport, blake2
[505/13438] Fetching transport, blake2, cryptoswift
[506/13589] Fetching transport, blake2, cryptoswift, ini
[2208/13988] Fetching transport, blake2, cryptoswift, ini, datable
Fetched https://github.com/Bouke/INI from cache (0.34s)
Fetched https://github.com/OperatorFoundation/Datable from cache (0.34s)
Fetched https://github.com/OperatorFoundation/Transport.git from cache (0.34s)
Fetching https://github.com/OperatorFoundation/swift-sodium.git
[1993/12986] Fetching blake2, 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
Fetched https://github.com/OperatorFoundation/Blake2.git from cache (1.35s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.38s)
[1/3810] Fetching swift-sodium
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
Fetched https://github.com/OperatorFoundation/swift-sodium.git from cache (3.09s)
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Updating https://github.com/krzyzanowskim/CryptoSwift.git
Updating https://github.com/OperatorFoundation/Transport.git
Updating https://github.com/OperatorFoundation/Blake2.git
Updating https://github.com/OperatorFoundation/Datable
Updating https://github.com/Bouke/INI
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
Updated https://github.com/OperatorFoundation/Blake2.git (0.19s)
Updated https://github.com/OperatorFoundation/Datable (0.19s)
Updated https://github.com/Bouke/INI (0.19s)
Updating https://github.com/OperatorFoundation/swift-sodium.git
Fetching https://github.com/OperatorFoundation/HKDFKit.git
Updated https://github.com/krzyzanowskim/CryptoSwift.git (0.22s)
Updated https://github.com/OperatorFoundation/Transport.git (0.22s)
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
Updated https://github.com/OperatorFoundation/swift-sodium.git (0.14s)
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.1 wasm