Build Information
Failed to build ed25519swift, reference master (b14719
), with Swift 6.1 for Wasm on 29 May 2025 02:00:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/crewshin/ed25519swift.git
Reference: master
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/crewshin/ed25519swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b14719c Fixing Package.swift
Cloned https://github.com/crewshin/ed25519swift.git
Revision (git rev-parse @):
b14719cad9fa541a5ec9b3de5aff8e9c4cc6ea07
SUCCESS checkout https://github.com/crewshin/ed25519swift.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/crewshin/ed25519swift.git
https://github.com/crewshin/ed25519swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
}
],
"manifest_display_name" : "ed25519swift",
"name" : "ed25519swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ed25519swift",
"targets" : [
"ed25519swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ed25519swift",
"module_type" : "SwiftTarget",
"name" : "ed25519swift",
"path" : "Sources/ed25519swift",
"product_dependencies" : [
"CryptoSwift"
],
"product_memberships" : [
"ed25519swift"
],
"sources" : [
"ed25519_fe.swift",
"ed25519_ge.swift",
"ed25519_sc.swift",
"ed25519_sign.swift",
"ed25519_utility.swift",
"ed25519_verify.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.50s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (3.55s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/105] Emitting module CryptoSwift
[6/119] Compiling CryptoSwift CompactMap.swift
[7/119] Compiling CryptoSwift Cryptor.swift
[8/119] Compiling CryptoSwift Cryptors.swift
[9/119] Compiling CryptoSwift Digest.swift
[10/119] Compiling CryptoSwift DigestType.swift
[11/119] Compiling CryptoSwift AES+Foundation.swift
[12/119] Compiling CryptoSwift Array+Foundation.swift
[13/119] Compiling CryptoSwift Blowfish+Foundation.swift
[14/119] Compiling CryptoSwift ChaCha20+Foundation.swift
[15/119] Compiling CryptoSwift Data+Extension.swift
[16/119] Compiling CryptoSwift HMAC+Foundation.swift
[17/119] Compiling CryptoSwift Rabbit+Foundation.swift
[18/119] Compiling CryptoSwift String+FoundationExtension.swift
[19/119] Compiling CryptoSwift Utils+Foundation.swift
[20/119] Compiling CryptoSwift XChaCha20+Foundation.swift
[21/119] Compiling CryptoSwift Generics.swift
[22/119] Compiling CryptoSwift HKDF.swift
[23/119] Compiling CryptoSwift HMAC.swift
[24/119] Compiling CryptoSwift ISO10126Padding.swift
[25/119] Compiling CryptoSwift ISO78164Padding.swift
[26/119] Compiling CryptoSwift Int+Extension.swift
[27/119] Compiling CryptoSwift MD5.swift
[28/119] Compiling CryptoSwift NoPadding.swift
[29/119] Compiling CryptoSwift Operators.swift
[30/119] Compiling CryptoSwift DER.swift
[31/119] Compiling CryptoSwift PBKDF1.swift
[32/119] Compiling CryptoSwift PBKDF2.swift
[33/119] Compiling CryptoSwift PKCS1v15.swift
[34/119] Compiling CryptoSwift BlockEncryptor.swift
[35/119] Compiling CryptoSwift BlockMode.swift
[36/119] Compiling CryptoSwift BlockModeOptions.swift
[37/119] Compiling CryptoSwift CBC.swift
[38/119] Compiling CryptoSwift CCM.swift
[39/119] Compiling CryptoSwift CFB.swift
[40/119] Compiling CryptoSwift CTR.swift
[41/119] Compiling CryptoSwift CipherModeWorker.swift
[42/119] Compiling CryptoSwift ECB.swift
[43/119] Compiling CryptoSwift GCM.swift
[44/119] Compiling CryptoSwift OCB.swift
[45/119] Compiling CryptoSwift OFB.swift
[46/119] Compiling CryptoSwift PCBC.swift
[47/119] Compiling CryptoSwift Blowfish.swift
[48/119] Compiling CryptoSwift CBCMAC.swift
[49/119] Compiling CryptoSwift IntegerConversion.swift
[50/119] Compiling CryptoSwift Multiplication.swift
[51/119] Compiling CryptoSwift PrimeTest.swift
[52/119] Compiling CryptoSwift Random.swift
[53/119] Compiling CryptoSwift Shifts.swift
[54/119] Compiling CryptoSwift SquareRoot.swift
[55/119] Compiling CryptoSwift Strideable.swift
[56/119] Compiling CryptoSwift StringConversion.swift
[57/119] Compiling CryptoSwift Subtraction.swift
[58/119] Compiling CryptoSwift WordsAndBits.swift
[59/119] Compiling CryptoSwift ChaCha20.swift
[60/119] Compiling CryptoSwift Checksum.swift
[61/119] Compiling CryptoSwift Cipher.swift
[62/119] Compiling CryptoSwift Collection+Extension.swift
[63/119] Compiling CryptoSwift AEAD.swift
[64/119] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[65/119] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[66/119] Compiling CryptoSwift AES.Cryptors.swift
[67/119] Compiling CryptoSwift AES.swift
[68/119] Compiling CryptoSwift ASN1.swift
[69/119] Compiling CryptoSwift ASN1Decoder.swift
[70/119] Compiling CryptoSwift ASN1Encoder.swift
[71/119] Compiling CryptoSwift ASN1Scanner.swift
[72/119] Compiling CryptoSwift Array+Extension.swift
[73/119] Compiling CryptoSwift Authenticator.swift
[74/119] Compiling CryptoSwift BatchedCollection.swift
[75/119] Compiling CryptoSwift Bit.swift
[76/119] Compiling CryptoSwift BlockCipher.swift
[77/119] Compiling CryptoSwift BlockDecryptor.swift
[78/119] Compiling CryptoSwift Signature.swift
[79/119] Compiling CryptoSwift StreamDecryptor.swift
[80/119] Compiling CryptoSwift StreamEncryptor.swift
[81/119] Compiling CryptoSwift String+Extension.swift
[82/119] Compiling CryptoSwift UInt128.swift
[83/119] Compiling CryptoSwift UInt16+Extension.swift
[84/119] Compiling CryptoSwift UInt32+Extension.swift
[85/119] Compiling CryptoSwift UInt64+Extension.swift
[86/119] Compiling CryptoSwift UInt8+Extension.swift
[87/119] Compiling CryptoSwift Updatable.swift
[88/119] Compiling CryptoSwift Utils.swift
[89/119] Compiling CryptoSwift XChaCha20.swift
[90/119] Compiling CryptoSwift ZeroPadding.swift
[91/119] Compiling CryptoSwift resource_bundle_accessor.swift
[92/119] Compiling CryptoSwift CMAC.swift
[93/119] Compiling CryptoSwift Addition.swift
[94/119] Compiling CryptoSwift BigInt.swift
[95/119] Compiling CryptoSwift BigUInt.swift
[96/119] Compiling CryptoSwift BitwiseOps.swift
[97/119] Compiling CryptoSwift CS.swift
[98/119] Compiling CryptoSwift Codable.swift
[99/119] Compiling CryptoSwift Comparable.swift
[100/119] Compiling CryptoSwift DataConversion.swift
[101/119] Compiling CryptoSwift Division.swift
[102/119] Compiling CryptoSwift Exponentiation.swift
[103/119] Compiling CryptoSwift FloatingPointConversion.swift
[104/119] Compiling CryptoSwift GCD.swift
[105/119] Compiling CryptoSwift Hashable.swift
[106/119] Compiling CryptoSwift PKCS5.swift
[107/119] Compiling CryptoSwift PKCS7.swift
[108/119] Compiling CryptoSwift PKCS7Padding.swift
[109/119] Compiling CryptoSwift Padding.swift
[110/119] Compiling CryptoSwift Poly1305.swift
[111/119] Compiling CryptoSwift RSA+Cipher.swift
[112/119] Compiling CryptoSwift RSA+Signature.swift
[113/119] Compiling CryptoSwift RSA.swift
[114/119] Compiling CryptoSwift Rabbit.swift
[115/119] Compiling CryptoSwift SHA1.swift
[116/119] Compiling CryptoSwift SHA2.swift
[117/119] Compiling CryptoSwift SHA3.swift
[118/119] Compiling CryptoSwift Scrypt.swift
[119/119] Compiling CryptoSwift SecureBytes.swift
[121/127] Compiling ed25519swift ed25519_sign.swift
/host/spi-builder-workspace/Sources/ed25519swift/ed25519_sign.swift:40:22: error: cannot find 'SecRandomCopyBytes' in scope
38 | r = [UInt8](repeating: 0, count: len)
39 | // @note Apple API
40 | let result = SecRandomCopyBytes(kSecRandomDefault, len, &r)
| `- error: cannot find 'SecRandomCopyBytes' in scope
41 | assert(result == 0)
42 | }
/host/spi-builder-workspace/Sources/ed25519swift/ed25519_sign.swift:40:41: error: cannot find 'kSecRandomDefault' in scope
38 | r = [UInt8](repeating: 0, count: len)
39 | // @note Apple API
40 | let result = SecRandomCopyBytes(kSecRandomDefault, len, &r)
| `- error: cannot find 'kSecRandomDefault' in scope
41 | assert(result == 0)
42 | }
[122/127] Compiling ed25519swift ed25519_verify.swift
[123/127] Compiling ed25519swift ed25519_utility.swift
[124/127] Emitting module ed25519swift
/host/spi-builder-workspace/Sources/ed25519swift/ed25519_ge.swift:516:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ge.ge25519_base_multiples_affine' may have shared mutable state; this is an error in the Swift 6 language mode
512 | }
513 |
514 | private class ge25519_base_multiples_affine {
| `- note: class 'ge25519_base_multiples_affine' does not conform to the 'Sendable' protocol
515 | public var v: [aff] = []
516 | static let shared = ge25519_base_multiples_affine()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ge.ge25519_base_multiples_affine' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 |
518 | /* Multiples of the base point in affine representation */
[125/127] Compiling ed25519swift ed25519_sc.swift
[126/127] Compiling ed25519swift ed25519_ge.swift
/host/spi-builder-workspace/Sources/ed25519swift/ed25519_ge.swift:516:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ge.ge25519_base_multiples_affine' may have shared mutable state; this is an error in the Swift 6 language mode
512 | }
513 |
514 | private class ge25519_base_multiples_affine {
| `- note: class 'ge25519_base_multiples_affine' does not conform to the 'Sendable' protocol
515 | public var v: [aff] = []
516 | static let shared = ge25519_base_multiples_affine()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ge.ge25519_base_multiples_affine' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
517 |
518 | /* Multiples of the base point in affine representation */
[127/127] Compiling ed25519swift ed25519_fe.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/102] Compiling CryptoSwift CompactMap.swift
[3/102] Compiling CryptoSwift Cryptor.swift
[4/102] Compiling CryptoSwift Cryptors.swift
[5/102] Compiling CryptoSwift Digest.swift
[6/102] Compiling CryptoSwift DigestType.swift
[7/102] Compiling CryptoSwift AES+Foundation.swift
[8/102] Compiling CryptoSwift Array+Foundation.swift
[9/102] Compiling CryptoSwift Blowfish+Foundation.swift
[10/102] Compiling CryptoSwift ChaCha20+Foundation.swift
[11/102] Compiling CryptoSwift Data+Extension.swift
[12/102] Compiling CryptoSwift HMAC+Foundation.swift
[13/102] Compiling CryptoSwift Rabbit+Foundation.swift
[14/102] Compiling CryptoSwift String+FoundationExtension.swift
[15/102] Compiling CryptoSwift Utils+Foundation.swift
[16/116] Compiling CryptoSwift CMAC.swift
[17/116] Compiling CryptoSwift Addition.swift
[18/116] Compiling CryptoSwift BigInt.swift
[19/116] Compiling CryptoSwift BigUInt.swift
[20/116] Compiling CryptoSwift BitwiseOps.swift
[21/116] Compiling CryptoSwift CS.swift
[22/116] Compiling CryptoSwift Codable.swift
[23/116] Compiling CryptoSwift Comparable.swift
[24/116] Compiling CryptoSwift DataConversion.swift
[25/116] Compiling CryptoSwift Division.swift
[26/116] Compiling CryptoSwift Exponentiation.swift
[27/116] Compiling CryptoSwift FloatingPointConversion.swift
[28/116] Compiling CryptoSwift GCD.swift
[29/116] Compiling CryptoSwift Hashable.swift
[30/116] Compiling CryptoSwift IntegerConversion.swift
[31/116] Compiling CryptoSwift Multiplication.swift
[32/116] Compiling CryptoSwift PrimeTest.swift
[33/116] Compiling CryptoSwift Random.swift
[34/116] Compiling CryptoSwift Shifts.swift
[35/116] Compiling CryptoSwift SquareRoot.swift
[36/116] Compiling CryptoSwift Strideable.swift
[37/116] Compiling CryptoSwift StringConversion.swift
[38/116] Compiling CryptoSwift Subtraction.swift
[39/116] Compiling CryptoSwift WordsAndBits.swift
[40/116] Compiling CryptoSwift ChaCha20.swift
[41/116] Compiling CryptoSwift Checksum.swift
[42/116] Compiling CryptoSwift Cipher.swift
[43/116] Compiling CryptoSwift Collection+Extension.swift
[44/116] Emitting module CryptoSwift
[45/116] Compiling CryptoSwift Signature.swift
[46/116] Compiling CryptoSwift StreamDecryptor.swift
[47/116] Compiling CryptoSwift StreamEncryptor.swift
[48/116] Compiling CryptoSwift String+Extension.swift
[49/116] Compiling CryptoSwift UInt128.swift
[50/116] Compiling CryptoSwift UInt16+Extension.swift
[51/116] Compiling CryptoSwift UInt32+Extension.swift
[52/116] Compiling CryptoSwift UInt64+Extension.swift
[53/116] Compiling CryptoSwift UInt8+Extension.swift
[54/116] Compiling CryptoSwift Updatable.swift
[55/116] Compiling CryptoSwift Utils.swift
[56/116] Compiling CryptoSwift XChaCha20.swift
[57/116] Compiling CryptoSwift ZeroPadding.swift
[58/116] Compiling CryptoSwift resource_bundle_accessor.swift
[59/116] Compiling CryptoSwift BlockEncryptor.swift
[60/116] Compiling CryptoSwift BlockMode.swift
[61/116] Compiling CryptoSwift BlockModeOptions.swift
[62/116] Compiling CryptoSwift CBC.swift
[63/116] Compiling CryptoSwift CCM.swift
[64/116] Compiling CryptoSwift CFB.swift
[65/116] Compiling CryptoSwift CTR.swift
[66/116] Compiling CryptoSwift CipherModeWorker.swift
[67/116] Compiling CryptoSwift ECB.swift
[68/116] Compiling CryptoSwift GCM.swift
[69/116] Compiling CryptoSwift OCB.swift
[70/116] Compiling CryptoSwift OFB.swift
[71/116] Compiling CryptoSwift PCBC.swift
[72/116] Compiling CryptoSwift Blowfish.swift
[73/116] Compiling CryptoSwift CBCMAC.swift
[74/116] Compiling CryptoSwift AEAD.swift
[75/116] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[76/116] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[77/116] Compiling CryptoSwift AES.Cryptors.swift
[78/116] Compiling CryptoSwift AES.swift
[79/116] Compiling CryptoSwift ASN1.swift
[80/116] Compiling CryptoSwift ASN1Decoder.swift
[81/116] Compiling CryptoSwift ASN1Encoder.swift
[82/116] Compiling CryptoSwift ASN1Scanner.swift
[83/116] Compiling CryptoSwift Array+Extension.swift
[84/116] Compiling CryptoSwift Authenticator.swift
[85/116] Compiling CryptoSwift BatchedCollection.swift
[86/116] Compiling CryptoSwift Bit.swift
[87/116] Compiling CryptoSwift BlockCipher.swift
[88/116] Compiling CryptoSwift BlockDecryptor.swift
[89/116] Compiling CryptoSwift XChaCha20+Foundation.swift
[90/116] Compiling CryptoSwift Generics.swift
[91/116] Compiling CryptoSwift HKDF.swift
[92/116] Compiling CryptoSwift HMAC.swift
[93/116] Compiling CryptoSwift ISO10126Padding.swift
[94/116] Compiling CryptoSwift ISO78164Padding.swift
[95/116] Compiling CryptoSwift Int+Extension.swift
[96/116] Compiling CryptoSwift MD5.swift
[97/116] Compiling CryptoSwift NoPadding.swift
[98/116] Compiling CryptoSwift Operators.swift
[99/116] Compiling CryptoSwift DER.swift
[100/116] Compiling CryptoSwift PBKDF1.swift
[101/116] Compiling CryptoSwift PBKDF2.swift
[102/116] Compiling CryptoSwift PKCS1v15.swift
[103/116] Compiling CryptoSwift PKCS5.swift
[104/116] Compiling CryptoSwift PKCS7.swift
[105/116] Compiling CryptoSwift PKCS7Padding.swift
[106/116] Compiling CryptoSwift Padding.swift
[107/116] Compiling CryptoSwift Poly1305.swift
[108/116] Compiling CryptoSwift RSA+Cipher.swift
[109/116] Compiling CryptoSwift RSA+Signature.swift
[110/116] Compiling CryptoSwift RSA.swift
[111/116] Compiling CryptoSwift Rabbit.swift
[112/116] Compiling CryptoSwift SHA1.swift
[113/116] Compiling CryptoSwift SHA2.swift
[114/116] Compiling CryptoSwift SHA3.swift
[115/116] Compiling CryptoSwift Scrypt.swift
[116/116] Compiling CryptoSwift SecureBytes.swift
[118/124] Compiling ed25519swift ed25519_verify.swift
[119/124] Compiling ed25519swift ed25519_utility.swift
[120/124] Compiling ed25519swift ed25519_sc.swift
[121/124] Compiling ed25519swift ed25519_fe.swift
[122/124] Emitting module ed25519swift
[123/124] Compiling ed25519swift ed25519_ge.swift
[124/124] Compiling ed25519swift ed25519_sign.swift
/host/spi-builder-workspace/Sources/ed25519swift/ed25519_sign.swift:40:22: error: cannot find 'SecRandomCopyBytes' in scope
38 | r = [UInt8](repeating: 0, count: len)
39 | // @note Apple API
40 | let result = SecRandomCopyBytes(kSecRandomDefault, len, &r)
| `- error: cannot find 'SecRandomCopyBytes' in scope
41 | assert(result == 0)
42 | }
/host/spi-builder-workspace/Sources/ed25519swift/ed25519_sign.swift:40:41: error: cannot find 'kSecRandomDefault' in scope
38 | r = [UInt8](repeating: 0, count: len)
39 | // @note Apple API
40 | let result = SecRandomCopyBytes(kSecRandomDefault, len, &r)
| `- error: cannot find 'kSecRandomDefault' in scope
41 | assert(result == 0)
42 | }
BUILD FAILURE 6.1 wasm