The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Genything with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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: 2.0.0
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
 * tag               2.0.0      -> FETCH_HEAD
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 2.0.0
========================================
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-4606859-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.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.41s)
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
[4/13] Copying StreetData.json
[4/13] Copying StateData.json
[4/13] Copying CountryData.json
[4/13] Copying BusinessNamesData.json
[4/13] Copying CityData.json
[9/13] Copying LoremData.json
[9/13] Write sources
[11/13] Copying PersonNamesData.json
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/66] Emitting module Genything
[15/73] Compiling Genything Generators+weighted.swift
[16/73] Compiling Genything Generators+constant.swift
[17/73] Compiling Genything Generators+iterate.swift
[18/73] Compiling Genything Generators+loop.swift
[19/73] Compiling Genything Generators+shuffleLoop.swift
[20/73] Compiling Genything Generators+shuffled.swift
[21/73] Compiling Genything Generators+void.swift
[22/73] Compiling Genything Generator+expand.swift
[23/73] Compiling Genything Generator+filter.swift
[24/73] Compiling Genything Generator+flatMap.swift
[25/73] Compiling Genything Generator+flatten.swift
[26/73] Compiling Genything Generator+generate.swift
[27/73] Compiling Genything Generator+map.swift
[28/73] Compiling Genything Generator+or.swift
[29/73] Compiling Genything Swift+Arbitrary.swift
[30/73] Compiling Genything UIKit+Arbitrary.swift
[31/73] Compiling Genything UUID+initRandomBits.swift
[32/73] Compiling Genything Composer.swift
[33/73] Compiling Genything Generator.swift
[34/73] Compiling Genything GeneratorProfiler.swift
[35/73] Compiling Genything GeneratorSequence.swift
[36/73] Compiling Genything Generators+collect.swift
[37/73] Compiling Genything Generators.swift
[38/73] Compiling Genything String+replacingOccurences.swift
[39/73] Compiling Genything LazyGenerator.swift
[40/73] Compiling Genything Generator+also.swift
[41/73] Compiling Genything Generator+debug.swift
[42/73] Compiling Genything Generator+distinct.swift
[43/73] Compiling Genything Generator+drop.swift
[44/73] Compiling Genything Generator+orNil.swift
[45/73] Compiling Genything Generator+prepend.swift
[46/73] Compiling Genything Generator+recompose.swift
[47/73] Compiling Genything Generator+regenerate.swift
[48/73] Compiling Genything Generator+replace.swift
[49/73] Compiling Genything Generator+replacingOccurences.swift
[50/73] Compiling Genything Generator+scan.swift
[51/73] Compiling Genything Generators+compose.swift
[52/73] Compiling Genything Generators+either.swift
[53/73] Compiling Genything Generators+join.swift
[54/73] Compiling Genything Generators+merge.swift
[55/73] Compiling Genything Generators+oneOf.swift
[56/73] Compiling Genything Generators+reduce.swift
[57/73] Compiling Genything Generators+replacing.swift
[58/73] Compiling Genything Generators+switchOnNil.swift
[59/73] Compiling Genything AnyGenerator.swift
[60/73] Compiling Genything CaseIterable+arbitrary.swift
[61/73] Compiling Genything Collection+arbitrary.swift
[62/73] Compiling Genything RandomInRangeable.swift
[63/73] Compiling Genything Range+arbitrary.swift
[64/73] Compiling Genything Arbitrary.swift
[65/73] Compiling Genything CoreLocation+Arbitrary.swift
[66/73] Compiling Genything Foundation+Arbitrary.swift
[67/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())
                          ^~~~~~~~~~
[68/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())
                          ^~~~~~~~~~
[69/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())
                          ^~~~~~~~~~
[70/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())
                          ^~~~~~~~~~
[71/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())
                          ^~~~~~~~~~
[72/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())
                          ^~~~~~~~~~
[73/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())
                          ^~~~~~~~~~
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 Generator+take.swift
[5/11] Compiling Genything RandomSource+drop.swift
[6/15] Compiling Genything LinearCongruentialRandomNumberGenerator.swift
[7/15] Compiling Genything RandomizedGenerator.swift
[8/15] 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())
                          ^~~~~~~~~~
[9/21] Compiling Genything Generator+sequence.swift
[10/22] Compiling Genything CaseIterable+arbitrary.swift
[11/22] Compiling Genything Collection+arbitrary.swift
[12/22] Compiling Genything Range+arbitrary.swift
[13/22] Compiling Genything Foundation+Arbitrary.swift
[14/24] Compiling Genything Generator+zip.swift
[15/24] Emitting module Genything
[16/32] Compiling Genything Generator+expand.swift
[17/36] Compiling Genything Generators+either.swift
[18/36] Compiling Genything Generators+replacing.swift
[19/40] Compiling Genything Generators+shuffled.swift
[20/44] Compiling Genything Generators+shuffleLoop.swift
[21/48] Compiling Genything Generators+join.swift
[22/48] Compiling Genything Generators+merge.swift
[23/48] Compiling Genything Generators+oneOf.swift
[24/48] Compiling Genything Generators+reduce.swift
[25/51] Compiling Genything AnyGenerator.swift
[26/51] Compiling Genything Generator.swift
[27/51] Compiling Genything GeneratorSequence.swift
[28/51] Compiling Genything Generators+compose.swift
[29/54] Compiling Genything Generator+generate.swift
[30/54] Compiling Genything Generator+map.swift
[31/54] Compiling Genything Generator+or.swift
[32/54] Compiling Genything Generator+orNil.swift
[33/55] Compiling Genything Generator+prepend.swift
[34/55] Compiling Genything Generator+recompose.swift
[35/55] Compiling Genything Generator+regenerate.swift
[36/56] Compiling Genything Generators+switchOnNil.swift
[37/56] Compiling Genything Generators+weighted.swift
[38/56] Compiling Genything Generators+constant.swift
[39/56] Compiling Genything Generators+iterate.swift
[40/56] Compiling Genything GeneratorProfiler.swift
[41/56] Compiling Genything Generators+collect.swift
[42/56] Compiling Genything Swift+Arbitrary.swift
[43/56] Compiling Genything Composer.swift
[44/56] Compiling Genything Generator+drop.swift
[45/56] Compiling Genything Generator+filter.swift
[46/56] Compiling Genything Generator+flatMap.swift
[47/56] Compiling Genything Generator+flatten.swift
[48/56] Compiling Genything Generators+void.swift
[49/56] Compiling Genything Generators+loop.swift
[50/56] Compiling Genything Generator+also.swift
[51/56] Compiling Genything Generator+debug.swift
[52/56] Compiling Genything Generator+distinct.swift
[53/56] Compiling Genything Generators.swift
[54/56] Compiling Genything Generator+replace.swift
[55/56] Compiling Genything Generator+replacingOccurences.swift
[56/56] Compiling Genything Generator+scan.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1