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 SwiftDilithium, reference 3.5.0 (e5d439), with Swift 5.10 for Linux on 5 Apr 2025 14:29:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/leif-ibsen/SwiftDilithium.git
Reference: 3.5.0
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/SwiftDilithium
 * tag               3.5.0      -> FETCH_HEAD
HEAD is now at e5d4392 Release 3.5.0
Cloned https://github.com/leif-ibsen/SwiftDilithium.git
Revision (git rev-parse @):
e5d4392af75f6c6094e5a15ec90f432eff9eb733
SUCCESS checkout https://github.com/leif-ibsen/SwiftDilithium.git at 3.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/leif-ibsen/SwiftDilithium.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/ASN1
[1/2427] Fetching asn1
[1239/5020] Fetching asn1, digest
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.34s)
[1/5516] Fetching bigint
Fetched https://github.com/leif-ibsen/Digest from cache (0.80s)
Fetched https://github.com/leif-ibsen/BigInt from cache (0.81s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.28s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.30s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (0.91s)
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/27] Compiling BigInt FFT.swift
[7/27] Compiling BigInt Factorial.swift
[8/28] Compiling Digest SHAKE.swift
[9/29] Compiling Digest SHA2.swift
[10/29] Compiling Digest MD.swift
[11/29] Compiling Digest SHA3.swift
[12/29] Compiling BigInt Limbs.swift
[13/29] Emitting module Digest
[14/29] Compiling Digest XOF.swift
[15/29] Compiling BigInt Karatsuba.swift
[16/29] Compiling BigInt GCD.swift
[17/29] Compiling BigInt ToomCook.swift
[18/29] Compiling Digest SHA1.swift
[19/29] Compiling BigInt CRT.swift
[20/29] Compiling BigInt ExpMod.swift
[21/29] Compiling BigInt BitSieve.swift
[22/29] Compiling BigInt BurnikelZiegler.swift
[23/29] Emitting module BigInt
[24/29] Compiling Digest BLAKE.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                                                            ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                                                                ^~~~~~~~~~~~~
[25/29] Compiling Digest Base64.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                                                            ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                                                                ^~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux