Build Information
Failed to build JOSE with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/proxyco/swift-jose.git
Reference: 0.1.3
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/proxyco/swift-jose
* tag 0.1.3 -> FETCH_HEAD
HEAD is now at c534dca Format
Cloned https://github.com/proxyco/swift-jose.git
Revision (git rev-parse @):
c534dcaa0f6dd7fc0efa52cee0e097b503f16cdf
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/proxyco/swift-jose.git at 0.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/proxyco/swift-jose.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/krzyzanowskim/OpenSSL.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
[1/2999] Fetching secp256k1.swift
[1711/15555] Fetching secp256k1.swift, cryptoswift
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (0.31s)
[2009/12556] Fetching cryptoswift
[12557/19966] Fetching cryptoswift, openssl
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (66.08s)
Fetched https://github.com/krzyzanowskim/OpenSSL.git from cache (67.44s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.7.2 (0.44s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.12.2 (0.41s)
Computing version for https://github.com/krzyzanowskim/OpenSSL.git
Computed https://github.com/krzyzanowskim/OpenSSL.git at 1.1.2200 (0.40s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.7.2
Creating working copy for https://github.com/krzyzanowskim/OpenSSL.git
Working copy of https://github.com/krzyzanowskim/OpenSSL.git resolved at 1.1.2200
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.12.2
Building for debugging...
[0/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Utility.c
[5/8] Compiling precomputed_ecmult_gen.c
[6/8] Compiling secp256k1.c
[7/106] Compiling precomputed_ecmult.c
[9/126] Compiling CryptoSwift Hashable.swift
[10/126] Compiling CryptoSwift Integer Conversion.swift
[11/126] Compiling CryptoSwift Multiplication.swift
[12/126] Compiling CryptoSwift Prime Test.swift
[13/126] Compiling CryptoSwift Random.swift
[14/126] Compiling CryptoSwift Shifts.swift
[15/126] Compiling CryptoSwift Square Root.swift
[16/126] Compiling CryptoSwift Strideable.swift
[17/126] Compiling CryptoSwift String Conversion.swift
[18/126] Compiling CryptoSwift Subtraction.swift
[19/126] Compiling CryptoSwift Words and Bits.swift
[20/126] Compiling CryptoSwift ChaCha20.swift
[21/126] Compiling CryptoSwift Checksum.swift
[22/126] Compiling CryptoSwift Cipher.swift
[23/139] Emitting module CryptoSwift
[24/139] Compiling secp256k1 Errors.swift
[25/139] Compiling secp256k1 Exports.swift
[26/139] Compiling secp256k1 HashDigest.swift
[27/141] Compiling secp256k1 Tweak.swift
[28/141] Compiling secp256k1 Utility.swift
[29/141] Compiling secp256k1 Asymmetric.swift
[30/141] Compiling secp256k1 DH.swift
[31/141] Compiling secp256k1 Digest.swift
[32/141] Emitting module secp256k1
[33/141] Compiling secp256k1 ECDH.swift
[34/141] Compiling secp256k1 ECDSA.swift
[35/141] Compiling secp256k1 EdDSA.swift
[36/141] Compiling secp256k1 SHA256.swift
[37/141] Compiling secp256k1 SafeCompare.swift
[38/141] Compiling secp256k1 Schnorr.swift
[39/141] Compiling secp256k1 PrettyBytes.swift
[40/141] Compiling secp256k1 RNG_boring.swift
[41/141] Compiling secp256k1 Recovery.swift
[42/141] Compiling secp256k1 SecureBytes.swift
[43/141] Compiling secp256k1 Signature.swift
[44/141] Compiling CryptoSwift Collection+Extension.swift
[45/141] Compiling CryptoSwift CompactMap.swift
[46/141] Compiling CryptoSwift Cryptor.swift
[47/141] Compiling CryptoSwift Cryptors.swift
[48/141] Compiling CryptoSwift Digest.swift
[49/141] Compiling CryptoSwift DigestType.swift
[50/141] Compiling CryptoSwift AES+Foundation.swift
[51/141] Compiling CryptoSwift Array+Foundation.swift
[52/141] Compiling CryptoSwift Blowfish+Foundation.swift
[53/141] Compiling CryptoSwift ChaCha20+Foundation.swift
[54/141] Compiling CryptoSwift Data+Extension.swift
[55/141] Compiling CryptoSwift HMAC+Foundation.swift
[56/141] Compiling CryptoSwift Rabbit+Foundation.swift
[57/141] Compiling CryptoSwift String+FoundationExtension.swift
[58/141] Compiling CryptoSwift Utils+Foundation.swift
[59/141] Compiling CryptoSwift Generics.swift
[60/141] Compiling CryptoSwift HKDF.swift
[61/141] Compiling CryptoSwift HMAC.swift
[62/141] Compiling CryptoSwift ISO10126Padding.swift
[63/141] Compiling CryptoSwift ISO78164Padding.swift
[64/141] Compiling CryptoSwift Int+Extension.swift
[65/141] Compiling CryptoSwift MD5.swift
[66/141] Compiling CryptoSwift NoPadding.swift
[67/141] Compiling CryptoSwift Operators.swift
[68/141] Compiling CryptoSwift DER.swift
[69/141] Compiling CryptoSwift PBKDF1.swift
[70/141] Compiling CryptoSwift PBKDF2.swift
[71/141] Compiling CryptoSwift PKCS1v15.swift
[72/141] Compiling CryptoSwift CBCMAC.swift
[73/141] Compiling CryptoSwift CMAC.swift
[74/141] Compiling CryptoSwift Addition.swift
[75/141] Compiling CryptoSwift BigInt.swift
[76/141] Compiling CryptoSwift BigUInt.swift
[77/141] Compiling CryptoSwift Bitwise Ops.swift
[78/141] Compiling CryptoSwift CS.swift
[79/141] Compiling CryptoSwift Codable.swift
[80/141] Compiling CryptoSwift Comparable.swift
[81/141] Compiling CryptoSwift Data Conversion.swift
[82/141] Compiling CryptoSwift Division.swift
[83/141] Compiling CryptoSwift Exponentiation.swift
[84/141] Compiling CryptoSwift Floating Point Conversion.swift
[85/141] Compiling CryptoSwift GCD.swift
[86/141] Compiling secp256k1 Zeroization.swift
[87/141] Compiling secp256k1 secp256k1.swift
[110/142] Compiling CryptoSwift CipherModeWorker.swift
[111/142] Compiling CryptoSwift ECB.swift
[112/142] Compiling CryptoSwift GCM.swift
[113/142] Compiling CryptoSwift OCB.swift
[114/142] Compiling CryptoSwift OFB.swift
[115/142] Compiling CryptoSwift PCBC.swift
[116/142] Compiling CryptoSwift Blowfish.swift
[117/142] Compiling CryptoSwift SecureBytes.swift
[118/142] Compiling CryptoSwift Signature.swift
[119/142] Compiling CryptoSwift StreamDecryptor.swift
[120/142] Compiling CryptoSwift StreamEncryptor.swift
[121/142] Compiling CryptoSwift String+Extension.swift
[122/142] Compiling CryptoSwift UInt128.swift
[123/142] Compiling CryptoSwift UInt16+Extension.swift
[124/142] Compiling CryptoSwift UInt32+Extension.swift
[125/142] Compiling CryptoSwift UInt64+Extension.swift
[126/142] Compiling CryptoSwift UInt8+Extension.swift
[127/142] Compiling CryptoSwift Updatable.swift
[128/142] Compiling CryptoSwift Utils.swift
[129/142] Compiling CryptoSwift ZeroPadding.swift
[130/142] Compiling CryptoSwift PKCS5.swift
[131/142] Compiling CryptoSwift PKCS7.swift
[132/142] Compiling CryptoSwift PKCS7Padding.swift
[133/142] Compiling CryptoSwift Padding.swift
[134/142] Compiling CryptoSwift Poly1305.swift
[135/142] Compiling CryptoSwift RSA+Cipher.swift
[136/142] Compiling CryptoSwift RSA+Signature.swift
[137/142] Compiling CryptoSwift RSA.swift
[138/142] Compiling CryptoSwift Rabbit.swift
[139/142] Compiling CryptoSwift SHA1.swift
[140/142] Compiling CryptoSwift SHA2.swift
[141/142] Compiling CryptoSwift SHA3.swift
[142/142] Compiling CryptoSwift Scrypt.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/168] Emitting module JOSE
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[145/171] Compiling JOSE JWK+Thumbprint.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[146/171] Compiling JOSE JWK.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[147/171] Compiling JOSE JWKRepresentable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[148/171] Compiling JOSE JOSEHeader+Codable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[149/171] Compiling JOSE JOSEHeader+CompressionAlgorithm.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[150/171] Compiling JOSE JOSEHeader+ContentEncryptionAlgorithm.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[151/171] Compiling JOSE JOSEHeader+KeyManagementAlgorithm.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[152/171] Compiling JOSE JWE+Recipient.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[153/171] Compiling JOSE JWE.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[154/171] Compiling JOSE Curve448.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[155/171] Compiling JOSE JWK+Codable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[156/171] Compiling JOSE JWK+Error.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[157/171] Compiling JOSE JWK+KeyAgreement.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[158/171] Compiling JOSE Data+Random.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[159/171] Compiling JOSE DataRepresentable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[160/171] Compiling JOSE Types+DataRepresentable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[161/171] Compiling JOSE JWKSet.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[162/171] Compiling JOSE Base64URL.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[163/171] Compiling JOSE ConcatKDF.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[164/171] Compiling JOSE JOSEHeader.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[165/171] Compiling JOSE JWE+CompactSerialization.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[166/171] Compiling JOSE JWE+Crypto.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[167/171] Compiling JOSE JWE+Decrypt.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[168/171] Compiling JOSE JWE+Encrypt.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[169/171] Compiling JOSE JWE+Error.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[170/171] Compiling JOSE JWE+JOSEHeader.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[171/171] Compiling JOSE JWE+JSONSerialization.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling JOSE JWK+Thumbprint.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[3/26] Compiling JOSE JWK.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[4/26] Compiling JOSE JWKRepresentable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/29] Emitting module JOSE
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[6/29] Compiling JOSE JOSEHeader+Codable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[7/29] Compiling JOSE JOSEHeader+CompressionAlgorithm.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[8/29] Compiling JOSE JOSEHeader+ContentEncryptionAlgorithm.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[9/29] Compiling JOSE JOSEHeader+KeyManagementAlgorithm.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[10/29] Compiling JOSE JWK+Codable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[11/29] Compiling JOSE JWK+Error.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[12/29] Compiling JOSE JWK+KeyAgreement.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[13/29] Compiling JOSE JWE+Recipient.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[14/29] Compiling JOSE JWE.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[15/29] Compiling JOSE Curve448.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[16/29] Compiling JOSE Data+Random.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[17/29] Compiling JOSE DataRepresentable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[18/29] Compiling JOSE Types+DataRepresentable.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[19/29] Compiling JOSE JWE+Encrypt.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[20/29] Compiling JOSE JWE+Error.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[21/29] Compiling JOSE JWE+JOSEHeader.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[22/29] Compiling JOSE JWE+JSONSerialization.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[23/29] Compiling JOSE JWKSet.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[24/29] Compiling JOSE Base64URL.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[25/29] Compiling JOSE ConcatKDF.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[26/29] Compiling JOSE JOSEHeader.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[27/29] Compiling JOSE JWE+CompactSerialization.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[28/29] Compiling JOSE JWE+Crypto.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
[29/29] Compiling JOSE JWE+Decrypt.swift
/host/spi-builder-workspace/Sources/JOSE/JWE/JWE+Crypto.swift:9:8: error: no such module 'CryptoKit'
import CryptoKit
^
error: fatalError
BUILD FAILURE 5.10 linux