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

Successful build of Toybox, reference 2.1.0 (413f79), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 16:21:48 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giginet/toybox.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giginet/toybox
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 413f796 Update Formula
Cloned https://github.com/giginet/toybox.git
Revision (git rev-parse @):
413f796b9ec729967127dc2f92cd60399729a267
SUCCESS checkout https://github.com/giginet/toybox.git at 2.1.0
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/2329] Fetching commandant
[141/5149] Fetching commandant, swxmlhash
[3769/24716] Fetching commandant, swxmlhash, nimble
[5010/39471] Fetching commandant, swxmlhash, nimble, quick
Fetched https://github.com/Quick/Nimble.git from cache (1.69s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.69s)
Fetched https://github.com/Quick/Quick.git from cache (1.69s)
Fetched https://github.com/Carthage/Commandant.git from cache (1.69s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (2.24s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.60s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (2.60s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.0.0 (0.56s)
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
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/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 (0.91s)
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetching https://github.com/Carthage/Commandant.git from cache
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.48s)
Fetched https://github.com/Carthage/Commandant.git from cache (0.48s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 4.9.0 (0.54s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.18.0 (0.57s)
Creating working copy for https://github.com/giginet/toybox.git
Working copy of https://github.com/giginet/toybox.git resolved at 2.1.0 (413f796)
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 4.9.0
Found 2 product dependencies
  - SWXMLHash
  - Commandant
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/giginet/toybox.git
https://github.com/giginet/toybox.git
{
  "dependencies" : [
    {
      "identity" : "swxmlhash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.9.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drmohundro/SWXMLHash.git"
    },
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    }
  ],
  "manifest_display_name" : "Toybox",
  "name" : "Toybox",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "toybox",
      "targets" : [
        "toybox"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ToyboxKit",
      "targets" : [
        "ToyboxKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "toybox",
      "module_type" : "SwiftTarget",
      "name" : "toybox",
      "path" : "Sources/toybox",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "toybox"
      ],
      "sources" : [
        "Commands/Create.swift",
        "Commands/List.swift",
        "Commands/Open.swift",
        "Commands/Root.swift",
        "Commands/Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ToyboxKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ToyboxKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ToyboxKitTests",
      "path" : "Tests/ToyboxKitTests",
      "sources" : [
        "HandlerTests.swift",
        "PlaygroundTests.swift"
      ],
      "target_dependencies" : [
        "toybox"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ToyboxKit",
      "module_type" : "SwiftTarget",
      "name" : "ToyboxKit",
      "path" : "Sources/ToyboxKit",
      "product_dependencies" : [
        "Commandant",
        "SWXMLHash"
      ],
      "product_memberships" : [
        "toybox",
        "ToyboxKit"
      ],
      "sources" : [
        "Errors.swift",
        "Handler.swift",
        "Playground.swift",
        "PlaygroundBuilder.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[7/23] Compiling Commandant Result+Additions.swift
[8/24] Compiling Commandant Switch.swift
[9/24] Compiling Commandant Argument.swift
[10/24] Emitting module Commandant
[11/24] Compiling Commandant ArgumentProtocol.swift
[12/24] Compiling Commandant OrderedSet.swift
[13/24] Compiling Commandant Command.swift
[14/24] Compiling Commandant ArgumentParser.swift
[15/24] Compiling Commandant HelpCommand.swift
[16/24] Compiling Commandant Errors.swift
[17/24] Compiling SWXMLHash SWXMLHash.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.contains:3:15: note: where 'C' = 'String.Element' (aka 'Character')
1 | protocol Collection {
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] Compiling SWXMLHash shim.swift
[20/24] Emitting module SWXMLHash
[21/24] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/18] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[3/18] Compiling SWXMLHash shim.swift
[4/18] Compiling Commandant OrderedSet.swift
[5/18] Compiling Commandant Result+Additions.swift
[6/18] Compiling Commandant Option.swift
[7/19] Compiling Commandant Errors.swift
[8/19] Compiling Commandant HelpCommand.swift
[9/19] Compiling Commandant ArgumentProtocol.swift
[10/19] Compiling Commandant Argument.swift
[11/19] Emitting module Commandant
[12/19] Compiling Commandant ArgumentParser.swift
[13/19] Compiling Commandant Command.swift
[14/19] Compiling Commandant Switch.swift
[15/19] Compiling SWXMLHash SWXMLHash.swift
[16/19] Emitting module SWXMLHash
[17/25] Compiling ToyboxKit PlaygroundBuilder.swift
[18/25] Compiling ToyboxKit Version.swift
[19/25] Compiling ToyboxKit Playground.swift
[20/25] Emitting module ToyboxKit
[21/25] Compiling ToyboxKit Handler.swift
[22/25] Compiling ToyboxKit Errors.swift
[23/32] Compiling toybox Version.swift
[24/32] Compiling toybox Root.swift
[25/32] Emitting module toybox
[26/32] Compiling toybox main.swift
[27/32] Compiling toybox Open.swift
[28/32] Compiling toybox List.swift
[29/32] Compiling toybox Create.swift
[29/32] Write Objects.LinkFileList
[30/32] Linking toybox
[31/32] Applying toybox
Build complete! (6.15s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swxmlhash",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.9.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/drmohundro/SWXMLHash.git"
    },
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant.git"
    }
  ],
  "manifest_display_name" : "Toybox",
  "name" : "Toybox",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "toybox",
      "targets" : [
        "toybox"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ToyboxKit",
      "targets" : [
        "ToyboxKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "toybox",
      "module_type" : "SwiftTarget",
      "name" : "toybox",
      "path" : "Sources/toybox",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "toybox"
      ],
      "sources" : [
        "Commands/Create.swift",
        "Commands/List.swift",
        "Commands/Open.swift",
        "Commands/Root.swift",
        "Commands/Version.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ToyboxKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ToyboxKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ToyboxKitTests",
      "path" : "Tests/ToyboxKitTests",
      "sources" : [
        "HandlerTests.swift",
        "PlaygroundTests.swift"
      ],
      "target_dependencies" : [
        "toybox"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ToyboxKit",
      "module_type" : "SwiftTarget",
      "name" : "ToyboxKit",
      "path" : "Sources/ToyboxKit",
      "product_dependencies" : [
        "Commandant",
        "SWXMLHash"
      ],
      "product_memberships" : [
        "toybox",
        "ToyboxKit"
      ],
      "sources" : [
        "Errors.swift",
        "Handler.swift",
        "Playground.swift",
        "PlaygroundBuilder.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.