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 with Swift 5.10 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyugit/EllipticCurve.git
Reference: 0.3.2
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
 * tag               0.3.2      -> FETCH_HEAD
HEAD is now at 4ef14cb fix type miscasting (#4)
Cloned https://github.com/hyugit/EllipticCurve.git
Revision (git rev-parse @):
4ef14cbde93db6d535c271a7f1aeccaf9d50b961
SUCCESS checkout https://github.com/hyugit/EllipticCurve.git at 0.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/hyugit/EllipticCurve.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/mryu87/UInt256.git
[1/561] Fetching uint256
Fetched https://github.com/mryu87/UInt256.git from cache (0.22s)
Computing version for https://github.com/mryu87/UInt256.git
Computed https://github.com/mryu87/UInt256.git at 0.2.0 (0.39s)
Creating working copy for https://github.com/mryu87/UInt256.git
Working copy of https://github.com/mryu87/UInt256.git resolved at 0.2.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling UInt256 UInt256+Divide&Conquer.swift
[5/17] Compiling UInt256 UInt256+Equatable.swift
[6/18] Compiling UInt256 UInt256+Hashable.swift
[7/18] Compiling UInt256 UInt256+Karatsuba.swift
[8/18] Compiling UInt256 UInt256+Comparable.swift
[9/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[10/18] Emitting module UInt256
[11/18] Compiling UInt256 UInt256+BarrettDivision.swift
[12/18] Compiling UInt256 UInt256+BinaryInteger.swift
[13/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[14/18] Compiling UInt256 UInt256+FixedWidthInteger.swift
[15/18] Compiling UInt256 UInt256+Numeric.swift
[16/18] Compiling UInt256 UInt256+UnsignedInteger.swift
[17/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
        let low: UInt32 = arc4random()
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
    let high: UInt32 = arc4random()
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
    let low: UInt32 = arc4random()
                      ^~~~~~~~~~
[18/18] Compiling UInt256 UInt256.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module UInt256
[3/3] Compiling UInt256 UInt256+arc4random.swift
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
        let low: UInt32 = arc4random()
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
    let high: UInt32 = arc4random()
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
    let low: UInt32 = arc4random()
                      ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux