Build Information
Failed to build K1, reference main (c77e6c
), with Swift 5.10 for Linux on 17 Mar 2025 21:51:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: 5.10
Building package at path: $PWD
https://github.com/Sajjon/K1.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/8] Write sources
[1/8] Compiling lax_der_parsing.c
[2/8] Compiling lax_der_privatekey_parsing.c
[3/8] Compiling precomputed_ecmult_gen.c
[4/8] Compiling ecdh_variants.c
[5/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'
import struct CryptoKit.SharedSecret
^
[10/63] Compiling K1 PrivateKeyImplementation.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[11/63] Compiling K1 PublicKeyImplementation.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[12/63] Compiling K1 Schnorr+Signature.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[13/63] Compiling K1 Schnorr.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[14/63] Compiling K1 Signing.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[15/63] Compiling K1 Validation.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[16/63] Compiling K1 Data+Extensions.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[17/63] Compiling K1 FFI+PublicKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[18/63] Compiling K1 PublicKey+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[19/63] Compiling K1 FFI+Schnorr.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[20/63] Compiling K1 Schnorr+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[21/63] Compiling K1 FFI+Call.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[22/63] Compiling K1 FFI+Context.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[23/63] Compiling K1 FFI+Format.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[24/63] Compiling K1 SubjectPublicKeyInfo.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[25/63] Compiling K1 ASN1Error.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[26/63] Compiling K1 BytesUtil.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[27/63] Compiling K1 RNG_boring.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[28/63] Compiling K1 SafeCompare_boring.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[29/63] Compiling K1 SecureBytes.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[30/63] Compiling K1 K1.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[31/63] Compiling K1 KeyAgreement.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[32/63] Compiling K1 ECDSA.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[33/63] Compiling K1 ECDSASignatureNonRecoverable.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[34/63] Compiling K1 ECDSASignatureRecoverable.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[35/63] Compiling K1 RecoveryID.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[36/63] Compiling K1 Keys.generated.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[37/63] Compiling K1 FFI+ECDH.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[38/63] Compiling K1 FFI+ECDSA.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[39/63] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[40/63] Compiling K1 FFI+ECDSA+NonRecovery.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[41/63] Compiling K1 ECDSA+Recovery+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[42/63] Compiling K1 FFI+ECDSA+Recovery.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[43/63] Compiling K1 PrivateKey+Wrapped.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[44/63] Compiling K1 GeneralizedTime.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[45/63] Compiling K1 ObjectIdentifier.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[46/63] Compiling K1 ECDSASignature.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[47/63] Compiling K1 PEMDocument.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[48/63] Compiling K1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[49/63] Compiling K1 SEC1PrivateKey.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[50/63] Compiling K1 ASN1Boolean.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[51/63] Compiling K1 ASN1Identifier.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[52/63] Compiling K1 ASN1Integer.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[53/63] Compiling K1 ASN1Null.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[54/63] Compiling K1 ASN1OctetString.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[55/63] Compiling K1 ASN1Strings.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[56/63] Compiling K1 ArraySliceBigint.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[57/63] Compiling K1 FFI+Raw.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[58/63] Compiling K1 Curve.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[59/63] Compiling K1 K1+Error.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[60/63] Compiling K1 SharedSecret.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[61/63] Compiling K1 ASN1.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[62/63] Compiling K1 ASN1Any.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
[63/63] Compiling K1 ASN1BitString.swift
/host/spi-builder-workspace/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
import struct CryptoKit.SharedSecret
^
error: fatalError
BUILD FAILURE 5.10 linux