Build Information
Failed to build Kuri 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/bannzai/kuri.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/bannzai/kuri
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4f89c4b Merge pull request #24 from hicka04/fix/install/swiftpm-swift5.3
Cloned https://github.com/bannzai/kuri.git
Revision (git rev-parse @):
4f89c4b56c085e01de8e046bc3af9bbf5021474b
SUCCESS checkout https://github.com/bannzai/kuri.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/bannzai/kuri.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
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/behrang/YamlSwift.git
Fetching https://github.com/bannzai/Swdifft.git
Fetching https://github.com/bannzai/XcodeProject.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/kareman/SwiftShell.git
[1/1588] Fetching commander
[144/5786] Fetching commander, xcodeproject
[202/7170] Fetching commander, xcodeproject, yamlswift
[883/8191] Fetching commander, xcodeproject, yamlswift, spectre
[1671/13054] Fetching commander, xcodeproject, yamlswift, spectre, swiftshell
[1990/13194] Fetching commander, xcodeproject, yamlswift, spectre, swiftshell, swdifft
[9304/12173] Fetching commander, xcodeproject, yamlswift, swiftshell, swdifft
Fetched https://github.com/kylef/Spectre.git from cache (0.51s)
Fetched https://github.com/bannzai/XcodeProject.git from cache (0.51s)
[5398/7975] Fetching commander, yamlswift, swiftshell, swdifft
Fetched https://github.com/behrang/YamlSwift.git from cache (0.52s)
[4257/6591] Fetching commander, swiftshell, swdifft
Fetched https://github.com/bannzai/Swdifft.git from cache (0.51s)
[4166/6451] Fetching commander, swiftshell
Fetched https://github.com/kylef/Commander.git from cache (0.72s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.72s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (1.81s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.47s)
Computing version for https://github.com/bannzai/XcodeProject.git
Computed https://github.com/bannzai/XcodeProject.git at 1.1.1 (0.46s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.38s)
Computing version for https://github.com/bannzai/Swdifft.git
Computed https://github.com/bannzai/Swdifft.git at 1.0.3 (0.38s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (1.59s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.1.0
Creating working copy for https://github.com/behrang/YamlSwift.git
Working copy of https://github.com/behrang/YamlSwift.git resolved at 3.4.4
Creating working copy for https://github.com/bannzai/XcodeProject.git
Working copy of https://github.com/bannzai/XcodeProject.git resolved at 1.1.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/bannzai/Swdifft.git
Working copy of https://github.com/bannzai/Swdifft.git resolved at 1.0.3
warning: 'xcodeproject': The target named 'XcodeProject' was identified as an executable target but a non-executable product with this name already exists.
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/38] Compiling Swdifft Swdifft.swift
[9/38] Compiling Swdifft longestCommonSubsequence.swift
[10/38] Compiling Swdifft StringExtension.swift
[11/38] Compiling SwiftShell Array.swift
[12/39] Compiling Yaml YAMLRegex.swift
[13/39] Compiling Swdifft Marks.swift
[14/39] Compiling SwiftShell Bash.swift
[15/39] Compiling SwiftShell Command.swift
[16/39] Compiling SwiftShell Context.swift
[17/39] Emitting module SwiftShell
[18/39] Compiling Swdifft Formatter.swift
[19/39] Emitting module Swdifft
[20/39] Compiling Swdifft InternalDiffFunction.swift
[21/40] Compiling Yaml Yaml.swift
[22/40] Compiling SwiftShell Lazy-split.swift
[23/40] Compiling SwiftShell Stream.swift
[24/40] Compiling SwiftShell Files.swift
[25/40] Compiling SwiftShell Process.swift
[26/40] Compiling Yaml YAMLResult.swift
[27/40] Compiling Yaml YAMLTokenizer.swift
[29/40] Compiling SwiftShell String.swift
[30/41] Wrapping AST for Swdifft for debugging
[31/59] Wrapping AST for SwiftShell for debugging
[33/82] Emitting module Yaml
[34/82] Compiling Yaml YAMLOperators.swift
[35/82] Compiling Yaml YAMLParser.swift
[36/89] Wrapping AST for Yaml for debugging
[38/89] Emitting module XcodeProjectCore
[39/95] Compiling XcodeProjectCore ObjectType.swift
[40/95] Compiling XcodeProjectCore PBXSubscription.swift
[41/95] Compiling XcodeProjectCore PBXProjectParser.swift
[42/95] Compiling XcodeProjectCore XcodeProjectSerializer.swift
[43/95] Compiling XcodeProjectCore AutoMockable.swift
[44/95] Compiling XcodeProjectCore KnownFileExtension.swift
[45/95] Compiling XcodeProjectCore ResourcesBuildPhaseExtractor.swift
[46/95] Compiling XcodeProjectCore SourcesBuildPhaseExtractor.swift
[47/95] Compiling XcodeProjectCore FieldFormatter.swift
[48/95] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[49/95] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[50/95] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[51/95] Compiling XcodeProjectCore SinglelineAtomicValueListFieldFormatter.swift
[52/95] Compiling XcodeProjectCore CollectionExtension.swift
[53/95] Compiling XcodeProjectCore DictionaryExtension.swift
[54/95] Compiling XcodeProjectCore BuildFileExtractor.swift
[55/95] Compiling XcodeProjectCore BuildPhaseExtractor.swift
[56/95] Compiling XcodeProjectCore FileRefExtractor.swift
[57/95] Compiling XcodeProjectCore GroupExtractor.swift
[58/95] Compiling XcodeProjectCore NativeTargetExtractor.swift
[59/95] Compiling XcodeProjectCore BuildFileAppender.swift
[60/95] Compiling XcodeProjectCore BuildPhaseAppender.swift
[61/95] Compiling XcodeProjectCore FileReferenceAppender.swift
[62/95] Compiling XcodeProjectCore GroupAppender.swift
[63/95] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[64/95] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[65/95] Compiling XcodeProjectCore ArrayExtension.swift
[66/95] Compiling XcodeProjectCore PathComponent.swift
[67/95] Compiling XcodeProjectCore SourceTreeType.swift
[68/95] Compiling XcodeProjectCore FileWriter.swift
[69/95] Compiling XcodeProjectCore XcodeProject.swift
[70/95] Compiling XcodeProjectCore XcodeProjectError.swift
[71/95] Compiling XcodeProjectCore XcodeProjectHelper.swift
[72/95] Compiling XcodeProjectCore PBXMapFormatter.swift
[73/95] Compiling XcodeProjectCore PBXRawMapFormatter.swift
[74/95] Compiling XcodeProjectCore ObjectRowFormatter.swift
[75/95] Compiling XcodeProjectCore TopRowFormatter.swift
[76/95] Compiling XcodeProjectCore XcodeProjectFormatter.swift
[77/95] Compiling XcodeProjectCore SectionFormatter.swift
[78/95] Compiling XcodeProjectCore SectionRowFormatter.swift
[79/95] Compiling XcodeProjectCore Context.swift
[80/95] Compiling XcodeProjectCore AbstractPBXObject.swift
[81/95] Compiling XcodeProjectCore PBX.swift
[82/95] Compiling XcodeProjectCore PBXType.swift
[83/95] Compiling XcodeProjectCore SecondaryAbstractPBXObject.swift
[84/95] Compiling XcodeProjectCore XC.swift
[85/95] Compiling XcodeProjectCore SerializeFormatter.swift
/host/spi-builder-workspace/.build/checkouts/XcodeProject/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[86/95] Compiling XcodeProjectCore StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/XcodeProject/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[87/95] Compiling XcodeProjectCore BuildFileMaker.swift
/host/spi-builder-workspace/.build/checkouts/XcodeProject/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[88/95] Compiling XcodeProjectCore BuildPhaseMaker.swift
/host/spi-builder-workspace/.build/checkouts/XcodeProject/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[89/95] Compiling XcodeProjectCore FileReferenceMaker.swift
/host/spi-builder-workspace/.build/checkouts/XcodeProject/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[90/95] Compiling XcodeProjectCore GroupMaker.swift
/host/spi-builder-workspace/.build/checkouts/XcodeProject/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
error: fatalError
warning: 'xcodeproject': The target named 'XcodeProject' was identified as an executable target but a non-executable product with this name already exists.
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling XcodeProjectCore GroupMaker.swift
[3/13] Compiling XcodeProjectCore FileReferenceMaker.swift
[4/16] Compiling XcodeProjectCore BuildFileMaker.swift
[5/16] Compiling XcodeProjectCore BuildPhaseMaker.swift
[6/18] Emitting module XcodeProjectCore
[7/18] Compiling XcodeProjectCore SerializeFormatter.swift
[8/18] Compiling XcodeProjectCore StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/XcodeProject/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[9/21] Compiling XcodeProjectCore BuildFileAppender.swift
[10/23] Compiling XcodeProjectCore FileReferenceAppender.swift
[11/25] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[12/25] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[13/29] Compiling XcodeProjectCore FieldFormatter.swift
[14/29] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[15/31] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[16/31] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[17/33] Compiling XcodeProjectCore XcodeProject.swift
[18/33] Compiling XcodeProjectCore GroupAppender.swift
[19/33] Compiling XcodeProjectCore PBX.swift
[20/35] Compiling XcodeProjectCore SecondaryAbstractPBXObject.swift
[21/35] Compiling XcodeProjectCore SinglelineAtomicValueListFieldFormatter.swift
[22/35] Compiling XcodeProjectCore PBXMapFormatter.swift
[23/35] Compiling XcodeProjectCore PBXRawMapFormatter.swift
[24/35] Compiling XcodeProjectCore ObjectRowFormatter.swift
[25/35] Compiling XcodeProjectCore TopRowFormatter.swift
[26/35] Compiling XcodeProjectCore XcodeProjectFormatter.swift
[27/35] Compiling XcodeProjectCore FileWriter.swift
[28/35] Compiling XcodeProjectCore XcodeProjectSerializer.swift
[29/35] Compiling XcodeProjectCore SectionFormatter.swift
[30/35] Compiling XcodeProjectCore SectionRowFormatter.swift
error: fatalError
BUILD FAILURE 5.10 linux