Build Information
Failed to build XcodeProject with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/xcodeproject.git
Reference: 1.1.1
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/xcodeproject
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at 7c34203 Merge pull request #17 from bannzai/add/test/group
Cloned https://github.com/bannzai/xcodeproject.git
Revision (git rev-parse @):
7c34203f17c333089376a0b84d568bf9b3b6f971
SUCCESS checkout https://github.com/bannzai/xcodeproject.git at 1.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/bannzai/xcodeproject.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/bannzai/Swdifft.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
[208/2609] Fetching commander, spectre
[420/2749] Fetching commander, spectre, swdifft
Fetched https://github.com/bannzai/Swdifft.git from cache (0.23s)
Fetched https://github.com/kylef/Commander.git from cache (0.24s)
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.0 (0.46s)
Computing version for https://github.com/bannzai/Swdifft.git
Computed https://github.com/bannzai/Swdifft.git at 1.0.3 (1.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (1.31s)
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.0
Creating working copy for https://github.com/bannzai/Swdifft.git
Working copy of https://github.com/bannzai/Swdifft.git resolved at 1.0.3
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/29] Compiling Commander CommandType.swift
[8/30] Compiling Commander Command.swift
[9/30] Compiling Swdifft Swdifft.swift
[10/30] Emitting module Commander
[11/30] Compiling Commander ArgumentConvertible.swift
[12/30] Compiling Commander ArgumentDescription.swift
[13/30] Compiling Commander ArgumentParser.swift
[14/30] Compiling Commander Group.swift
[15/30] Emitting module Swdifft
[16/30] Compiling Commander CommandRunner.swift
[17/30] Compiling Swdifft longestCommonSubsequence.swift
[18/30] Compiling Swdifft Marks.swift
[19/30] Compiling Swdifft StringExtension.swift
[20/30] Compiling Swdifft Formatter.swift
[21/30] Compiling Swdifft InternalDiffFunction.swift
[23/31] Compiling Commander Error.swift
[23/31] Wrapping AST for Swdifft for debugging
[25/78] Compiling XcodeProjectCore BuildFileAppender.swift
[26/78] Compiling XcodeProjectCore BuildPhaseAppender.swift
[27/78] Compiling XcodeProjectCore FileReferenceAppender.swift
[28/78] Compiling XcodeProjectCore GroupAppender.swift
[29/78] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[30/78] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[31/78] Compiling XcodeProjectCore ArrayExtension.swift
[32/84] Compiling XcodeProjectCore ResourcesBuildPhaseExtractor.swift
[33/84] Compiling XcodeProjectCore SourcesBuildPhaseExtractor.swift
[34/84] Compiling XcodeProjectCore FieldFormatter.swift
[35/84] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[36/84] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[37/84] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[38/84] Compiling XcodeProjectCore SinglelineAtomicValueListFieldFormatter.swift
[39/84] Emitting module XcodeProjectCore
[40/84] Compiling XcodeProjectCore ObjectType.swift
[41/84] Compiling XcodeProjectCore PBXSubscription.swift
[42/84] Compiling XcodeProjectCore PBXProjectParser.swift
[43/84] Compiling XcodeProjectCore XcodeProjectSerializer.swift
[44/84] Compiling XcodeProjectCore AutoMockable.swift
[45/84] Compiling XcodeProjectCore KnownFileExtension.swift
[46/84] Compiling XcodeProjectCore CollectionExtension.swift
[47/84] Compiling XcodeProjectCore DictionaryExtension.swift
[48/84] Compiling XcodeProjectCore BuildFileExtractor.swift
[49/84] Compiling XcodeProjectCore BuildPhaseExtractor.swift
[50/84] Compiling XcodeProjectCore FileRefExtractor.swift
[51/84] Compiling XcodeProjectCore GroupExtractor.swift
[52/84] Compiling XcodeProjectCore NativeTargetExtractor.swift
[53/84] Compiling XcodeProjectCore PBXMapFormatter.swift
[54/84] Compiling XcodeProjectCore PBXRawMapFormatter.swift
[55/84] Compiling XcodeProjectCore ObjectRowFormatter.swift
[56/84] Compiling XcodeProjectCore TopRowFormatter.swift
[57/84] Compiling XcodeProjectCore XcodeProjectFormatter.swift
[58/84] Compiling XcodeProjectCore SectionFormatter.swift
[59/84] Compiling XcodeProjectCore SectionRowFormatter.swift
[60/84] Compiling Commander Commands.swift
[62/85] Compiling XcodeProjectCore PathComponent.swift
[63/85] Compiling XcodeProjectCore SourceTreeType.swift
[64/85] Compiling XcodeProjectCore FileWriter.swift
[65/85] Compiling XcodeProjectCore XcodeProject.swift
[66/85] Compiling XcodeProjectCore XcodeProjectError.swift
[67/85] Compiling XcodeProjectCore XcodeProjectHelper.swift
[68/85] Compiling XcodeProjectCore Context.swift
[69/85] Compiling XcodeProjectCore AbstractPBXObject.swift
[70/85] Compiling XcodeProjectCore PBX.swift
[71/85] Compiling XcodeProjectCore PBXType.swift
[72/85] Compiling XcodeProjectCore SecondaryAbstractPBXObject.swift
[73/85] Compiling XcodeProjectCore XC.swift
[74/85] Compiling XcodeProjectCore SerializeFormatter.swift
/host/spi-builder-workspace/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[75/85] Compiling XcodeProjectCore StringGenerator.swift
/host/spi-builder-workspace/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[76/85] Compiling XcodeProjectCore BuildFileMaker.swift
/host/spi-builder-workspace/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[77/85] Compiling XcodeProjectCore BuildPhaseMaker.swift
/host/spi-builder-workspace/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[78/85] Compiling XcodeProjectCore FileReferenceMaker.swift
/host/spi-builder-workspace/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[79/85] Compiling XcodeProjectCore GroupMaker.swift
/host/spi-builder-workspace/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[79/85] Wrapping AST for Commander for debugging
error: fatalError
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling XcodeProjectCore BuildFileMaker.swift
[3/15] Compiling XcodeProjectCore BuildPhaseMaker.swift
[4/16] Compiling XcodeProjectCore GroupMaker.swift
[5/16] Compiling XcodeProjectCore FileReferenceMaker.swift
[6/18] Compiling XcodeProjectCore StringGenerator.swift
/host/spi-builder-workspace/Sources/XcodeProjectCore/Generator/StringGenerator.swift:20:31: error: cannot find 'arc4random_uniform' in scope
result += all[Int(arc4random_uniform(UInt32(all.count)))]
^~~~~~~~~~~~~~~~~~
[7/19] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[8/19] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[9/21] Compiling XcodeProjectCore GroupAppender.swift
[10/21] Compiling XcodeProjectCore SerializeFormatter.swift
[11/21] Emitting module XcodeProjectCore
[12/27] Compiling XcodeProjectCore XcodeProject.swift
[13/29] Compiling XcodeProjectCore FileReferenceAppender.swift
[14/31] Compiling XcodeProjectCore BuildFileAppender.swift
[15/31] Compiling XcodeProjectCore SecondaryAbstractPBXObject.swift
[16/34] Compiling XcodeProjectCore XcodeProjectSerializer.swift
[17/35] Compiling XcodeProjectCore SinglelineAtomicValueListFieldFormatter.swift
[18/35] Compiling XcodeProjectCore PBXMapFormatter.swift
[19/35] Compiling XcodeProjectCore PBX.swift
[20/35] Compiling XcodeProjectCore FieldFormatter.swift
[21/35] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[22/35] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[23/35] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[24/35] Compiling XcodeProjectCore TopRowFormatter.swift
[25/35] Compiling XcodeProjectCore XcodeProjectFormatter.swift
[26/35] Compiling XcodeProjectCore PBXRawMapFormatter.swift
[27/35] Compiling XcodeProjectCore ObjectRowFormatter.swift
[28/35] Compiling XcodeProjectCore FileWriter.swift
[29/35] Compiling XcodeProjectCore SectionFormatter.swift
[30/35] Compiling XcodeProjectCore SectionRowFormatter.swift
error: fatalError
BUILD FAILURE 5.10 linux