Build Information
Failed to build CryptoOffice, reference 0.1.1 (06be38
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 16:29:07 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/CoreOffice/CryptoOffice.git
Reference: 0.1.1
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/CoreOffice/CryptoOffice
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at 06be38e Update `CHANGELOG.md` for the 0.1.1 release
Cloned https://github.com/CoreOffice/CryptoOffice.git
Revision (git rev-parse @):
06be38e0c71cc3ac1cdd75b6c229c1661248efc5
SUCCESS checkout https://github.com/CoreOffice/CryptoOffice.git at 0.1.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/CoreOffice/CryptoOffice.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/weichsel/ZIPFoundation.git
Fetching https://github.com/CoreOffice/OLEKit.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/906] Fetching olekit
[871/6482] Fetching olekit, zipfoundation
[1075/16542] Fetching olekit, zipfoundation, xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.65s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/CoreOffice/OLEKit.git from cache (1.75s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.82s)
[1/12941] Fetching cryptoswift
[1813/28205] Fetching cryptoswift, swift-crypto
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.49s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.49s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (6.03s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.11.1 (0.96s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (2.68s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.79s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (1.74s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/CoreOffice/OLEKit.git
Working copy of https://github.com/CoreOffice/OLEKit.git resolved at 0.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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.11.1
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/412] Write sources
[5/412] Compiling ghash-armv4.linux.arm.S
[6/412] Copying PrivacyInfo.xcprivacy
[7/412] Compiling bio_mem.c
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:223:15: error: call to undeclared function 'setsockopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
223 | ret = setsockopt(bio->num, SOL_SOCKET, SO_KEEPALIVE, (char *)&i,
| ^
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:223:15: note: did you mean 'getsockopt'?
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/socket.h:436:5: note: 'getsockopt' declared here
436 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:223:48: error: use of undeclared identifier 'SO_KEEPALIVE'
223 | ret = setsockopt(bio->num, SOL_SOCKET, SO_KEEPALIVE, (char *)&i,
| ^
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:233:15: error: call to undeclared function 'connect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
233 | ret = connect(bio->num, (struct sockaddr*) &c->them, c->them_length);
| ^
3 errors generated.
[8/412] Compiling connect.c
[8/412] Compiling file.c
[222/412] Compiling CCryptoBoringSSLShims shims.c
[250/412] Compiling hexdump.c
[262/412] Compiling fd.c
[409/412] Compiling v3_utl.c
[409/412] Compiling pair.c
[409/412] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm