The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ASN1 with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/ASN1.git
Reference: 2.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/ASN1
 * tag               2.5.0      -> FETCH_HEAD
HEAD is now at 8a5cb6c Release 2.5.0
Cloned https://github.com/leif-ibsen/ASN1.git
Revision (git rev-parse @):
8a5cb6ce9b4a009a5b8d82465caf1aafb720096e
SUCCESS checkout https://github.com/leif-ibsen/ASN1.git at 2.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/leif-ibsen/ASN1.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/leif-ibsen/BigInt
[1/2435] Fetching bigint
Fetched https://github.com/leif-ibsen/BigInt (0.44s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.16.0 (0.75s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.16.0
Building for debugging...
[1/11] Compiling BigInt Karatsuba.swift
[2/11] Compiling BigInt Factorial.swift
[3/11] Compiling BigInt Limbs.swift
[4/12] Compiling BigInt ToomCook.swift
[5/12] Compiling BigInt FFT.swift
[6/12] Compiling BigInt CRT.swift
[7/12] Compiling BigInt ExpMod.swift
[8/12] Compiling BigInt BitSieve.swift
[9/12] Compiling BigInt BurnikelZiegler.swift
[10/12] Emitting module BigInt
[11/12] Compiling BigInt BigFrac.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695: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:1695: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:1695: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:1701: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:1701: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:1701:81: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                                                                ^~~~~~~~~~~~~
[12/12] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695: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:1695: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:1695: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:1701: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:1701: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:1701:81: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                                                                ^~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] Emitting module BigInt
[2/3] Compiling BigInt BigFrac.swift
[3/3] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695: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:1695: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:1695: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:1701: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:1701: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:1701:81: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                                                                ^~~~~~~~~~~~~
[4/12] Compiling BigInt ToomCook.swift
[5/12] Compiling BigInt BitSieve.swift
[6/12] Compiling BigInt BurnikelZiegler.swift
[7/12] Compiling BigInt Karatsuba.swift
[8/12] Compiling BigInt FFT.swift
[9/12] Compiling BigInt Factorial.swift
[10/12] Compiling BigInt ExpMod.swift
[11/12] Compiling BigInt Limbs.swift
[12/12] Compiling BigInt CRT.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1