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 macOS (SPM) on 27 Nov 2024 04:17:31 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/thoughtbot/Curry.git
Fetching https://github.com/JohnSundell/Files.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/Quick/Nimble.git
[1/2323] Fetching commandant
[2/3554] Fetching commandant, files
[173/6087] Fetching commandant, files, result
[174/18534] Fetching commandant, files, result, swift-snapshot-testing
[601/19125] Fetching commandant, files, result, swift-snapshot-testing, curry
Fetched https://github.com/thoughtbot/Curry.git from cache (0.93s)
Fetching https://github.com/Quick/Quick.git
[5159/18534] Fetching commandant, files, result, swift-snapshot-testing
Fetched https://github.com/antitypical/Result.git from cache (1.03s)
[4177/16001] Fetching commandant, files, swift-snapshot-testing
[7787/82684] Fetching commandant, files, swift-snapshot-testing, swift-syntax
[7790/101959] Fetching commandant, files, swift-snapshot-testing, swift-syntax, nimble
[7791/116699] Fetching commandant, files, swift-snapshot-testing, swift-syntax, nimble, quick
Fetched https://github.com/Quick/Quick.git from cache (2.01s)
[86696/101959] Fetching commandant, files, swift-snapshot-testing, swift-syntax, nimble
Fetched https://github.com/Quick/Nimble.git from cache (5.07s)
Fetched https://github.com/JohnSundell/Files.git from cache (5.07s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.07s)
Fetched https://github.com/Carthage/Commandant.git from cache (5.07s)
Fetched https://github.com/apple/swift-syntax.git from cache (5.07s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.4.0 (2.33s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (2.33s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (0.54s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.15.0 (0.57s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.59s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.4 (0.57s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.4 (0.57s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (0.58s)
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.15.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.4.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/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.4
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.4
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftrewriter",
      "name": "SwiftRewriter",
      "url": "https://github.com/inamiy/swiftrewriter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftrewriter",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "SwiftSyntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "0.50000.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        },
        {
          "identity": "commandant",
          "name": "Commandant",
          "url": "https://github.com/Carthage/Commandant.git",
          "version": "0.18.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commandant",
          "dependencies": [
          ]
        },
        {
          "identity": "curry",
          "name": "Curry",
          "url": "https://github.com/thoughtbot/Curry.git",
          "version": "4.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Curry",
          "dependencies": [
          ]
        },
        {
          "identity": "files",
          "name": "Files",
          "url": "https://github.com/JohnSundell/Files.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-snapshot-testing",
          "name": "swift-snapshot-testing",
          "url": "https://github.com/pointfreeco/swift-snapshot-testing",
          "version": "1.12.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/inamiy/swiftrewriter.git
[1/491] Fetching swiftrewriter
Fetched https://github.com/inamiy/swiftrewriter.git from cache (0.76s)
Fetching https://github.com/JohnSundell/Files.git from cache
Fetching https://github.com/Carthage/Commandant.git from cache
Fetching https://github.com/apple/swift-syntax.git from cache
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
Fetching https://github.com/thoughtbot/Curry.git from cache
Fetched https://github.com/JohnSundell/Files.git from cache (0.47s)
Fetched https://github.com/thoughtbot/Curry.git from cache (0.92s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.92s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (0.92s)
Fetched https://github.com/apple/swift-syntax.git from cache (0.92s)
Computing version for https://github.com/thoughtbot/Curry.git
Computed https://github.com/thoughtbot/Curry.git at 4.0.2 (0.03s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50000.0 (0.02s)
Computing version for https://github.com/JohnSundell/Files.git
Computed https://github.com/JohnSundell/Files.git at 2.3.0 (0.02s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.54s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.12.0 (0.54s)
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/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50000.0
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/thoughtbot/Curry.git
Working copy of https://github.com/thoughtbot/Curry.git resolved at 4.0.2
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/inamiy/swiftrewriter.git
Working copy of https://github.com/inamiy/swiftrewriter.git resolved at 0.2.0 (5a14dfc)
warning: '.resolve-product-dependencies': dependency 'swiftrewriter' is not used by any target
Found 5 product dependencies
  - SwiftSyntax
  - Commandant
  - Curry
  - Files
  - swift-snapshot-testing
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/inamiy/swiftrewriter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/12] Write sources
[4/12] Write swift-rewriter-entitlement.plist
[8/12] Write swift-version--7754E27361AE5C74.txt
[10/46] Compiling Result Result.swift
[11/46] Compiling Result ResultProtocol.swift
[12/46] Compiling Result NoError.swift
[13/46] Emitting module Result
[14/46] Compiling Result AnyError.swift
[15/46] Compiling SwiftSyntax AbsolutePosition.swift
[16/46] Compiling SwiftSyntax ByteTreeDeserialization.swift
[17/46] Compiling SwiftSyntax Diagnostic.swift
[18/48] Compiling Files Files.swift
[19/48] Emitting module Files
[20/58] Compiling Commandant Switch.swift
[21/58] Compiling Commandant OrderedSet.swift
[22/58] Emitting module Commandant
[23/58] Compiling Commandant Argument.swift
[24/58] Compiling Commandant Errors.swift
[25/58] Compiling Commandant Command.swift
[26/58] Compiling Commandant ArgumentProtocol.swift
[27/58] Compiling Commandant HelpCommand.swift
[28/58] Compiling Commandant ArgumentParser.swift
[29/58] Compiling Commandant Option.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Commandant/Sources/Commandant/Option.swift:240:32: error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
238 | 			let components = unwrappedStringValue.split(
239 | 				omittingEmptySubsequences: true,
240 | 				whereSeparator: [",", " "].contains
    |                                `- error: instance method 'contains' requires that 'String.Element' (aka 'Character') conform to 'Collection'
241 | 			)
242 | 			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 | }
[30/58] Emitting module Curry
BUILD FAILURE 6.0 macosSpm