The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build XcodeProject with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/xcodeproject.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/xcodeproject
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-1":/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/kylef/Commander.git
Fetching https://github.com/bannzai/Swdifft.git
[1/1021] Fetching spectre
[134/2609] Fetching spectre, commander
[1653/2749] Fetching spectre, commander, swdifft
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Fetched https://github.com/bannzai/Swdifft.git from cache (0.24s)
Fetched https://github.com/kylef/Commander.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.45s)
Computing version for https://github.com/bannzai/Swdifft.git
Computed https://github.com/bannzai/Swdifft.git at 1.0.3 (1.34s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (1.33s)
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 Swdifft Swdifft.swift
[8/29] Emitting module Commander
[9/30] Compiling Commander CommandType.swift
[10/30] Compiling Commander Group.swift
[11/30] Compiling Commander Error.swift
[12/30] Emitting module Swdifft
[13/30] Compiling Commander Command.swift
[14/30] Compiling Commander ArgumentParser.swift
[15/30] Compiling Commander CommandRunner.swift
[16/30] Compiling Commander ArgumentConvertible.swift
[17/30] Compiling Commander ArgumentDescription.swift
[18/30] Compiling Swdifft StringExtension.swift
[19/30] Compiling Swdifft Marks.swift
[20/30] Compiling Swdifft InternalDiffFunction.swift
[21/30] Compiling Swdifft Formatter.swift
[22/30] Compiling Swdifft longestCommonSubsequence.swift
[23/31] Wrapping AST for Swdifft for debugging
[25/78] 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)))]
                              ^~~~~~~~~~~~~~~~~~
[26/78] 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)))]
                              ^~~~~~~~~~~~~~~~~~
[27/78] 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)))]
                              ^~~~~~~~~~~~~~~~~~
[28/78] 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)))]
                              ^~~~~~~~~~~~~~~~~~
[29/78] 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)))]
                              ^~~~~~~~~~~~~~~~~~
[30/78] 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)))]
                              ^~~~~~~~~~~~~~~~~~
[31/84] Compiling XcodeProjectCore CollectionExtension.swift
[32/84] Compiling XcodeProjectCore DictionaryExtension.swift
[33/84] Compiling XcodeProjectCore BuildFileExtractor.swift
[34/84] Compiling XcodeProjectCore BuildPhaseExtractor.swift
[35/84] Compiling XcodeProjectCore FileRefExtractor.swift
[36/84] Compiling XcodeProjectCore GroupExtractor.swift
[37/84] Compiling XcodeProjectCore NativeTargetExtractor.swift
[38/84] Compiling XcodeProjectCore ResourcesBuildPhaseExtractor.swift
[39/84] Compiling XcodeProjectCore SourcesBuildPhaseExtractor.swift
[40/84] Compiling XcodeProjectCore FieldFormatter.swift
[41/84] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[42/84] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[43/84] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[44/84] Compiling XcodeProjectCore SinglelineAtomicValueListFieldFormatter.swift
[45/84] Compiling XcodeProjectCore ObjectType.swift
[46/84] Compiling XcodeProjectCore PBXSubscription.swift
[47/84] Compiling XcodeProjectCore PBXProjectParser.swift
[48/84] Compiling XcodeProjectCore XcodeProjectSerializer.swift
[49/84] Compiling XcodeProjectCore AutoMockable.swift
[50/84] Compiling XcodeProjectCore KnownFileExtension.swift
[51/84] Emitting module XcodeProjectCore
[52/84] Compiling XcodeProjectCore BuildFileAppender.swift
[53/84] Compiling XcodeProjectCore BuildPhaseAppender.swift
[54/84] Compiling XcodeProjectCore FileReferenceAppender.swift
[55/84] Compiling XcodeProjectCore GroupAppender.swift
[56/84] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[57/84] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[58/84] Compiling XcodeProjectCore ArrayExtension.swift
[59/84] Compiling Commander Commands.swift
[60/85] Wrapping AST for Commander for debugging
[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 PBXMapFormatter.swift
[69/85] Compiling XcodeProjectCore PBXRawMapFormatter.swift
[70/85] Compiling XcodeProjectCore ObjectRowFormatter.swift
[71/85] Compiling XcodeProjectCore TopRowFormatter.swift
[72/85] Compiling XcodeProjectCore XcodeProjectFormatter.swift
[73/85] Compiling XcodeProjectCore SectionFormatter.swift
[74/85] Compiling XcodeProjectCore SectionRowFormatter.swift
[75/85] Compiling XcodeProjectCore Context.swift
[76/85] Compiling XcodeProjectCore AbstractPBXObject.swift
[77/85] Compiling XcodeProjectCore PBX.swift
[78/85] Compiling XcodeProjectCore PBXType.swift
[79/85] Compiling XcodeProjectCore SecondaryAbstractPBXObject.swift
[80/85] Compiling XcodeProjectCore XC.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling XcodeProjectCore GroupMaker.swift
[3/15] Compiling XcodeProjectCore FileReferenceMaker.swift
[4/16] 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)))]
                              ^~~~~~~~~~~~~~~~~~
[5/16] Compiling XcodeProjectCore BuildFileMaker.swift
[6/18] Compiling XcodeProjectCore BuildPhaseMaker.swift
[7/18] Compiling XcodeProjectCore SerializeFormatter.swift
[8/18] Emitting module XcodeProjectCore
[9/19] Compiling XcodeProjectCore BuildFileAppender.swift
[10/22] Compiling XcodeProjectCore XcodeProject.swift
[11/25] Compiling XcodeProjectCore FileReferenceAppender.swift
[12/27] Compiling XcodeProjectCore GroupAppender.swift
[13/27] Compiling XcodeProjectCore PBX.swift
[14/31] Compiling XcodeProjectCore MultiplelineAtomicValueListFieldFormatter.swift
[15/31] Compiling XcodeProjectCore PBXAtomicValueListFieldFormatter.swift
[16/33] Compiling XcodeProjectCore SinglelineAtomicValueListFieldFormatter.swift
[17/33] Compiling XcodeProjectCore PBXMapFormatter.swift
[18/34] Compiling XcodeProjectCore SecondaryAbstractPBXObject.swift
[19/34] Compiling XcodeProjectCore SourceBuildPhaseAppender.swift
[20/34] Compiling XcodeProjectCore FieldFormatter.swift
[21/34] Compiling XcodeProjectCore PBXAtomicValueFormatter.swift
[22/34] Compiling XcodeProjectCore ResourceBuildPhaseAppender.swift
[23/35] Compiling XcodeProjectCore XcodeProjectSerializer.swift
[24/35] Compiling XcodeProjectCore TopRowFormatter.swift
[25/35] Compiling XcodeProjectCore XcodeProjectFormatter.swift
[26/35] Compiling XcodeProjectCore FileWriter.swift
[27/35] Compiling XcodeProjectCore PBXRawMapFormatter.swift
[28/35] Compiling XcodeProjectCore ObjectRowFormatter.swift
[29/35] Compiling XcodeProjectCore SectionFormatter.swift
[30/35] Compiling XcodeProjectCore SectionRowFormatter.swift
error: fatalError
BUILD FAILURE 5.10 linux