Build Information
Failed to build Kuri 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/bannzai/kuri.git
Reference: 0.5.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/bannzai/kuri
* tag 0.5.0 -> FETCH_HEAD
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 0.5.0
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/bannzai/XcodeProject.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/bannzai/Swdifft.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/behrang/YamlSwift.git
[1/1021] Fetching spectre
[1022/5219] Fetching spectre, xcodeproject
[1274/5359] Fetching spectre, xcodeproject, swdifft
[1792/6743] Fetching spectre, xcodeproject, swdifft, yamlswift
[2252/8331] Fetching spectre, xcodeproject, swdifft, yamlswift, commander
[2799/13194] Fetching spectre, xcodeproject, swdifft, yamlswift, commander, swiftshell
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Fetched https://github.com/bannzai/XcodeProject.git from cache (0.28s)
[4815/7975] Fetching swdifft, yamlswift, commander, swiftshell
Fetched https://github.com/kylef/Commander.git from cache (0.38s)
Fetched https://github.com/bannzai/Swdifft.git from cache (0.38s)
Fetched https://github.com/behrang/YamlSwift.git from cache (0.38s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.38s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (1.06s)
Computing version for https://github.com/behrang/YamlSwift.git
Computed https://github.com/behrang/YamlSwift.git at 3.4.4 (0.38s)
Computing version for https://github.com/bannzai/XcodeProject.git
Computed https://github.com/bannzai/XcodeProject.git at 1.1.1 (0.41s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.40s)
Computing version for https://github.com/bannzai/Swdifft.git
Computed https://github.com/bannzai/Swdifft.git at 1.0.3 (1.35s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (1.11s)
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/bannzai/XcodeProject.git
Working copy of https://github.com/bannzai/XcodeProject.git resolved at 1.1.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
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 SwiftShell Lazy-split.swift
[9/39] Compiling Yaml YAMLOperators.swift
[10/39] Compiling Swdifft Marks.swift
[11/39] Compiling SwiftShell Array.swift
[12/39] Compiling SwiftShell Process.swift
[13/39] Compiling SwiftShell Files.swift
[14/39] Emitting module SwiftShell
[15/39] Compiling Swdifft Formatter.swift
[16/39] Emitting module Swdifft
[17/39] Compiling Swdifft InternalDiffFunction.swift
[18/39] Compiling SwiftShell String.swift
[19/39] Compiling Swdifft longestCommonSubsequence.swift
[20/39] Compiling Swdifft StringExtension.swift
[21/39] Compiling Swdifft Swdifft.swift
[22/39] Compiling SwiftShell Stream.swift
[23/40] Compiling Yaml YAMLTokenizer.swift
[24/40] Compiling Yaml YAMLResult.swift
[25/40] Compiling Yaml Yaml.swift
[26/40] Compiling Yaml YAMLRegex.swift
[27/40] Compiling SwiftShell Bash.swift
[28/40] Compiling SwiftShell Command.swift
[29/40] Compiling SwiftShell Context.swift
[31/41] Wrapping AST for Swdifft for debugging
[32/41] Wrapping AST for SwiftShell for debugging
[34/88] Compiling Yaml YAMLParser.swift
[35/88] Emitting module Yaml
[37/89] 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)))]
^~~~~~~~~~~~~~~~~~
[38/89] 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)))]
^~~~~~~~~~~~~~~~~~
[39/89] 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)))]
^~~~~~~~~~~~~~~~~~
[40/89] 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)))]
^~~~~~~~~~~~~~~~~~
[41/89] 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)))]
^~~~~~~~~~~~~~~~~~
[42/89] 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)))]
^~~~~~~~~~~~~~~~~~
[42/89] Wrapping AST for Yaml for debugging
[44/95] Compiling XcodeProjectCore CollectionExtension.swift
[45/95] Compiling XcodeProjectCore DictionaryExtension.swift
[46/95] Compiling XcodeProjectCore BuildFileExtractor.swift
[47/95] Compiling XcodeProjectCore BuildPhaseExtractor.swift
[48/95] Compiling XcodeProjectCore FileRefExtractor.swift
[49/95] Compiling XcodeProjectCore GroupExtractor.swift
[50/95] Compiling XcodeProjectCore NativeTargetExtractor.swift
[51/95] Compiling XcodeProjectCore BuildFileAppender.swift
[52/95] Compiling XcodeProjectCore BuildPhaseAppender.swift
[53/95] Compiling XcodeProjectCore FileReferenceAppender.swift
[54/95] Compiling XcodeProjectCore GroupAppender.swift
[55/95] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[56/95] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[57/95] Compiling XcodeProjectCore ArrayExtension.swift
[58/95] Compiling XcodeProjectCore ObjectType.swift
[59/95] Compiling XcodeProjectCore PBXSubscription.swift
[60/95] Compiling XcodeProjectCore PBXProjectParser.swift
[61/95] Compiling XcodeProjectCore XcodeProjectSerializer.swift
[62/95] Compiling XcodeProjectCore AutoMockable.swift
[63/95] Compiling XcodeProjectCore KnownFileExtension.swift
[64/95] Compiling XcodeProjectCore PathComponent.swift
[65/95] Compiling XcodeProjectCore SourceTreeType.swift
[66/95] Compiling XcodeProjectCore FileWriter.swift
[67/95] Compiling XcodeProjectCore XcodeProject.swift
[68/95] Compiling XcodeProjectCore XcodeProjectError.swift
[69/95] Compiling XcodeProjectCore XcodeProjectHelper.swift
[70/95] Emitting module XcodeProjectCore
[71/95] Compiling XcodeProjectCore ResourcesBuildPhaseExtractor.swift
[72/95] Compiling XcodeProjectCore SourcesBuildPhaseExtractor.swift
[73/95] Compiling XcodeProjectCore FieldFormatter.swift
[74/95] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[75/95] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[76/95] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[77/95] Compiling XcodeProjectCore SinglelineAtomicValueListFieldFormatter.swift
[78/95] Compiling XcodeProjectCore PBXMapFormatter.swift
[79/95] Compiling XcodeProjectCore PBXRawMapFormatter.swift
[80/95] Compiling XcodeProjectCore ObjectRowFormatter.swift
[81/95] Compiling XcodeProjectCore TopRowFormatter.swift
[82/95] Compiling XcodeProjectCore XcodeProjectFormatter.swift
[83/95] Compiling XcodeProjectCore SectionFormatter.swift
[84/95] Compiling XcodeProjectCore SectionRowFormatter.swift
[85/95] Compiling XcodeProjectCore Context.swift
[86/95] Compiling XcodeProjectCore AbstractPBXObject.swift
[87/95] Compiling XcodeProjectCore PBX.swift
[88/95] Compiling XcodeProjectCore PBXType.swift
[89/95] Compiling XcodeProjectCore SecondaryAbstractPBXObject.swift
[90/95] Compiling XcodeProjectCore XC.swift
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/14] Compiling XcodeProjectCore FileReferenceMaker.swift
[4/16] Compiling XcodeProjectCore BuildPhaseMaker.swift
[5/17] Compiling XcodeProjectCore FileReferenceAppender.swift
[6/18] Compiling XcodeProjectCore XcodeProject.swift
[7/19] Compiling XcodeProjectCore BuildFileMaker.swift
[8/19] 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/19] Compiling XcodeProjectCore SerializeFormatter.swift
[10/19] Emitting module XcodeProjectCore
[11/25] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[12/27] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[13/29] Compiling XcodeProjectCore GroupAppender.swift
[14/29] Compiling XcodeProjectCore PBX.swift
[15/33] Compiling XcodeProjectCore FieldFormatter.swift
[16/33] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[17/33] Compiling XcodeProjectCore BuildFileAppender.swift
[18/33] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[19/33] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[20/33] 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 SectionFormatter.swift
[28/35] Compiling XcodeProjectCore SectionRowFormatter.swift
[29/35] Compiling XcodeProjectCore FileWriter.swift
[30/35] Compiling XcodeProjectCore XcodeProjectSerializer.swift
error: fatalError
BUILD FAILURE 5.10 linux