The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ed25519swift, reference 1.2.6 (b14719), with Swift 6.1 for Wasm on 29 May 2025 01:59:13 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/crewshin/ed25519swift.git
Reference: 1.2.6
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
 * tag               1.2.6      -> FETCH_HEAD
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 1.2.6
========================================
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-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/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.82s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (2.83s)
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
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/105] Compiling CryptoSwift CMAC.swift
[6/105] Compiling CryptoSwift Addition.swift
[7/105] Compiling CryptoSwift BigInt.swift
[8/105] Compiling CryptoSwift BigUInt.swift
[9/105] Compiling CryptoSwift BitwiseOps.swift
[10/105] Compiling CryptoSwift CS.swift
[11/105] Compiling CryptoSwift Codable.swift
[12/105] Compiling CryptoSwift Comparable.swift
[13/105] Compiling CryptoSwift DataConversion.swift
[14/105] Compiling CryptoSwift Division.swift
[15/105] Compiling CryptoSwift Exponentiation.swift
[16/105] Compiling CryptoSwift FloatingPointConversion.swift
[17/105] Compiling CryptoSwift GCD.swift
[18/105] Compiling CryptoSwift Hashable.swift
[19/119] Emitting module CryptoSwift
[20/119] Compiling CryptoSwift AEAD.swift
[21/119] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[22/119] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[23/119] Compiling CryptoSwift AES.Cryptors.swift
[24/119] Compiling CryptoSwift AES.swift
[25/119] Compiling CryptoSwift ASN1.swift
[26/119] Compiling CryptoSwift ASN1Decoder.swift
[27/119] Compiling CryptoSwift ASN1Encoder.swift
[28/119] Compiling CryptoSwift ASN1Scanner.swift
[29/119] Compiling CryptoSwift Array+Extension.swift
[30/119] Compiling CryptoSwift Authenticator.swift
[31/119] Compiling CryptoSwift BatchedCollection.swift
[32/119] Compiling CryptoSwift Bit.swift
[33/119] Compiling CryptoSwift BlockCipher.swift
[34/119] Compiling CryptoSwift BlockDecryptor.swift
[35/119] Compiling CryptoSwift Signature.swift
[36/119] Compiling CryptoSwift StreamDecryptor.swift
[37/119] Compiling CryptoSwift StreamEncryptor.swift
[38/119] Compiling CryptoSwift String+Extension.swift
[39/119] Compiling CryptoSwift UInt128.swift
[40/119] Compiling CryptoSwift UInt16+Extension.swift
[41/119] Compiling CryptoSwift UInt32+Extension.swift
[42/119] Compiling CryptoSwift UInt64+Extension.swift
[43/119] Compiling CryptoSwift UInt8+Extension.swift
[44/119] Compiling CryptoSwift Updatable.swift
[45/119] Compiling CryptoSwift Utils.swift
[46/119] Compiling CryptoSwift XChaCha20.swift
[47/119] Compiling CryptoSwift ZeroPadding.swift
[48/119] Compiling CryptoSwift resource_bundle_accessor.swift
[49/119] Compiling CryptoSwift XChaCha20+Foundation.swift
[50/119] Compiling CryptoSwift Generics.swift
[51/119] Compiling CryptoSwift HKDF.swift
[52/119] Compiling CryptoSwift HMAC.swift
[53/119] Compiling CryptoSwift ISO10126Padding.swift
[54/119] Compiling CryptoSwift ISO78164Padding.swift
[55/119] Compiling CryptoSwift Int+Extension.swift
[56/119] Compiling CryptoSwift MD5.swift
[57/119] Compiling CryptoSwift NoPadding.swift
[58/119] Compiling CryptoSwift Operators.swift
[59/119] Compiling CryptoSwift DER.swift
[60/119] Compiling CryptoSwift PBKDF1.swift
[61/119] Compiling CryptoSwift PBKDF2.swift
[62/119] Compiling CryptoSwift PKCS1v15.swift
[63/119] Compiling CryptoSwift BlockEncryptor.swift
[64/119] Compiling CryptoSwift BlockMode.swift
[65/119] Compiling CryptoSwift BlockModeOptions.swift
[66/119] Compiling CryptoSwift CBC.swift
[67/119] Compiling CryptoSwift CCM.swift
[68/119] Compiling CryptoSwift CFB.swift
[69/119] Compiling CryptoSwift CTR.swift
[70/119] Compiling CryptoSwift CipherModeWorker.swift
[71/119] Compiling CryptoSwift ECB.swift
[72/119] Compiling CryptoSwift GCM.swift
[73/119] Compiling CryptoSwift OCB.swift
[74/119] Compiling CryptoSwift OFB.swift
[75/119] Compiling CryptoSwift PCBC.swift
[76/119] Compiling CryptoSwift Blowfish.swift
[77/119] Compiling CryptoSwift CBCMAC.swift
[78/119] Compiling CryptoSwift CompactMap.swift
[79/119] Compiling CryptoSwift Cryptor.swift
[80/119] Compiling CryptoSwift Cryptors.swift
[81/119] Compiling CryptoSwift Digest.swift
[82/119] Compiling CryptoSwift DigestType.swift
[83/119] Compiling CryptoSwift AES+Foundation.swift
[84/119] Compiling CryptoSwift Array+Foundation.swift
[85/119] Compiling CryptoSwift Blowfish+Foundation.swift
[86/119] Compiling CryptoSwift ChaCha20+Foundation.swift
[87/119] Compiling CryptoSwift Data+Extension.swift
[88/119] Compiling CryptoSwift HMAC+Foundation.swift
[89/119] Compiling CryptoSwift Rabbit+Foundation.swift
[90/119] Compiling CryptoSwift String+FoundationExtension.swift
[91/119] Compiling CryptoSwift Utils+Foundation.swift
[92/119] Compiling CryptoSwift IntegerConversion.swift
[93/119] Compiling CryptoSwift Multiplication.swift
[94/119] Compiling CryptoSwift PrimeTest.swift
[95/119] Compiling CryptoSwift Random.swift
[96/119] Compiling CryptoSwift Shifts.swift
[97/119] Compiling CryptoSwift SquareRoot.swift
[98/119] Compiling CryptoSwift Strideable.swift
[99/119] Compiling CryptoSwift StringConversion.swift
[100/119] Compiling CryptoSwift Subtraction.swift
[101/119] Compiling CryptoSwift WordsAndBits.swift
[102/119] Compiling CryptoSwift ChaCha20.swift
[103/119] Compiling CryptoSwift Checksum.swift
[104/119] Compiling CryptoSwift Cipher.swift
[105/119] Compiling CryptoSwift Collection+Extension.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] Compiling ed25519swift ed25519_sc.swift
[125/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 */
[126/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 */
[127/127] Compiling ed25519swift ed25519_fe.swift
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/102] Compiling CryptoSwift IntegerConversion.swift
[3/102] Compiling CryptoSwift Multiplication.swift
[4/102] Compiling CryptoSwift PrimeTest.swift
[5/102] Compiling CryptoSwift Random.swift
[6/102] Compiling CryptoSwift Shifts.swift
[7/102] Compiling CryptoSwift SquareRoot.swift
[8/102] Compiling CryptoSwift Strideable.swift
[9/102] Compiling CryptoSwift StringConversion.swift
[10/102] Compiling CryptoSwift Subtraction.swift
[11/102] Compiling CryptoSwift WordsAndBits.swift
[12/102] Compiling CryptoSwift ChaCha20.swift
[13/102] Compiling CryptoSwift Checksum.swift
[14/102] Compiling CryptoSwift Cipher.swift
[15/102] Compiling CryptoSwift Collection+Extension.swift
[16/102] Compiling CryptoSwift CMAC.swift
[17/102] Compiling CryptoSwift Addition.swift
[18/102] Compiling CryptoSwift BigInt.swift
[19/102] Compiling CryptoSwift BigUInt.swift
[20/102] Compiling CryptoSwift BitwiseOps.swift
[21/102] Compiling CryptoSwift CS.swift
[22/102] Compiling CryptoSwift Codable.swift
[23/102] Compiling CryptoSwift Comparable.swift
[24/102] Compiling CryptoSwift DataConversion.swift
[25/102] Compiling CryptoSwift Division.swift
[26/102] Compiling CryptoSwift Exponentiation.swift
[27/102] Compiling CryptoSwift FloatingPointConversion.swift
[28/102] Compiling CryptoSwift GCD.swift
[29/102] Compiling CryptoSwift Hashable.swift
[30/116] Compiling CryptoSwift BlockEncryptor.swift
[31/116] Compiling CryptoSwift BlockMode.swift
[32/116] Compiling CryptoSwift BlockModeOptions.swift
[33/116] Compiling CryptoSwift CBC.swift
[34/116] Compiling CryptoSwift CCM.swift
[35/116] Compiling CryptoSwift CFB.swift
[36/116] Compiling CryptoSwift CTR.swift
[37/116] Compiling CryptoSwift CipherModeWorker.swift
[38/116] Compiling CryptoSwift ECB.swift
[39/116] Compiling CryptoSwift GCM.swift
[40/116] Compiling CryptoSwift OCB.swift
[41/116] Compiling CryptoSwift OFB.swift
[42/116] Compiling CryptoSwift PCBC.swift
[43/116] Compiling CryptoSwift Blowfish.swift
[44/116] Compiling CryptoSwift CBCMAC.swift
[45/116] Emitting module CryptoSwift
[46/116] Compiling CryptoSwift AEAD.swift
[47/116] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[48/116] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[49/116] Compiling CryptoSwift AES.Cryptors.swift
[50/116] Compiling CryptoSwift AES.swift
[51/116] Compiling CryptoSwift ASN1.swift
[52/116] Compiling CryptoSwift ASN1Decoder.swift
[53/116] Compiling CryptoSwift ASN1Encoder.swift
[54/116] Compiling CryptoSwift ASN1Scanner.swift
[55/116] Compiling CryptoSwift Array+Extension.swift
[56/116] Compiling CryptoSwift Authenticator.swift
[57/116] Compiling CryptoSwift BatchedCollection.swift
[58/116] Compiling CryptoSwift Bit.swift
[59/116] Compiling CryptoSwift BlockCipher.swift
[60/116] Compiling CryptoSwift BlockDecryptor.swift
[61/116] Compiling CryptoSwift Signature.swift
[62/116] Compiling CryptoSwift StreamDecryptor.swift
[63/116] Compiling CryptoSwift StreamEncryptor.swift
[64/116] Compiling CryptoSwift String+Extension.swift
[65/116] Compiling CryptoSwift UInt128.swift
[66/116] Compiling CryptoSwift UInt16+Extension.swift
[67/116] Compiling CryptoSwift UInt32+Extension.swift
[68/116] Compiling CryptoSwift UInt64+Extension.swift
[69/116] Compiling CryptoSwift UInt8+Extension.swift
[70/116] Compiling CryptoSwift Updatable.swift
[71/116] Compiling CryptoSwift Utils.swift
[72/116] Compiling CryptoSwift XChaCha20.swift
[73/116] Compiling CryptoSwift ZeroPadding.swift
[74/116] Compiling CryptoSwift resource_bundle_accessor.swift
[75/116] Compiling CryptoSwift CompactMap.swift
[76/116] Compiling CryptoSwift Cryptor.swift
[77/116] Compiling CryptoSwift Cryptors.swift
[78/116] Compiling CryptoSwift Digest.swift
[79/116] Compiling CryptoSwift DigestType.swift
[80/116] Compiling CryptoSwift AES+Foundation.swift
[81/116] Compiling CryptoSwift Array+Foundation.swift
[82/116] Compiling CryptoSwift Blowfish+Foundation.swift
[83/116] Compiling CryptoSwift ChaCha20+Foundation.swift
[84/116] Compiling CryptoSwift Data+Extension.swift
[85/116] Compiling CryptoSwift HMAC+Foundation.swift
[86/116] Compiling CryptoSwift Rabbit+Foundation.swift
[87/116] Compiling CryptoSwift String+FoundationExtension.swift
[88/116] Compiling CryptoSwift Utils+Foundation.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] Emitting module ed25519swift
[119/124] Compiling ed25519swift ed25519_verify.swift
[120/124] Compiling ed25519swift ed25519_utility.swift
[121/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 |     }
[122/124] Compiling ed25519swift ed25519_sc.swift
[123/124] Compiling ed25519swift ed25519_fe.swift
[124/124] Compiling ed25519swift ed25519_ge.swift
BUILD FAILURE 6.1 wasm