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 Linux on 23 Jul 2024 22:20:04 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kyouko-taiga/argparse.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2437f24e80aef9b25b1058900b2010a68c7690bc33114243769a5a7e8e97de91
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Emitting module ArgParse
/host/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)
/host/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
/host/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)
/host/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! (8.89s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ArgParse",
  "name" : "ArgParse",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2437f24e80aef9b25b1058900b2010a68c7690bc33114243769a5a7e8e97de91
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.