Build Information
Failed to build SwiftECC, reference 5.4.0 (057330
), with Swift 5.9 for Linux on 16 Sep 2024 13:03:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftECC.git
Reference: 5.4.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/SwiftECC
* tag 5.4.0 -> FETCH_HEAD
HEAD is now at 0573302 Release 5.4.0
Cloned https://github.com/leif-ibsen/SwiftECC.git
Revision (git rev-parse @):
05733024083e9ef1a57f436dc59fe00bdf42d2a2
SUCCESS checkout https://github.com/leif-ibsen/SwiftECC.git at 5.4.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/leif-ibsen/SwiftECC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/ASN1
[1/4265] Fetching bigint
[129/5819] Fetching bigint, digest
[1155/7863] Fetching bigint, digest, asn1
Fetched https://github.com/leif-ibsen/Digest (0.35s)
Fetched https://github.com/leif-ibsen/ASN1 (0.48s)
Fetched https://github.com/leif-ibsen/BigInt (0.49s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.8.0 (0.28s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.19.0 (1.08s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.6.0 (0.94s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.19.0
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.6.0
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.8.0
Building for debugging...
[1/25] Emitting module Digest
[2/25] Compiling Digest Base64.swift
[3/25] Compiling Digest HMAC.swift
[4/25] Compiling Digest SHA1.swift
[5/25] Compiling Digest SHA2.swift
[6/25] Compiling Digest KDF.swift
[7/25] Compiling Digest MD.swift
[8/25] Compiling Digest MT.swift
[9/25] Compiling Digest MT32.swift
[10/25] Compiling BigInt GCD.swift
[11/27] Compiling BigInt Karatsuba.swift
[12/27] Compiling Digest SHAKE.swift
[13/27] Compiling Digest SHA3.swift
[16/27] Compiling BigInt Limbs.swift
[17/27] Compiling Digest XOF.swift
[18/27] Compiling BigInt ToomCook.swift
[19/27] Compiling Digest MT64.swift
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT64.swift:22:15: error: cannot find 'SecRandomCopyBytes' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 8 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT64.swift:22:34: error: cannot find 'kSecRandomDefault' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 8 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT64.swift:22:79: error: cannot find 'errSecSuccess' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 8 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~
[20/27] Compiling Digest MTProtocol.swift
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT64.swift:22:15: error: cannot find 'SecRandomCopyBytes' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 8 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT64.swift:22:34: error: cannot find 'kSecRandomDefault' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 8 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT64.swift:22:79: error: cannot find 'errSecSuccess' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 8 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT32.swift:24:15: error: cannot find 'SecRandomCopyBytes' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 4 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT32.swift:24:34: error: cannot find 'kSecRandomDefault' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 4 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT32.swift:24:79: error: cannot find 'errSecSuccess' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 4 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT32.swift:24:15: error: cannot find 'SecRandomCopyBytes' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 4 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT32.swift:24:34: error: cannot find 'kSecRandomDefault' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 4 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MT32.swift:24:79: error: cannot find 'errSecSuccess' in scope
guard SecRandomCopyBytes(kSecRandomDefault, 4 * seed.count, &seed) == errSecSuccess else {
^~~~~~~~~~~~~
/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 {
^~~~~~~~~~~~~
/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 {
^~~~~~~~~~~~~
[27/27] Emitting module BigInt
error: fatalError
BUILD FAILURE 5.9 linux