The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build EllipticCurve, reference master (ed6146), with Swift 6.0 for Linux on 30 Oct 2024 19:52:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyugit/EllipticCurve.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/hyugit/EllipticCurve
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ed61466 Update README.md
Cloned https://github.com/hyugit/EllipticCurve.git
Revision (git rev-parse @):
ed614663535eb487fe0c18e999edec92577e5820
SUCCESS checkout https://github.com/hyugit/EllipticCurve.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/hyugit/EllipticCurve.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/mryu87/UInt256.git
[1/574] Fetching uint256
Fetched https://github.com/mryu87/UInt256.git from cache (0.19s)
Computing version for https://github.com/mryu87/UInt256.git
Computed https://github.com/mryu87/UInt256.git at 0.2.2 (0.41s)
Creating working copy for https://github.com/mryu87/UInt256.git
Working copy of https://github.com/mryu87/UInt256.git resolved at 0.2.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling UInt256 UInt256+Karatsuba.swift
[5/18] Compiling UInt256 UInt256+Numeric.swift
[6/18] Compiling UInt256 UInt256+UnsignedInteger.swift
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 |     func generateRandom(within highBits: UInt32) -> UInt64 {
32 |         let high: UInt32 = arc4random_uniform(highBits)
33 |         let low: UInt32 = arc4random()
   |                           `- error: cannot find 'arc4random' in scope
34 |         let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 |         return result
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
   |                        `- error: cannot find 'arc4random' in scope
67 |     let low: UInt32 = arc4random()
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
67 |     let low: UInt32 = arc4random()
   |                       `- error: cannot find 'arc4random' in scope
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 |     return result
[7/18] Compiling UInt256 UInt256+arc4random.swift
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 |     func generateRandom(within highBits: UInt32) -> UInt64 {
32 |         let high: UInt32 = arc4random_uniform(highBits)
33 |         let low: UInt32 = arc4random()
   |                           `- error: cannot find 'arc4random' in scope
34 |         let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 |         return result
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
   |                        `- error: cannot find 'arc4random' in scope
67 |     let low: UInt32 = arc4random()
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
67 |     let low: UInt32 = arc4random()
   |                       `- error: cannot find 'arc4random' in scope
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 |     return result
[8/19] Compiling UInt256 UInt256+FixedWidthInteger.swift
[9/19] Compiling UInt256 UInt256+Hashable.swift
[10/19] Compiling UInt256 UInt256+Equatable.swift
[11/19] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[12/19] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[13/19] Compiling UInt256 UInt256+BarrettDivision.swift
[14/19] Emitting module UInt256
[15/19] Compiling UInt256 UInt256+BinaryInteger.swift
[16/19] Compiling UInt256 UInt256+Comparable.swift
[17/19] Compiling UInt256 UInt256+CustomStringConvertible.swift
[18/19] Compiling UInt256 UInt256+Divide&Conquer.swift
[19/19] Compiling UInt256 UInt256.swift
BUILD FAILURE 6.0 linux