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 Toybox, reference master (b30d04), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 15:53:11 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/giginet/toybox.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giginet/toybox
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b30d04c Merge pull request #30 from giginet/macos-default-template
Cloned https://github.com/giginet/toybox.git
Revision (git rev-parse @):
b30d04ce827d27f4d47bc504fd103cfd391d7b84
SUCCESS checkout https://github.com/giginet/toybox.git at master
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Quick/Nimble.git
[1/2323] Fetching commandant
[2/5143] Fetching commandant, swxmlhash
[3537/19883] Fetching commandant, swxmlhash, quick
[19884/39158] Fetching commandant, swxmlhash, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (2.36s)
Fetched https://github.com/Carthage/Commandant.git from cache (2.36s)
Fetched https://github.com/Quick/Nimble.git from cache (2.36s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (2.36s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.61s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (2.38s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (2.59s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.0.0 (0.57s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.0.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.1
========================================
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": "toybox",
      "name": "Toybox",
      "url": "https://github.com/giginet/toybox.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/toybox",
      "dependencies": [
        {
          "identity": "swxmlhash",
          "name": "SWXMLHash",
          "url": "https://github.com/drmohundro/SWXMLHash.git",
          "version": "4.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWXMLHash",
          "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": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/giginet/toybox.git
[1/1199] Fetching toybox
Fetched https://github.com/giginet/toybox.git from cache (1.07s)
Fetching https://github.com/Carthage/Commandant.git from cache
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetched https://github.com/Carthage/Commandant.git from cache (0.51s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.51s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.02s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.55s)
Creating working copy for https://github.com/giginet/toybox.git
Working copy of https://github.com/giginet/toybox.git resolved at master (b30d04c)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.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
Found 2 product dependencies
  - SWXMLHash
  - Commandant
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/giginet/toybox.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/9] Write sources
[4/9] Write toybox-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/23] Compiling Commandant Result+Additions.swift
[8/24] Compiling SWXMLHash shim.swift
[9/24] Compiling Commandant OrderedSet.swift
[10/24] Compiling Commandant Switch.swift
[11/24] Compiling Commandant HelpCommand.swift
[12/24] Compiling Commandant Argument.swift
[13/24] Compiling Commandant ArgumentParser.swift
[14/24] Emitting module Commandant
[15/24] Compiling Commandant Command.swift
[16/24] Compiling Commandant ArgumentProtocol.swift
[17/24] Compiling Commandant Errors.swift
[18/24] Compiling Commandant Option.swift
/Users/admin/builder/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 | }
[19/24] Emitting module SWXMLHash
[20/24] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
BUILD FAILURE 6.0 macosSpm