Build Information
Failed to build CryptoOffice, reference main (4fc483
), with Swift 6.1 for Wasm on 27 May 2025 19:47:02 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>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CoreOffice/CryptoOffice.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4fc4834 Update README.md (#2)
Cloned https://github.com/CoreOffice/CryptoOffice.git
Revision (git rev-parse @):
4fc4834bf8df8e39cd5e4dfdf04b94cfe06b5257
SUCCESS checkout https://github.com/CoreOffice/CryptoOffice.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/CoreOffice/CryptoOffice.git
https://github.com/CoreOffice/CryptoOffice.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.14.0",
"upper_bound" : "0.15.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CoreOffice/XMLCoder.git"
},
{
"identity" : "olekit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CoreOffice/OLEKit.git"
},
{
"identity" : "zipfoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.11",
"upper_bound" : "0.10.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/weichsel/ZIPFoundation.git"
}
],
"manifest_display_name" : "CryptoOffice",
"name" : "CryptoOffice",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CryptoOffice",
"targets" : [
"CryptoOffice"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CryptoOfficeTests",
"module_type" : "SwiftTarget",
"name" : "CryptoOfficeTests",
"path" : "Tests/CryptoOfficeTests",
"product_dependencies" : [
"ZIPFoundation"
],
"sources" : [
"CryptoOfficeTests.swift"
],
"target_dependencies" : [
"CryptoOffice"
],
"type" : "test"
},
{
"c99name" : "CryptoOffice",
"module_type" : "SwiftTarget",
"name" : "CryptoOffice",
"path" : "Sources/CryptoOffice",
"product_dependencies" : [
"Crypto",
"CryptoSwift",
"OLEKit",
"XMLCoder"
],
"product_memberships" : [
"CryptoOffice"
],
"sources" : [
"CryptoOfficeError.swift",
"CryptoOfficeFile.swift",
"ECMA376Agile.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/weichsel/ZIPFoundation.git
Fetching https://github.com/CoreOffice/OLEKit.git
Fetching https://github.com/CoreOffice/XMLCoder.git
[1/906] Fetching olekit
[47/13847] Fetching olekit, cryptoswift
[1269/23858] Fetching olekit, cryptoswift, xmlcoder
[2617/37794] Fetching olekit, cryptoswift, xmlcoder, swift-crypto
[4876/43368] Fetching olekit, cryptoswift, xmlcoder, swift-crypto, zipfoundation
Fetched https://github.com/CoreOffice/OLEKit.git from cache (0.73s)
[18652/42462] Fetching cryptoswift, xmlcoder, swift-crypto, zipfoundation
[8975/32451] Fetching cryptoswift, swift-crypto, zipfoundation
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.73s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (1.09s)
[6979/26877] Fetching cryptoswift, swift-crypto
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.72s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.02s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (3.97s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.14.0 (0.78s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.46s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.65s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (2.96s)
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/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.14.0
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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 check.c
[6/412] Copying PrivacyInfo.xcprivacy
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/digest/digests.c:68:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/digest/../delocate.h:20:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/digest/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[7/412] Compiling digests.c
[7/412] Compiling CCryptoBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/des/des.c:61:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/des/internal.h:62:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/des/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[7/412] Compiling des.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/ec/ec.c:78:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/ec/internal.h:78:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/ec/../bn/internal.h:135:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/ec/../bn/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[7/412] Compiling ec.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/digest/digest.c:66:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/digest/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[7/412] Compiling digest.c
[7/412] Compiling a_i2d_fp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/dh/dh.c:67:
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/fipsmodule/dh/../../internal.h:134:10: fatal error: 'pthread.h' file not found
134 | #include <pthread.h>
| ^~~~~~~~~~~
[7/412] Compiling dh.c
[7/412] Write swift-version-24593BA9C3E375BF.txt
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/CryptoOfficeTests/TestWorkbook.xlsx
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
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/x509v3/v3_purp.c:70:
/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.
[0/405] Compiling v3_purp.c
[0/405] Compiling v3_pcons.c
[0/405] Compiling v3_prn.c
[0/405] Compiling v3_skey.c
[0/405] Compiling v3_pmaps.c
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>
| ^~~~~~~~~~~
[0/405] Compiling v3_utl.c
[0/405] Compiling CCryptoBoringSSLShims shims.c
[0/405] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm