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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kyouko-taiga/argparse.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kyouko-taiga/argparse
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kyouko-taiga/argparse.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.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! (3.35s)
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.