The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftKyber, reference main (9dcd9e), with Swift 6.0 for Linux on 22 Apr 2026 13:56:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftKyber.git
Reference: main
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/SwiftKyber
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9dcd9ef Release 3.5.0
Cloned https://github.com/leif-ibsen/SwiftKyber.git
Revision (git rev-parse @):
9dcd9efd90c48f10ad8ec2e6dced43e325625a1a
SUCCESS checkout https://github.com/leif-ibsen/SwiftKyber.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/leif-ibsen/SwiftKyber.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-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
[1846/5020] Fetching asn1, digest
[3855/11771] Fetching asn1, digest, bigint
Fetched https://github.com/leif-ibsen/Digest from cache (1.11s)
Fetched https://github.com/leif-ibsen/ASN1 from cache (1.11s)
Fetched https://github.com/leif-ibsen/BigInt from cache (1.12s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.66s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.23.0 (0.65s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (2.85s)
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/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.23.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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/28] Compiling BigInt BurnikelZiegler.swift
[7/28] Compiling BigInt CRT.swift
[8/29] Compiling Digest SHAKE.swift
[9/30] Compiling Digest MD.swift
[10/30] Compiling Digest SHA1.swift
[11/30] Compiling BigInt Karatsuba.swift
[12/30] Compiling BigInt ExpMod.swift
[13/30] Compiling BigInt FFT.swift
[14/30] Compiling BigInt Factorial.swift
[15/30] Compiling BigInt GCD.swift
[16/30] Compiling BigInt Limbs.swift
[17/30] Compiling Digest SHA3.swift
[18/30] Compiling Digest SHA2.swift
[19/30] Compiling BigInt ToomCook.swift
[20/30] Compiling Digest XOF.swift
[21/30] Compiling BigInt BailliePSW.swift
[22/30] Compiling BigInt BigFrac.swift
[23/30] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:77: error: cannot find 'errSecSuccess' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:15: error: cannot find 'SecRandomCopyBytes' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:34: error: cannot find 'kSecRandomDefault' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:81: error: cannot find 'errSecSuccess' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
[24/30] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:77: error: cannot find 'errSecSuccess' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:15: error: cannot find 'SecRandomCopyBytes' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:34: error: cannot find 'kSecRandomDefault' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:81: error: cannot find 'errSecSuccess' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
[25/30] Emitting module BigInt
[30/30] Emitting module Digest
BUILD FAILURE 6.0 linux