Build Information
Failed to build EllipticCurve with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyugit/EllipticCurve.git
Reference: 0.3.2
Cloned https://github.com/hyugit/EllipticCurve.git into spi-builder-workspace
SUCCESS checkout https://github.com/hyugit/EllipticCurve.git at 0.3.2
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/mryu87/UInt256.git
[1/561] Fetching uint256
Fetched https://github.com/mryu87/UInt256.git (0.20s)
Computing version for https://github.com/mryu87/UInt256.git
Computed https://github.com/mryu87/UInt256.git at 0.2.0 (0.25s)
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...
[1/14] Compiling UInt256 UInt256+Divide&Conquer.swift
[2/14] Compiling UInt256 UInt256+Equatable.swift
[3/14] Emitting module UInt256
[4/15] 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()
^~~~~~~~~~
[5/15] Compiling UInt256 UInt256+Numeric.swift
[6/15] Compiling UInt256 UInt256+UnsignedInteger.swift
[7/15] Compiling UInt256 UInt256+Comparable.swift
[8/15] Compiling UInt256 UInt256+CustomStringConvertible.swift
[9/15] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[10/15] Compiling UInt256 UInt256+FixedWidthInteger.swift
[11/15] Compiling UInt256 UInt256+BarrettDivision.swift
[12/15] Compiling UInt256 UInt256+BinaryInteger.swift
[13/15] Compiling UInt256 UInt256+Hashable.swift
[14/15] Compiling UInt256 UInt256+Karatsuba.swift
[15/15] Compiling UInt256 UInt256.swift
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1