Build Information
Failed to build SwiftKyber, reference 3.5.0 (9dcd9e), with Swift 6.2 for Linux on 22 Apr 2026 13:49:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftKyber.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/SwiftKyber
* tag 3.5.0 -> FETCH_HEAD
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 3.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/leif-ibsen/SwiftKyber.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/ASN1
[1/2427] Fetching asn1
[705/5020] Fetching asn1, digest
[2818/11771] Fetching asn1, digest, bigint
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.65s)
[8669/9344] Fetching digest, bigint
Fetched https://github.com/leif-ibsen/Digest from cache (0.66s)
[6279/6751] Fetching bigint
Fetched https://github.com/leif-ibsen/BigInt from cache (1.00s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (1.31s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.23.0 (0.35s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (9.27s)
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
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/28] Emitting module BigInt
[7/29] Compiling BigInt Karatsuba.swift
[8/29] Compiling BigInt BailliePSW.swift
[9/29] Compiling BigInt BigFrac.swift
[10/29] Compiling Digest SHAKE.swift
[11/30] Compiling BigInt BurnikelZiegler.swift
[12/30] Compiling BigInt CRT.swift
[13/30] Compiling BigInt Limbs.swift
[14/30] Compiling Digest SHA1.swift
[15/30] Compiling BigInt ExpMod.swift
[16/30] Compiling BigInt FFT.swift
[17/30] Compiling BigInt Factorial.swift
[18/30] Compiling BigInt GCD.swift
[19/30] Compiling Digest SHA2.swift
[20/30] Compiling Digest SHA3.swift
[21/30] Compiling BigInt ToomCook.swift
[22/30] Compiling Digest XOF.swift
[23/30] Compiling Digest MD.swift
[26/30] Emitting module Digest
[29/31] 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 | }
[30/31] 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 | }
BUILD FAILURE 6.2 linux