This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 ArgParse, reference 1.1.0 (aae7bf), with Swift 6.0 (beta) for macOS (SPM) on 23 Jul 2024 22:21:05 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.3.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.47.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kyouko-taiga/argparse.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kyouko-taiga/argparse
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at aae7bff Merge pull request #4 from kyouko-taiga/issue/2-help
Cloned https://github.com/kyouko-taiga/argparse.git
Revision (git rev-parse @):
aae7bfff83e86382306d9a89dd6a338fe4b24ec5
SUCCESS checkout https://github.com/kyouko-taiga/argparse.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kyouko-taiga/argparse.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.3.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--14728B76ED507284.txt
[3/4] Emitting module ArgParse
/Users/admin/builder/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:498:8: warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
    |               `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 |   public typealias Arity = ClosedRange<Int>
    :
496 |
497 |   case emptyCommandLine
498 |   case missingArguments([Argument])
    |        `- warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
499 |   case unexpectedArgument(String)
500 |   case invalidArity(argument: Argument, provided: Int)
/Users/admin/builder/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:500:8: warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
    |               `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 |   public typealias Arity = ClosedRange<Int>
    :
498 |   case missingArguments([Argument])
499 |   case unexpectedArgument(String)
500 |   case invalidArity(argument: Argument, provided: Int)
    |        `- warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
501 |
502 | }
[4/4] Compiling ArgParse ArgParse.swift
/Users/admin/builder/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:498:8: warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
    |               `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 |   public typealias Arity = ClosedRange<Int>
    :
496 |
497 |   case emptyCommandLine
498 |   case missingArguments([Argument])
    |        `- warning: associated value 'missingArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
499 |   case unexpectedArgument(String)
500 |   case invalidArity(argument: Argument, provided: Int)
/Users/admin/builder/spi-builder-workspace/Sources/ArgParse/ArgParse.swift:500:8: warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
165 | }
166 |
167 | public struct Argument {
    |               `- note: consider making struct 'Argument' conform to the 'Sendable' protocol
168 |
169 |   public typealias Arity = ClosedRange<Int>
    :
498 |   case missingArguments([Argument])
499 |   case unexpectedArgument(String)
500 |   case invalidArity(argument: Argument, provided: Int)
    |        `- warning: associated value 'invalidArity(argument:provided:)' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'Argument'; this is an error in the Swift 6 language mode
501 |
502 | }
Build complete! (1.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ArgParse",
  "name" : "ArgParse",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ArgParse",
      "targets" : [
        "ArgParse"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArgParseTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgParseTests",
      "path" : "Tests/ArgParseTests",
      "sources" : [
        "ArgParseTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ArgParse"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArgParse",
      "module_type" : "SwiftTarget",
      "name" : "ArgParse",
      "path" : "Sources/ArgParse",
      "product_memberships" : [
        "ArgParse"
      ],
      "sources" : [
        "ArgParse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.