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 Genything with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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/justeattakeaway/Genything.git
Reference: main
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/justeattakeaway/Genything
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ebc2021 Swift 5.7 light touch adoption of some new features (#59)
Cloned https://github.com/justeattakeaway/Genything.git
Revision (git rev-parse @):
ebc20216ba67aeb955a9d3b82873e7fc15b70ae6
SUCCESS checkout https://github.com/justeattakeaway/Genything.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/justeattakeaway/Genything.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
[1/1457] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.68s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/13] Write sources
[2/13] Copying LoremData.json
[2/13] Write sources
[6/13] Copying StreetData.json
[7/13] Copying BusinessNamesData.json
[8/13] Copying CityData.json
[9/13] Copying CountryData.json
[9/13] Copying StateData.json
[11/13] Copying PersonNamesData.json
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/66] Emitting module Genything
[15/73] Compiling Genything Generators+compose.swift
[16/73] Compiling Genything Generators+either.swift
[17/73] Compiling Genything Generators+join.swift
[18/73] Compiling Genything Generators+merge.swift
[19/73] Compiling Genything Generators+oneOf.swift
[20/73] Compiling Genything Generators+reduce.swift
[21/73] Compiling Genything Generators+replacing.swift
[22/73] Compiling Genything Generators+switchOnNil.swift
[23/73] Compiling Genything Generator+zip.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[24/73] Compiling Genything Generator+sequence.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[25/73] Compiling Genything Generator+take.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[26/73] Compiling Genything RandomSource+drop.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[27/73] Compiling Genything RandomSource.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[28/73] Compiling Genything LinearCongruentialRandomNumberGenerator.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[29/73] Compiling Genything RandomizedGenerator.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[30/73] Compiling Genything AnyGenerator.swift
[31/73] Compiling Genything CaseIterable+arbitrary.swift
[32/73] Compiling Genything Collection+arbitrary.swift
[33/73] Compiling Genything RandomInRangeable.swift
[34/73] Compiling Genything Range+arbitrary.swift
[35/73] Compiling Genything Arbitrary.swift
[36/73] Compiling Genything CoreLocation+Arbitrary.swift
[37/73] Compiling Genything Foundation+Arbitrary.swift
[38/73] Compiling Genything Generator+orNil.swift
[39/73] Compiling Genything Generator+prepend.swift
[40/73] Compiling Genything Generator+recompose.swift
[41/73] Compiling Genything Generator+regenerate.swift
[42/73] Compiling Genything Generator+replace.swift
[43/73] Compiling Genything Generator+replacingOccurences.swift
[44/73] Compiling Genything Generator+scan.swift
[45/73] Compiling Genything Swift+Arbitrary.swift
[46/73] Compiling Genything UIKit+Arbitrary.swift
[47/73] Compiling Genything UUID+initRandomBits.swift
[48/73] Compiling Genything Composer.swift
[49/73] Compiling Genything Generator.swift
[50/73] Compiling Genything GeneratorProfiler.swift
[51/73] Compiling Genything GeneratorSequence.swift
[52/73] Compiling Genything Generators+collect.swift
[53/73] Compiling Genything Generators.swift
[54/73] Compiling Genything String+replacingOccurences.swift
[55/73] Compiling Genything LazyGenerator.swift
[56/73] Compiling Genything Generator+also.swift
[57/73] Compiling Genything Generator+debug.swift
[58/73] Compiling Genything Generator+distinct.swift
[59/73] Compiling Genything Generator+drop.swift
[60/73] Compiling Genything Generator+expand.swift
[61/73] Compiling Genything Generator+filter.swift
[62/73] Compiling Genything Generator+flatMap.swift
[63/73] Compiling Genything Generator+flatten.swift
[64/73] Compiling Genything Generator+generate.swift
[65/73] Compiling Genything Generator+map.swift
[66/73] Compiling Genything Generator+or.swift
[67/73] Compiling Genything Generators+weighted.swift
[68/73] Compiling Genything Generators+constant.swift
[69/73] Compiling Genything Generators+iterate.swift
[70/73] Compiling Genything Generators+loop.swift
[71/73] Compiling Genything Generators+shuffleLoop.swift
[72/73] Compiling Genything Generators+shuffled.swift
[73/73] Compiling Genything Generators+void.swift
error: fatalError
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Genything RandomSource.swift
/host/spi-builder-workspace/Sources/Genything/Random/RandomSource.swift:59:27: error: cannot find 'arc4random' in scope
        let seed = UInt64(arc4random())
                          ^~~~~~~~~~
[5/11] Compiling Genything RandomizedGenerator.swift
[6/11] Compiling Genything LinearCongruentialRandomNumberGenerator.swift
[7/29] Compiling Genything RandomSource+drop.swift
[8/34] Compiling Genything Generator+sequence.swift
[9/34] Compiling Genything Generator+zip.swift
[10/34] Compiling Genything Generator+take.swift
[11/34] Emitting module Genything
[12/54] Compiling Genything Generators+switchOnNil.swift
[13/54] Compiling Genything Generators+weighted.swift
[14/54] Compiling Genything Generators+constant.swift
[15/54] Compiling Genything Generators+iterate.swift
[16/54] Compiling Genything Generators+loop.swift
[17/55] Compiling Genything Generators+either.swift
[18/55] Compiling Genything Generators+join.swift
[19/55] Compiling Genything Generators+merge.swift
[20/55] Compiling Genything Generators+oneOf.swift
[21/55] Compiling Genything Generators+reduce.swift
[22/55] Compiling Genything Generators+replacing.swift
[23/56] Compiling Genything Composer.swift
[24/56] Compiling Genything Generator.swift
[25/56] Compiling Genything GeneratorProfiler.swift
[26/56] Compiling Genything GeneratorSequence.swift
[27/56] Compiling Genything Generators+collect.swift
[28/56] Compiling Genything Generators+compose.swift
[29/56] Compiling Genything Generator+generate.swift
[30/56] Compiling Genything Generator+map.swift
[31/56] Compiling Genything Generator+or.swift
[32/56] Compiling Genything Generator+orNil.swift
[33/56] Compiling Genything Generator+prepend.swift
[34/56] Compiling Genything Generator+recompose.swift
[35/56] Compiling Genything Generator+regenerate.swift
[36/56] Compiling Genything Generator+replace.swift
[37/56] Compiling Genything Generator+replacingOccurences.swift
[38/56] Compiling Genything Generator+scan.swift
[39/56] Compiling Genything Generators+void.swift
[40/56] Compiling Genything Generators.swift
[41/56] Compiling Genything Generators+shuffleLoop.swift
[42/56] Compiling Genything Generators+shuffled.swift
[43/56] Compiling Genything Generator+also.swift
[44/56] Compiling Genything Generator+debug.swift
[45/56] Compiling Genything Generator+distinct.swift
[46/56] Compiling Genything Generator+drop.swift
[47/56] Compiling Genything Generator+expand.swift
[48/56] Compiling Genything Generator+filter.swift
[49/56] Compiling Genything Generator+flatMap.swift
[50/56] Compiling Genything Generator+flatten.swift
[51/56] Compiling Genything AnyGenerator.swift
[52/56] Compiling Genything CaseIterable+arbitrary.swift
[53/56] Compiling Genything Collection+arbitrary.swift
[54/56] Compiling Genything Range+arbitrary.swift
[55/56] Compiling Genything Foundation+Arbitrary.swift
[56/56] Compiling Genything Swift+Arbitrary.swift
error: fatalError
BUILD FAILURE 5.10 linux