Build Information
Failed to build UInt256, reference master (a5cd57
), with Swift 5.9 for Linux on 14 Feb 2025 10:22:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyugit/UInt256.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/UInt256
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a5cd575 Update min and max in UnsignedInteger extension to support Swift 6.0 (#8)
Cloned https://github.com/hyugit/UInt256.git
Revision (git rev-parse @):
a5cd5756244550da79721986ef303cfad3987c75
SUCCESS checkout https://github.com/hyugit/UInt256.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/hyugit/UInt256.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/15] Compiling UInt256 UInt256+Equatable.swift
[2/15] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[3/16] Compiling UInt256 UInt256+BinaryInteger.swift
[4/16] Compiling UInt256 UInt256+Comparable.swift
[5/16] Compiling UInt256 UInt256+CustomStringConvertible.swift
[6/16] Compiling UInt256 UInt256+Divide&Conquer.swift
[7/16] Compiling UInt256 UInt256+Karatsuba.swift
[8/16] Compiling UInt256 UInt256+Numeric.swift
[9/16] Compiling UInt256 UInt256+UnsignedInteger.swift
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
let low: UInt32 = arc4random()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
let high: UInt32 = arc4random()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
let low: UInt32 = arc4random()
^~~~~~~~~~
[10/16] Compiling UInt256 UInt256+arc4random.swift
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
let low: UInt32 = arc4random()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
let high: UInt32 = arc4random()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
let low: UInt32 = arc4random()
^~~~~~~~~~
[11/16] Emitting module UInt256
[12/16] Compiling UInt256 FixedWidthInteger+BarrettDivision.swift
[13/16] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[14/16] Compiling UInt256 UInt256.swift
[15/16] Compiling UInt256 UInt256+FixedWidthInteger.swift
[16/16] Compiling UInt256 UInt256+Hashable.swift
error: fatalError
BUILD FAILURE 5.9 linux