Build Information
Failed to build SwiftHPKE, reference main (84800f
), with Swift 6.0 for Linux on 25 Apr 2025 12:39:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftHPKE.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/SwiftHPKE
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 84800fa Release 2.7.0
Cloned https://github.com/leif-ibsen/SwiftHPKE.git
Revision (git rev-parse @):
84800fad96d7e53a34c0da3c8124321eeae8a05c
SUCCESS checkout https://github.com/leif-ibsen/SwiftHPKE.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/leif-ibsen/SwiftHPKE.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/leif-ibsen/ASN1
Fetching https://github.com/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/BigInt
[1/2427] Fetching asn1
[2356/5020] Fetching asn1, digest
[4684/10536] Fetching asn1, digest, bigint
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.51s)
[4414/8109] Fetching digest, bigint
Fetched https://github.com/leif-ibsen/Digest from cache (1.18s)
Fetched https://github.com/leif-ibsen/BigInt from cache (1.19s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (1.50s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.94s)
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/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 BitSieve.swift
[7/27] Compiling BigInt BurnikelZiegler.swift
[8/28] Compiling BigInt Limbs.swift
[9/28] Compiling BigInt Karatsuba.swift
[10/28] Compiling Digest SHA2.swift
[11/28] Compiling Digest SHA3.swift
[12/28] Compiling Digest SHAKE.swift
[13/28] Compiling Digest MD.swift
[14/28] Compiling Digest SHA1.swift
[15/29] Compiling BigInt FFT.swift
[16/29] Compiling BigInt Factorial.swift
[17/29] Compiling BigInt GCD.swift
[18/29] Compiling BigInt CRT.swift
[19/29] Compiling BigInt ExpMod.swift
[20/29] Compiling BigInt ToomCook.swift
[21/29] Compiling Digest XOF.swift
[24/29] Emitting module Digest
[25/29] Compiling BigInt BigFrac.swift
[26/29] Compiling BigInt BigInt.swift
[27/30] 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 | }
BUILD FAILURE 6.0 linux