The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftECC, reference master (85c529), with Swift 6.0 for Linux on 11 Apr 2025 18:57:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/leif-ibsen/SwiftECC.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/leif-ibsen/SwiftECC
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 85c529c Release 5.5.0
Cloned https://github.com/leif-ibsen/SwiftECC.git
Revision (git rev-parse @):
85c529c9c56b649a8d8edcef60aab3925ab0f69f
SUCCESS checkout https://github.com/leif-ibsen/SwiftECC.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/leif-ibsen/SwiftECC.git
https://github.com/leif-ibsen/SwiftECC.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "asn1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/ASN1"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.21.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/BigInt"
    },
    {
      "identity" : "digest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.13.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/Digest"
    }
  ],
  "manifest_display_name" : "SwiftECC",
  "name" : "SwiftECC",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftECC",
      "targets" : [
        "SwiftECC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftECCTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftECCTests",
      "path" : "Tests/SwiftECCTests",
      "sources" : [
        "BlueTest.swift",
        "BrainpoolTest.swift",
        "CipherTest.swift",
        "CryptoKitTest.swift",
        "DomainTest.swift",
        "ECDHTest.swift",
        "EciesAESGCMTest.swift",
        "EciesChaChaTest.swift",
        "EciesTest.swift",
        "ExceptionTest.swift",
        "FuzzTest.swift",
        "GCMTest.swift",
        "KeysEncryptedTest.swift",
        "KeysTest.swift",
        "PEMTest.swift",
        "PointTest.swift",
        "SignatureDetTest.swift",
        "SignatureTest.swift",
        "Test29.swift",
        "Test4.swift",
        "VerifyTest.swift",
        "ZTest.swift"
      ],
      "target_dependencies" : [
        "SwiftECC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftECC",
      "module_type" : "SwiftTarget",
      "name" : "SwiftECC",
      "path" : "Sources/SwiftECC",
      "product_dependencies" : [
        "BigInt",
        "ASN1",
        "Digest"
      ],
      "product_memberships" : [
        "SwiftECC"
      ],
      "sources" : [
        "Cipher/AES.swift",
        "Cipher/CBCCipher.swift",
        "Cipher/CFBCipher.swift",
        "Cipher/CTRCipher.swift",
        "Cipher/Cipher.swift",
        "Cipher/DeterministicK.swift",
        "Cipher/ECBCipher.swift",
        "Cipher/GCMCipher.swift",
        "Cipher/OFBCipher.swift",
        "Cipher/PBE.swift",
        "Curve.swift",
        "Domain.swift",
        "Domain2/BitVector.swift",
        "Domain2/Domain2.swift",
        "Domain2/EC163.swift",
        "Domain2/EC233.swift",
        "Domain2/EC283.swift",
        "Domain2/EC409.swift",
        "Domain2/EC571.swift",
        "Domain2/Point2.swift",
        "DomainP/BP160.swift",
        "DomainP/BP192.swift",
        "DomainP/BP224.swift",
        "DomainP/BP256.swift",
        "DomainP/BP320.swift",
        "DomainP/BP384.swift",
        "DomainP/BP512.swift",
        "DomainP/DomainP.swift",
        "DomainP/EC192.swift",
        "DomainP/EC224.swift",
        "DomainP/EC256.swift",
        "DomainP/EC384.swift",
        "DomainP/EC521.swift",
        "Exception.swift",
        "Point.swift",
        "PrivateKey.swift",
        "PublicKey.swift",
        "RP.swift",
        "Signature.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/ASN1
[1/2593] Fetching digest
[27/5020] Fetching digest, asn1
[5021/10536] Fetching digest, asn1, bigint
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.51s)
[4359/8109] Fetching digest, bigint
Fetched https://github.com/leif-ibsen/Digest from cache (0.92s)
Fetched https://github.com/leif-ibsen/BigInt from cache (0.93s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.56s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.56s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (2.58s)
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.0
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/27] Emitting module Digest
[7/28] Compiling BigInt FFT.swift
[8/28] Compiling BigInt Factorial.swift
[9/29] Compiling Digest MD.swift
[10/29] Compiling Digest SHAKE.swift
[11/29] Compiling Digest SHA1.swift
[12/29] Compiling BigInt GCD.swift
[13/29] Compiling Digest SHA3.swift
[14/29] Compiling BigInt Karatsuba.swift
[15/29] Compiling BigInt Limbs.swift
[16/29] Compiling Digest SHA2.swift
[17/29] Compiling Digest XOF.swift
[18/29] Compiling BigInt CRT.swift
[19/29] Compiling BigInt ExpMod.swift
[20/29] Compiling Digest HMAC.swift
[21/29] Compiling Digest KDF.swift
[22/29] Compiling BigInt ToomCook.swift
[23/29] Compiling Digest BLAKE.swift
[24/29] Compiling Digest Base64.swift
[25/29] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
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/23] Compiling Digest SHAKE.swift
[3/23] Compiling BigInt BitSieve.swift
[4/23] Compiling BigInt BurnikelZiegler.swift
[5/24] Compiling Digest XOF.swift
[8/25] Compiling BigInt GCD.swift
[9/25] Compiling BigInt FFT.swift
[10/25] Compiling BigInt Factorial.swift
[11/25] Compiling BigInt CRT.swift
[12/25] Compiling BigInt ExpMod.swift
[13/25] Compiling Digest SHA1.swift
[14/25] Compiling Digest MD.swift
[15/25] Compiling BigInt Karatsuba.swift
[16/25] Compiling BigInt Limbs.swift
[17/25] Compiling BigInt ToomCook.swift
[18/25] Compiling Digest SHA3.swift
[19/25] Compiling Digest SHA2.swift
[20/25] Emitting module BigInt
[21/25] Compiling BigInt BigFrac.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
[22/25] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 |     static internal func randomBytes(_ bytes: inout Bytes) {
1696 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1697 |             fatalError("randomBytes failed")
1698 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1702 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1703 |             fatalError("randomLimbs failed")
1704 |         }
[23/25] Emitting module Digest
BUILD FAILURE 6.0 linux