Build Information
Failed to build ASN1, reference master (e38d1b
), with Swift 6.1 for Linux on 29 Apr 2025 19:22:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/ASN1.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e38d1b8 Release 2.7.0
Cloned https://github.com/leif-ibsen/ASN1.git
Revision (git rev-parse @):
e38d1b8b43d8b53ffadde9836f34289176bb7a0c
SUCCESS checkout https://github.com/leif-ibsen/ASN1.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/leif-ibsen/ASN1.git
https://github.com/leif-ibsen/ASN1.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "1.20.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/BigInt"
}
],
"manifest_display_name" : "ASN1",
"name" : "ASN1",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ASN1",
"targets" : [
"ASN1"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ASN1Tests",
"module_type" : "SwiftTarget",
"name" : "ASN1Tests",
"path" : "Tests/ASN1Tests",
"sources" : [
"ASN1Tests.swift",
"ErrorTests.swift",
"PerformanceTest.swift"
],
"target_dependencies" : [
"ASN1"
],
"type" : "test"
},
{
"c99name" : "ASN1",
"module_type" : "SwiftTarget",
"name" : "ASN1",
"path" : "Sources/ASN1",
"product_dependencies" : [
"BigInt"
],
"product_memberships" : [
"ASN1"
],
"sources" : [
"ASN1.swift",
"ASN1BMPString.swift",
"ASN1BitString.swift",
"ASN1Boolean.swift",
"ASN1Collection.swift",
"ASN1Ctx.swift",
"ASN1Exception.swift",
"ASN1GeneralizedTime.swift",
"ASN1IA5String.swift",
"ASN1Integer.swift",
"ASN1Null.swift",
"ASN1ObjectIdentifier.swift",
"ASN1OctetString.swift",
"ASN1PrintableString.swift",
"ASN1Sequence.swift",
"ASN1Set.swift",
"ASN1SimpleType.swift",
"ASN1T61String.swift",
"ASN1Time.swift",
"ASN1UTCTime.swift",
"ASN1UTF8String.swift",
"InputStream.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/leif-ibsen/BigInt
[1/5516] Fetching bigint
Fetched https://github.com/leif-ibsen/BigInt from cache (0.98s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (1.54s)
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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/15] Compiling BigInt Limbs.swift
[5/16] Compiling BigInt Karatsuba.swift
[6/16] Compiling BigInt GCD.swift
[7/16] Compiling BigInt FFT.swift
[8/16] Compiling BigInt Factorial.swift
[9/16] Compiling BigInt ToomCook.swift
[10/16] Emitting module BigInt
[11/16] Compiling BigInt CRT.swift
[12/16] Compiling BigInt ExpMod.swift
[13/16] Compiling BigInt BitSieve.swift
[14/16] Compiling BigInt BurnikelZiegler.swift
[15/16] Compiling BigInt BigFrac.swift
/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 | }
[16/16] Compiling BigInt BigInt.swift
/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling BigInt Karatsuba.swift
[3/13] Compiling BigInt GCD.swift
[4/14] Compiling BigInt CRT.swift
[5/14] Compiling BigInt ExpMod.swift
[6/14] Compiling BigInt FFT.swift
[7/14] Compiling BigInt Factorial.swift
[8/14] Compiling BigInt ToomCook.swift
[9/14] Compiling BigInt Limbs.swift
[10/14] Compiling BigInt BitSieve.swift
[11/14] Compiling BigInt BurnikelZiegler.swift
[12/14] Emitting module BigInt
[13/14] Compiling BigInt BigFrac.swift
/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 | }
[14/14] Compiling BigInt BigInt.swift
/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.1 linux