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, reference master (a5cd57), with Swift 6.0 for Linux on 14 Feb 2025 10:23:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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:             6.0
Building package at path:  $PWD
https://github.com/hyugit/UInt256.git
https://github.com/hyugit/UInt256.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "UInt256",
  "name" : "UInt256",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "UInt256",
      "targets" : [
        "UInt256"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UInt256Tests",
      "module_type" : "SwiftTarget",
      "name" : "UInt256Tests",
      "path" : "Tests",
      "sources" : [
        "Arithmetics.swift",
        "BinaryOperations.swift",
        "LinuxMain.swift",
        "PerformanceTests.swift",
        "UInt256Tests.swift"
      ],
      "target_dependencies" : [
        "UInt256"
      ],
      "type" : "test"
    },
    {
      "c99name" : "UInt256",
      "module_type" : "SwiftTarget",
      "name" : "UInt256",
      "path" : "Sources",
      "product_memberships" : [
        "UInt256"
      ],
      "sources" : [
        "FixedWidthInteger+BarrettDivision.swift",
        "FixedWidthInteger+LongDivision.swift",
        "UInt256+BinaryInteger.swift",
        "UInt256+Comparable.swift",
        "UInt256+CustomStringConvertible.swift",
        "UInt256+Divide&Conquer.swift",
        "UInt256+Equatable.swift",
        "UInt256+ExpressibleByIntegerLiteral.swift",
        "UInt256+FixedWidthInteger.swift",
        "UInt256+Hashable.swift",
        "UInt256+Karatsuba.swift",
        "UInt256+Numeric.swift",
        "UInt256+UnsignedInteger.swift",
        "UInt256+arc4random.swift",
        "UInt256.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling UInt256 UInt256+UnsignedInteger.swift
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 |     func generateRandom(within highBits: UInt32) -> UInt64 {
32 |         let high: UInt32 = arc4random_uniform(highBits)
33 |         let low: UInt32 = arc4random()
   |                           `- error: cannot find 'arc4random' in scope
34 |         let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 |         return result
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
   |                        `- error: cannot find 'arc4random' in scope
67 |     let low: UInt32 = arc4random()
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
67 |     let low: UInt32 = arc4random()
   |                       `- error: cannot find 'arc4random' in scope
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 |     return result
[4/17] Compiling UInt256 UInt256+arc4random.swift
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 |     func generateRandom(within highBits: UInt32) -> UInt64 {
32 |         let high: UInt32 = arc4random_uniform(highBits)
33 |         let low: UInt32 = arc4random()
   |                           `- error: cannot find 'arc4random' in scope
34 |         let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 |         return result
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
   |                        `- error: cannot find 'arc4random' in scope
67 |     let low: UInt32 = arc4random()
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
67 |     let low: UInt32 = arc4random()
   |                       `- error: cannot find 'arc4random' in scope
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 |     return result
[5/18] Emitting module UInt256
[6/18] Compiling UInt256 FixedWidthInteger+BarrettDivision.swift
[7/18] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[8/18] Compiling UInt256 UInt256+BinaryInteger.swift
[9/18] Compiling UInt256 UInt256+Comparable.swift
[10/18] Compiling UInt256 UInt256.swift
[11/18] Compiling UInt256 UInt256+FixedWidthInteger.swift
[12/18] Compiling UInt256 UInt256+Hashable.swift
[13/18] Compiling UInt256 UInt256+Equatable.swift
[14/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[15/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[16/18] Compiling UInt256 UInt256+Divide&Conquer.swift
[17/18] Compiling UInt256 UInt256+Karatsuba.swift
[18/18] Compiling UInt256 UInt256+Numeric.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling UInt256 UInt256+Equatable.swift
[3/16] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[4/17] Compiling UInt256 UInt256+CustomStringConvertible.swift
[5/17] Compiling UInt256 UInt256+Divide&Conquer.swift
[6/17] Compiling UInt256 UInt256+FixedWidthInteger.swift
[7/17] Compiling UInt256 UInt256+Hashable.swift
[8/17] Compiling UInt256 UInt256+Karatsuba.swift
[9/17] Compiling UInt256 UInt256+Numeric.swift
[10/17] Compiling UInt256 UInt256+UnsignedInteger.swift
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 |     func generateRandom(within highBits: UInt32) -> UInt64 {
32 |         let high: UInt32 = arc4random_uniform(highBits)
33 |         let low: UInt32 = arc4random()
   |                           `- error: cannot find 'arc4random' in scope
34 |         let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 |         return result
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
   |                        `- error: cannot find 'arc4random' in scope
67 |     let low: UInt32 = arc4random()
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
67 |     let low: UInt32 = arc4random()
   |                       `- error: cannot find 'arc4random' in scope
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 |     return result
[11/17] Compiling UInt256 UInt256+arc4random.swift
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:33:27: error: cannot find 'arc4random' in scope
31 |     func generateRandom(within highBits: UInt32) -> UInt64 {
32 |         let high: UInt32 = arc4random_uniform(highBits)
33 |         let low: UInt32 = arc4random()
   |                           `- error: cannot find 'arc4random' in scope
34 |         let result: UInt64 = UInt64(high) << 32 + UInt64(low)
35 |         return result
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:66:24: error: cannot find 'arc4random' in scope
64 |
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
   |                        `- error: cannot find 'arc4random' in scope
67 |     let low: UInt32 = arc4random()
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
/host/spi-builder-workspace/Sources/UInt256+arc4random.swift:67:23: error: cannot find 'arc4random' in scope
65 | func arc4random64() -> UInt64 {
66 |     let high: UInt32 = arc4random()
67 |     let low: UInt32 = arc4random()
   |                       `- error: cannot find 'arc4random' in scope
68 |     let result: UInt64 = UInt64(high) << 32 + UInt64(low)
69 |     return result
[12/17] Compiling UInt256 UInt256.swift
[13/17] Compiling UInt256 UInt256+BinaryInteger.swift
[14/17] Compiling UInt256 UInt256+Comparable.swift
[15/17] Compiling UInt256 FixedWidthInteger+BarrettDivision.swift
[16/17] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[17/17] Emitting module UInt256
BUILD FAILURE 6.0 linux