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 master (aae7bf), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 12:34:51 UTC.

Swift 6 data race errors: 2

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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
========================================
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": "argparse",
      "name": "ArgParse",
      "url": "https://github.com/kyouko-taiga/argparse.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/argparse",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kyouko-taiga/argparse.git
[1/73] Fetching argparse
Fetched https://github.com/kyouko-taiga/argparse.git from cache (0.59s)
Creating working copy for https://github.com/kyouko-taiga/argparse.git
Working copy of https://github.com/kyouko-taiga/argparse.git resolved at master (aae7bff)
warning: '.resolve-product-dependencies': dependency 'argparse' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kyouko-taiga/argparse.git
https://github.com/kyouko-taiga/argparse.git
{
  "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"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/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 | }
[4/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 | }
Build complete! (1.00s)
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.