The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Genything with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/justeattakeaway/Genything.git
Reference: 2.0.0
Cloned https://github.com/justeattakeaway/Genything.git into spi-builder-workspace
SUCCESS checkout https://github.com/justeattakeaway/Genything.git at 2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-plugin
[1/1371] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.38s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (1.23s)
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/9] Copying LoremData.json
[2/9] Copying StateData.json
[3/9] Copying StreetData.json
[4/9] Copying CountryData.json
[4/9] Copying BusinessNamesData.json
[7/9] Copying CityData.json
[8/9] Copying PersonNamesData.json
[10/62] Compiling Genything Generator+orNil.swift
[11/62] Compiling Genything Generator+prepend.swift
[12/62] Compiling Genything Generator+recompose.swift
[13/62] Compiling Genything Generator+regenerate.swift
[14/62] Compiling Genything Generator+replace.swift
[15/62] Compiling Genything Generator+replacingOccurences.swift
[16/62] Compiling Genything Generator+scan.swift
[17/62] Compiling Genything Generators+weighted.swift
[18/62] Compiling Genything Generators+constant.swift
[19/62] Compiling Genything Generators+iterate.swift
[20/62] Compiling Genything Generators+loop.swift
[21/62] Compiling Genything Generators+shuffleLoop.swift
[22/62] Compiling Genything Generators+shuffled.swift
[23/62] Compiling Genything Generators+void.swift
[24/69] Emitting module Genything
[25/69] 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())
                          ^~~~~~~~~~
[26/69] 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())
                          ^~~~~~~~~~
[27/69] 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())
                          ^~~~~~~~~~
[28/69] 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())
                          ^~~~~~~~~~
[29/69] 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())
                          ^~~~~~~~~~
[30/69] 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())
                          ^~~~~~~~~~
[31/69] 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())
                          ^~~~~~~~~~
[32/69] Compiling Genything Generator+expand.swift
[33/69] Compiling Genything Generator+filter.swift
[34/69] Compiling Genything Generator+flatMap.swift
[35/69] Compiling Genything Generator+flatten.swift
[36/69] Compiling Genything Generator+generate.swift
[37/69] Compiling Genything Generator+map.swift
[38/69] Compiling Genything Generator+or.swift
[39/69] Compiling Genything Generators.swift
[40/69] Compiling Genything String+replacingOccurences.swift
[41/69] Compiling Genything LazyGenerator.swift
[42/69] Compiling Genything Generator+also.swift
[43/69] Compiling Genything Generator+debug.swift
[44/69] Compiling Genything Generator+distinct.swift
[45/69] Compiling Genything Generator+drop.swift
[46/69] Compiling Genything Swift+Arbitrary.swift
[47/69] Compiling Genything UIKit+Arbitrary.swift
[48/69] Compiling Genything UUID+initRandomBits.swift
[49/69] Compiling Genything Composer.swift
[50/69] Compiling Genything Generator.swift
[51/69] Compiling Genything GeneratorProfiler.swift
[52/69] Compiling Genything GeneratorSequence.swift
[53/69] Compiling Genything Generators+collect.swift
[54/69] Compiling Genything Generators+compose.swift
[55/69] Compiling Genything Generators+either.swift
[56/69] Compiling Genything Generators+join.swift
[57/69] Compiling Genything Generators+merge.swift
[58/69] Compiling Genything Generators+oneOf.swift
[59/69] Compiling Genything Generators+reduce.swift
[60/69] Compiling Genything Generators+replacing.swift
[61/69] Compiling Genything Generators+switchOnNil.swift
[62/69] Compiling Genything AnyGenerator.swift
[63/69] Compiling Genything CaseIterable+arbitrary.swift
[64/69] Compiling Genything Collection+arbitrary.swift
[65/69] Compiling Genything RandomInRangeable.swift
[66/69] Compiling Genything Range+arbitrary.swift
[67/69] Compiling Genything Arbitrary.swift
[68/69] Compiling Genything CoreLocation+Arbitrary.swift
[69/69] Compiling Genything Foundation+Arbitrary.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2