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 UInt256 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/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 53950a7 update metadata
Cloned https://github.com/hyugit/UInt256.git
Revision (git rev-parse @):
53950a76fe56f3cb27074dcdb1f534ec28a8483f
SUCCESS checkout https://github.com/hyugit/UInt256.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/hyugit/UInt256.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
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/18] Compiling UInt256 UInt256+BinaryInteger.swift
[6/18] Compiling UInt256 UInt256+Comparable.swift
[7/18] Emitting module UInt256
[8/18] Compiling UInt256 FixedWidthInteger+BarrettDivision.swift
[9/18] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[10/18] Compiling UInt256 UInt256+FixedWidthInteger.swift
[11/18] Compiling UInt256 UInt256+Hashable.swift
[12/18] Compiling UInt256 UInt256+Equatable.swift
[13/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[14/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()
                      ^~~~~~~~~~
[15/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()
                      ^~~~~~~~~~
[16/18] Compiling UInt256 UInt256.swift
[17/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[18/18] Compiling UInt256 UInt256+Divide&Conquer.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling UInt256 UInt256+UnsignedInteger.swift
[3/4] 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()
                      ^~~~~~~~~~
[4/16] Emitting module UInt256
[5/17] Compiling UInt256 UInt256+Numeric.swift
[6/17] Compiling UInt256 UInt256.swift
[7/17] Compiling UInt256 UInt256+Equatable.swift
[8/17] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[9/17] Compiling UInt256 UInt256+Karatsuba.swift
[10/17] Compiling UInt256 UInt256+FixedWidthInteger.swift
[11/17] Compiling UInt256 UInt256+Hashable.swift
[12/17] Compiling UInt256 UInt256+CustomStringConvertible.swift
[13/17] Compiling UInt256 UInt256+Divide&Conquer.swift
[14/17] Compiling UInt256 UInt256+BinaryInteger.swift
[15/17] Compiling UInt256 UInt256+Comparable.swift
[16/17] Compiling UInt256 FixedWidthInteger+BarrettDivision.swift
[17/17] Compiling UInt256 FixedWidthInteger+LongDivision.swift
error: fatalError
BUILD FAILURE 5.10 linux