Build Information
Failed to build K1, reference main (c77e6c
), with Swift 6.0 for Linux on 17 Mar 2025 21:53:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/K1.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/Sajjon/K1
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c77e6c2 Upgrade libsecp256k1 to 0.6.0 (0cdc758a56360bf58a851fe91085a327ec97685a) (#44)
Submodule path 'Sources/secp256k1/libsecp256k1': checked out '0cdc758a56360bf58a851fe91085a327ec97685a'
Submodule 'Sources/secp256k1/libsecp256k1' (https://github.com/bitcoin-core/secp256k1.git) registered for path 'Sources/secp256k1/libsecp256k1'
Cloning into '/host/spi-builder-workspace/Sources/secp256k1/libsecp256k1'...
Cloned https://github.com/Sajjon/K1.git
Revision (git rev-parse @):
c77e6c2bd23ec019b7ecf80b567f5eccbec59887
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Sajjon/K1.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Sajjon/K1.git
https://github.com/Sajjon/K1.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "K1",
"name" : "K1",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "K1",
"targets" : [
"K1"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "secp256k1",
"module_type" : "ClangTarget",
"name" : "secp256k1",
"path" : "Sources/secp256k1",
"product_memberships" : [
"K1"
],
"sources" : [
"libsecp256k1/contrib/lax_der_parsing.c",
"libsecp256k1/contrib/lax_der_privatekey_parsing.c",
"libsecp256k1/src/precomputed_ecmult.c",
"libsecp256k1/src/precomputed_ecmult_gen.c",
"libsecp256k1/src/secp256k1.c",
"src/ecdh_variants.c"
],
"type" : "library"
},
{
"c99name" : "K1Tests",
"module_type" : "SwiftTarget",
"name" : "K1Tests",
"path" : "Tests/K1Tests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/bip340_schnorr_sign.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/bip340_schnorr_verify.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/cyon_ecdh_two_variants_with_kdf.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/trezor_ecdsa_sign_rfc6979.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/warta_cyon_publickey_recovery.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdh_ASN1x963.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdsa_verify_der.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdsa_verify_p1363.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"TestCases/APITest.swift",
"TestCases/ECDH/ECDHTests.swift",
"TestCases/ECDH/ECDHWycheproofTests.swift",
"TestCases/ECDH/TwoVariantsOfECDHWithKDFTests.swift",
"TestCases/ECDSA/ECDSARecoverableSignatureRoundtripTests.swift",
"TestCases/ECDSA/ECDSASignatureTests.swift",
"TestCases/ECDSA/ECDSASignatureTrezorTests.swift",
"TestCases/ECDSA/ECDSAWycheproofASNDEREncodedSignaturesTests.swift",
"TestCases/ECDSA/ECDSAWycheproofIEEEP1364RSEncodedSignaturesTests.swift",
"TestCases/Keys/PrivateKey/PrivateKeyEncodingTests.swift",
"TestCases/Keys/PrivateKey/PrivateKeyGenerationTests.swift",
"TestCases/Keys/PrivateKey/PrivateKeyImportTests.swift",
"TestCases/Keys/PublicKey/PublicKeyEncodingTests.generated.swift",
"TestCases/Keys/PublicKey/PublicKeyImportTests.swift",
"TestCases/Performance/PerformanceTests.swift",
"TestCases/PublicKeyRecovery/ECDASignaturePublicKeyRecoveryTests.swift",
"TestCases/Schnorr/SchnorrSignatureBitcoinCoreTests.swift",
"TestCases/Schnorr/SchnorrSignatureTests.swift",
"TestCases/SecureBytes/SecureBytesTests.swift",
"Util/ECSignature.swift",
"Util/Wycheproof.swift",
"Util/XCTestUtils.swift"
],
"target_dependencies" : [
"K1"
],
"type" : "test"
},
{
"c99name" : "K1",
"module_type" : "SwiftTarget",
"name" : "K1",
"path" : "Sources/K1",
"product_memberships" : [
"K1"
],
"sources" : [
"K1.swift",
"K1/ECDH/KeyAgreement.swift",
"K1/ECDSA/ECDSA.swift",
"K1/ECDSA/ECDSASignatureNonRecoverable.swift",
"K1/ECDSA/ECDSASignatureRecoverable.swift",
"K1/ECDSA/RecoveryID.swift",
"K1/Keys/Keys.generated.swift",
"K1/Keys/PrivateKeyImplementation.swift",
"K1/Keys/PublicKeyImplementation.swift",
"K1/Schnorr/Schnorr+Signature.swift",
"K1/Schnorr/Schnorr.swift",
"K1/Signing/Signing.generated.swift",
"K1/Validation/Validation.generated.swift",
"Support/Extensions/Data+Extensions.swift",
"Support/FFI/API/ECDH/FFI+ECDH.swift",
"Support/FFI/API/ECDSA/FFI+ECDSA.swift",
"Support/FFI/API/ECDSA/NonRecovery/ECDSA+NonRecovery+Wrapped.swift",
"Support/FFI/API/ECDSA/NonRecovery/FFI+ECDSA+NonRecovery.swift",
"Support/FFI/API/ECDSA/Recovery/ECDSA+Recovery+Wrapped.swift",
"Support/FFI/API/ECDSA/Recovery/FFI+ECDSA+Recovery.swift",
"Support/FFI/API/Keys/PrivateKey/PrivateKey+Wrapped.swift",
"Support/FFI/API/Keys/PublicKey/FFI+PublicKey.swift",
"Support/FFI/API/Keys/PublicKey/PublicKey+Wrapped.swift",
"Support/FFI/API/Schnorr/FFI+Schnorr.swift",
"Support/FFI/API/Schnorr/Schnorr+Wrapped.swift",
"Support/FFI/Internals/FFI+Call.swift",
"Support/FFI/Internals/FFI+Context.swift",
"Support/FFI/Internals/FFI+Format.swift",
"Support/FFI/Internals/FFI+Raw.swift",
"Support/Misc/Curve.swift",
"Support/Misc/K1+Error.swift",
"Support/Misc/SharedSecret.swift",
"Support/ThirdyParty/swift-crypto/ASN1/ASN1.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Any.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1BitString.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Boolean.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Identifier.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Integer.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Null.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1OctetString.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Strings.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ArraySliceBigint.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/GeneralizedTime.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ObjectIdentifier.swift",
"Support/ThirdyParty/swift-crypto/ASN1/ECDSASignature.swift",
"Support/ThirdyParty/swift-crypto/ASN1/PEMDocument.swift",
"Support/ThirdyParty/swift-crypto/ASN1/PKCS8PrivateKey.swift",
"Support/ThirdyParty/swift-crypto/ASN1/SEC1PrivateKey.swift",
"Support/ThirdyParty/swift-crypto/ASN1/SubjectPublicKeyInfo.swift",
"Support/ThirdyParty/swift-crypto/ASN1Error.swift",
"Support/ThirdyParty/swift-crypto/BytesUtil.swift",
"Support/ThirdyParty/swift-crypto/RNG_boring.swift",
"Support/ThirdyParty/swift-crypto/SafeCompare_boring.swift",
"Support/ThirdyParty/swift-crypto/SecureBytes.swift"
],
"target_dependencies" : [
"secp256k1"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/8] Write sources
[1/8] Compiling lax_der_privatekey_parsing.c
[1/8] Compiling lax_der_parsing.c
[3/8] Compiling precomputed_ecmult_gen.c
[4/8] Compiling ecdh_variants.c
[4/8] Write swift-version-24593BA9C3E375BF.txt
[6/8] Compiling secp256k1.c
[7/8] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/57] Emitting module K1
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[10/63] Compiling K1 PrivateKeyImplementation.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[11/63] Compiling K1 PublicKeyImplementation.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[12/63] Compiling K1 Schnorr+Signature.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[13/63] Compiling K1 Schnorr.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[14/63] Compiling K1 Signing.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[15/63] Compiling K1 Validation.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[16/63] Compiling K1 Data+Extensions.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[17/63] Compiling K1 SubjectPublicKeyInfo.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[18/63] Compiling K1 ASN1Error.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[19/63] Compiling K1 BytesUtil.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[20/63] Compiling K1 RNG_boring.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[21/63] Compiling K1 SafeCompare_boring.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[22/63] Compiling K1 SecureBytes.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[23/63] Compiling K1 ASN1Boolean.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[24/63] Compiling K1 ASN1Identifier.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[25/63] Compiling K1 ASN1Integer.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[26/63] Compiling K1 ASN1Null.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[27/63] Compiling K1 ASN1OctetString.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[28/63] Compiling K1 ASN1Strings.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[29/63] Compiling K1 ArraySliceBigint.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[30/63] Compiling K1 GeneralizedTime.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[31/63] Compiling K1 ObjectIdentifier.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[32/63] Compiling K1 ECDSASignature.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[33/63] Compiling K1 PEMDocument.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[34/63] Compiling K1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[35/63] Compiling K1 SEC1PrivateKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[36/63] Compiling K1 FFI+Raw.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[37/63] Compiling K1 Curve.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[38/63] Compiling K1 K1+Error.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[39/63] Compiling K1 SharedSecret.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[40/63] Compiling K1 ASN1.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[41/63] Compiling K1 ASN1Any.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[42/63] Compiling K1 ASN1BitString.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[43/63] Compiling K1 FFI+ECDH.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[44/63] Compiling K1 FFI+ECDSA.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[45/63] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[46/63] Compiling K1 FFI+ECDSA+NonRecovery.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[47/63] Compiling K1 ECDSA+Recovery+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[48/63] Compiling K1 FFI+ECDSA+Recovery.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[49/63] Compiling K1 PrivateKey+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[50/63] Compiling K1 FFI+PublicKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[51/63] Compiling K1 PublicKey+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[52/63] Compiling K1 FFI+Schnorr.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[53/63] Compiling K1 Schnorr+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[54/63] Compiling K1 FFI+Call.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[55/63] Compiling K1 FFI+Context.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[56/63] Compiling K1 FFI+Format.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[57/63] Compiling K1 K1.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[58/63] Compiling K1 KeyAgreement.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[59/63] Compiling K1 ECDSA.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[60/63] Compiling K1 ECDSASignatureNonRecoverable.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[61/63] Compiling K1 ECDSASignatureRecoverable.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[62/63] Compiling K1 RecoveryID.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[63/63] Compiling K1 Keys.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/50] Compiling K1 PrivateKeyImplementation.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[3/50] Compiling K1 PublicKeyImplementation.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[4/50] Compiling K1 Schnorr+Signature.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[5/50] Compiling K1 Schnorr.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[6/50] Compiling K1 Signing.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[7/50] Compiling K1 Validation.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[8/50] Compiling K1 Data+Extensions.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[9/50] Compiling K1 FFI+ECDH.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[10/50] Compiling K1 FFI+ECDSA.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[11/50] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[12/50] Compiling K1 FFI+ECDSA+NonRecovery.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[13/50] Compiling K1 ECDSA+Recovery+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[14/50] Compiling K1 FFI+ECDSA+Recovery.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[15/50] Compiling K1 PrivateKey+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[16/56] Compiling K1 ASN1Boolean.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[17/56] Compiling K1 ASN1Identifier.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[18/56] Compiling K1 ASN1Integer.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[19/56] Compiling K1 ASN1Null.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[20/56] Compiling K1 ASN1OctetString.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[21/56] Compiling K1 ASN1Strings.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[22/56] Compiling K1 ArraySliceBigint.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[23/56] Compiling K1 K1.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[24/56] Compiling K1 KeyAgreement.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[25/56] Compiling K1 ECDSA.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[26/56] Compiling K1 ECDSASignatureNonRecoverable.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[27/56] Compiling K1 ECDSASignatureRecoverable.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[28/56] Compiling K1 RecoveryID.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[29/56] Compiling K1 Keys.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[30/56] Compiling K1 FFI+PublicKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[31/56] Compiling K1 PublicKey+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[32/56] Compiling K1 FFI+Schnorr.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[33/56] Compiling K1 Schnorr+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[34/56] Compiling K1 FFI+Call.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[35/56] Compiling K1 FFI+Context.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[36/56] Compiling K1 FFI+Format.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[37/56] Compiling K1 GeneralizedTime.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[38/56] Compiling K1 ObjectIdentifier.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[39/56] Compiling K1 ECDSASignature.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[40/56] Compiling K1 PEMDocument.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[41/56] Compiling K1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[42/56] Compiling K1 SEC1PrivateKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[43/56] Compiling K1 FFI+Raw.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[44/56] Compiling K1 Curve.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[45/56] Compiling K1 K1+Error.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[46/56] Compiling K1 SharedSecret.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[47/56] Compiling K1 ASN1.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[48/56] Compiling K1 ASN1Any.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[49/56] Compiling K1 ASN1BitString.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/56] Emitting module K1
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[51/56] Compiling K1 SubjectPublicKeyInfo.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[52/56] Compiling K1 ASN1Error.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[53/56] Compiling K1 BytesUtil.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[54/56] Compiling K1 RNG_boring.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[55/56] Compiling K1 SafeCompare_boring.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[56/56] Compiling K1 SecureBytes.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
BUILD FAILURE 6.0 linux