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 SwiftRewriter, reference 0.2.0 (5a14df), with Swift 6.0 for Linux on 27 Nov 2024 04:11:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/inamiy/swiftrewriter.git
Reference: 0.2.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/inamiy/swiftrewriter
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 5a14dfc Update README.md
Cloned https://github.com/inamiy/swiftrewriter.git
Revision (git rev-parse @):
5a14dfcc9f005f40f15f6028141b520a9a9a738d
SUCCESS checkout https://github.com/inamiy/swiftrewriter.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/inamiy/swiftrewriter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/apple/swift-syntax.git
[1/591] Fetching curry
[587/2914] Fetching curry, commandant
[2915/4145] Fetching curry, commandant, files
[3063/16592] Fetching curry, commandant, files, swift-snapshot-testing
Fetched https://github.com/thoughtbot/Curry.git from cache (0.22s)
[4177/16001] Fetching commandant, files, swift-snapshot-testing
[16002/82684] Fetching commandant, files, swift-snapshot-testing, swift-syntax
Fetched https://github.com/Carthage/Commandant.git from cache (4.20s)
Fetched https://github.com/JohnSundell/Files.git from cache (4.20s)
Fetched https://github.com/apple/swift-syntax.git from cache (4.25s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.27s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (0.46s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.50s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (2.00s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (1.97s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.47s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.12.0
Creating working copy for https://github.com/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
Creating working copy for https://github.com/JohnSundell/Files.git
Working copy of https://github.com/JohnSundell/Files.git resolved at 2.3.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.18.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/53] Compiling Commandant Result+Additions.swift
[9/54] Compiling Commandant OrderedSet.swift
[10/54] Compiling Commandant Switch.swift
[11/54] Emitting module SwiftSyntax
[12/57] Compiling SwiftSyntax AbsolutePosition.swift
[13/57] Compiling SwiftSyntax ByteTreeDeserialization.swift
[14/57] Compiling SwiftSyntax Diagnostic.swift
[15/57] Compiling SwiftSyntax DiagnosticConsumer.swift
[16/57] Compiling SwiftSyntax SwiftSyntax.swift
[17/57] Compiling SwiftSyntax SwiftcInvocation.swift
[18/57] Compiling SwiftSyntax Syntax.swift
[19/57] Emitting module Commandant
[20/57] Compiling Commandant HelpCommand.swift
[21/57] Compiling Commandant Errors.swift
[26/57] Compiling Commandant Option.swift
/host/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:239:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
237 | 			let components = unwrappedStringValue.split(
238 | 				omittingEmptySubsequences: true,
239 | 				whereSeparator: [",", " "].contains
    |                                `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
240 | 			)
241 | 			var resultValues: [T] = []
_StringProcessing.Collection:3:17: note: where 'C' = 'String.Element' (aka 'Character')
1 | extension Collection where Self.Element : Equatable {
2 |     @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
3 |     public func contains<C>(_ other: C) -> Bool where C : Collection, Self.Element == C.Element
  |                 `- note: where 'C' = 'String.Element' (aka 'Character')
4 | }
[27/57] Compiling SwiftSyntax DiagnosticEngine.swift
[28/57] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
[29/57] Compiling SwiftSyntax LazyNonThreadSafeCache.swift
[30/57] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
[31/57] Compiling SwiftSyntax RawSyntax.swift
[32/57] Compiling SwiftSyntax SourceLength.swift
[33/57] Compiling SwiftSyntax SourcePresence.swift
[34/57] Emitting module Files
[35/57] Compiling Files Files.swift
[36/58] Emitting module Curry
BUILD FAILURE 6.0 linux