Build Information
Failed to build UInt256, reference master (a5cd57
), with Swift 5.10 for Linux on 14 Feb 2025 10:23:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path: $PWD
https://github.com/hyugit/UInt256.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling UInt256 UInt256+Karatsuba.swift
[4/17] Compiling UInt256 UInt256+Numeric.swift
[5/17] Compiling UInt256 UInt256+FixedWidthInteger.swift
[6/17] Compiling UInt256 UInt256+Hashable.swift
[7/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[8/18] Compiling UInt256 UInt256+Divide&Conquer.swift
[9/18] Compiling UInt256 UInt256+Equatable.swift
[10/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[11/18] 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()
^~~~~~~~~~
[12/18] 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()
^~~~~~~~~~
[13/18] Emitting module UInt256
[14/18] Compiling UInt256 UInt256+BinaryInteger.swift
[15/18] Compiling UInt256 UInt256+Comparable.swift
[16/18] Compiling UInt256 FixedWidthInteger+BarrettDivision.swift
[17/18] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[18/18] Compiling UInt256 UInt256.swift
error: fatalError
BUILD FAILURE 5.10 linux