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 Argo, reference main (681dcf), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 21:50:15 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thoughtbot/Argo.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/thoughtbot/Argo
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 681dcf9 Create swift.yml
Cloned https://github.com/thoughtbot/Argo.git
Revision (git rev-parse @):
681dcf9ca0fa4ba5ebd1b90701791e9986c92778
SUCCESS checkout https://github.com/thoughtbot/Argo.git at main
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/llvm-swift/FileCheck.git
Fetching https://github.com/mxcl/Chalk.git
Fetching https://github.com/thoughtbot/Runes.git
Fetching git@github.com:typelift/SwiftCheck.git
[1/1249] Fetching runes
[26/1330] Fetching runes, chalk
[119/1809] Fetching runes, chalk, filecheck
warning: 'swiftcheck': skipping cache due to an error: Failed to clone repository git@github.com:typelift/SwiftCheck.git:
    Cloning into bare repository '/Users/admin/Library/Caches/org.swift.swiftpm/repositories/SwiftCheck-38040fe5'...
    Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
[1810/8331] Fetching runes, chalk, filecheck, swift-tools-support-core
Fetched https://github.com/thoughtbot/Runes.git from cache (1.45s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.45s)
Fetched https://github.com/mxcl/Chalk.git from cache (1.45s)
Fetched https://github.com/llvm-swift/FileCheck.git from cache (1.45s)
Computing version for https://github.com/thoughtbot/Runes.git
Computed https://github.com/thoughtbot/Runes.git at 5.1.0 (0.68s)
Creating working copy for https://github.com/thoughtbot/Runes.git
Working copy of https://github.com/thoughtbot/Runes.git resolved at 5.1.0
========================================
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": "argo",
      "name": "Argo",
      "url": "https://github.com/thoughtbot/Argo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Argo",
      "dependencies": [
        {
          "identity": "runes",
          "name": "Runes",
          "url": "https://github.com/thoughtbot/Runes.git",
          "version": "5.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Runes",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/thoughtbot/Argo.git
[1/4261] Fetching argo
Fetched https://github.com/thoughtbot/Argo.git from cache (1.19s)
Fetching https://github.com/thoughtbot/Runes.git from cache
Fetched https://github.com/thoughtbot/Runes.git from cache (0.48s)
Computing version for https://github.com/thoughtbot/Runes.git
Computed https://github.com/thoughtbot/Runes.git at 5.1.0 (0.04s)
Creating working copy for https://github.com/thoughtbot/Runes.git
Working copy of https://github.com/thoughtbot/Runes.git resolved at 5.1.0
Creating working copy for https://github.com/thoughtbot/Argo.git
Working copy of https://github.com/thoughtbot/Argo.git resolved at main (681dcf9)
warning: '.resolve-product-dependencies': dependency 'argo' is not used by any target
Found 1 product dependencies
  - Runes
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/thoughtbot/Argo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/16] Compiling Runes Result+Alternative.swift
[5/17] Compiling Runes Optional+Monad.swift
[6/17] Compiling Runes Optional+Functor.swift
[7/17] Emitting module Runes
[8/17] Compiling Runes Runes.swift
[9/17] Compiling Runes Optional+Alternative.swift
[10/17] Compiling Runes Optional+Applicative.swift
[11/17] Compiling Runes Array+Functor.swift
[12/17] Compiling Runes Array+Monad.swift
[13/17] Compiling Runes Array+Alternative.swift
[14/17] Compiling Runes Array+Applicative.swift
[15/17] Compiling Runes Result+Monad.swift
[16/17] Compiling Runes Result+Functor.swift
[17/17] Compiling Runes Result+Applicative.swift
[18/34] Compiling Argo RawRepresentable.swift
[19/34] Compiling Argo catDecoded.swift
[20/35] Compiling Argo DecodeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/DecodeError.swift:28:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
26 |
27 | extension DecodeError: Hashable {
28 |   public var hashValue: Int {
   |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
29 |     switch self {
30 |     case let .typeMismatch(expected: expected, actual: actual):
[21/35] Compiling Argo Alternative.swift
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/DecodeError.swift:28:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
26 |
27 | extension DecodeError: Hashable {
28 |   public var hashValue: Int {
   |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
29 |     switch self {
30 |     case let .typeMismatch(expected: expected, actual: actual):
[22/35] Compiling Argo decode.swift
[23/35] Compiling Argo flatReduce.swift
[24/35] Compiling Argo sequence.swift
[25/35] Compiling Argo Decodable.swift
[26/35] Compiling Argo Applicative.swift
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:44:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 42 |     - returns: The `Decoded` type with any failure converted to `.success(.none)`
 43 |   */
 44 |   static func optional<T>(_ x: Decoded<T>) -> Decoded<T?> {
    |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 45 |     return .success(x.value)
 46 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:56:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 54 |     - returns: The provided `Optional` value transformed into a `Decoded` value
 55 |   */
 56 |   static func fromOptional<T>(_ x: T?) -> Decoded<T> {
    |                            `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 57 |     switch x {
 58 |     case let .some(value): return .success(value)
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:74:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 72 |                from the provided `expected` and `actual` values
 73 |   */
 74 |   static func typeMismatch<T, U>(expected: String, actual: U) -> Decoded<T> {
    |                            `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 75 |     return .failure(.typeMismatch(expected: expected, actual: String(describing: actual)))
 76 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:86:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 84 |                the provided `name` value
 85 |   */
 86 |   static func missingKey<T>(_ name: String) -> Decoded<T> {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 87 |     return .failure(.missingKey(name))
 88 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:98:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 96 |                provided `message` value
 97 |   */
 98 |   static func customError<T>(_ message: String) -> Decoded<T> {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 99 |     return .failure(.custom(message))
100 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:110:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
108 |    provided `errors` value
109 |    */
110 |   static func multipleErrors<T>(errors: [DecodeError]) -> Decoded<T> {
    |                              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
111 |     return .failure(.multiple(errors))
112 |   }
[27/35] Compiling Argo Decoded.swift
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:44:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 42 |     - returns: The `Decoded` type with any failure converted to `.success(.none)`
 43 |   */
 44 |   static func optional<T>(_ x: Decoded<T>) -> Decoded<T?> {
    |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 45 |     return .success(x.value)
 46 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:56:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 54 |     - returns: The provided `Optional` value transformed into a `Decoded` value
 55 |   */
 56 |   static func fromOptional<T>(_ x: T?) -> Decoded<T> {
    |                            `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 57 |     switch x {
 58 |     case let .some(value): return .success(value)
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:74:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 72 |                from the provided `expected` and `actual` values
 73 |   */
 74 |   static func typeMismatch<T, U>(expected: String, actual: U) -> Decoded<T> {
    |                            `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 75 |     return .failure(.typeMismatch(expected: expected, actual: String(describing: actual)))
 76 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:86:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 84 |                the provided `name` value
 85 |   */
 86 |   static func missingKey<T>(_ name: String) -> Decoded<T> {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 87 |     return .failure(.missingKey(name))
 88 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:98:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 96 |                provided `message` value
 97 |   */
 98 |   static func customError<T>(_ message: String) -> Decoded<T> {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 99 |     return .failure(.custom(message))
100 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:110:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
108 |    provided `errors` value
109 |    */
110 |   static func multipleErrors<T>(errors: [DecodeError]) -> Decoded<T> {
    |                              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
111 |     return .failure(.multiple(errors))
112 |   }
[28/35] Compiling Argo Monad.swift
[29/35] Compiling Argo FailureCoalescing.swift
[30/35] Compiling Argo Functor.swift
[31/35] Compiling Argo JSON.swift
[32/35] Emitting module Argo
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/DecodeError.swift:28:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
26 |
27 | extension DecodeError: Hashable {
28 |   public var hashValue: Int {
   |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'DecodeError' to 'Hashable' by implementing 'hash(into:)' instead
29 |     switch self {
30 |     case let .typeMismatch(expected: expected, actual: actual):
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:44:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 42 |     - returns: The `Decoded` type with any failure converted to `.success(.none)`
 43 |   */
 44 |   static func optional<T>(_ x: Decoded<T>) -> Decoded<T?> {
    |                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 45 |     return .success(x.value)
 46 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:56:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 54 |     - returns: The provided `Optional` value transformed into a `Decoded` value
 55 |   */
 56 |   static func fromOptional<T>(_ x: T?) -> Decoded<T> {
    |                            `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 57 |     switch x {
 58 |     case let .some(value): return .success(value)
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:74:28: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 72 |                from the provided `expected` and `actual` values
 73 |   */
 74 |   static func typeMismatch<T, U>(expected: String, actual: U) -> Decoded<T> {
    |                            `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 75 |     return .failure(.typeMismatch(expected: expected, actual: String(describing: actual)))
 76 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:86:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 84 |                the provided `name` value
 85 |   */
 86 |   static func missingKey<T>(_ name: String) -> Decoded<T> {
    |                          `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 87 |     return .failure(.missingKey(name))
 88 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:98:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
 96 |                provided `message` value
 97 |   */
 98 |   static func customError<T>(_ message: String) -> Decoded<T> {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 99 |     return .failure(.custom(message))
100 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Argo/Types/Decoded/Decoded.swift:110:30: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  1 | /// The result of a failable decoding operation.
  2 | public enum Decoded<T> {
    |                     `- note: 'T' previously declared here
  3 |   case success(T)
  4 |   case failure(DecodeError)
    :
108 |    provided `errors` value
109 |    */
110 |   static func multipleErrors<T>(errors: [DecodeError]) -> Decoded<T> {
    |                              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
111 |     return .failure(.multiple(errors))
112 |   }
[33/35] Compiling Argo Dictionary.swift
[34/35] Compiling Argo NSNumber.swift
[35/35] Compiling Argo StandardTypes.swift
Build complete! (12.03s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "runes",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/thoughtbot/Runes.git"
    }
  ],
  "manifest_display_name" : "Argo",
  "name" : "Argo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Argo",
      "targets" : [
        "Argo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Argo",
      "module_type" : "SwiftTarget",
      "name" : "Argo",
      "path" : "Sources",
      "product_dependencies" : [
        "Runes"
      ],
      "product_memberships" : [
        "Argo"
      ],
      "sources" : [
        "Argo/Extensions/Dictionary.swift",
        "Argo/Extensions/NSNumber.swift",
        "Argo/Extensions/RawRepresentable.swift",
        "Argo/Functions/catDecoded.swift",
        "Argo/Functions/decode.swift",
        "Argo/Functions/flatReduce.swift",
        "Argo/Functions/sequence.swift",
        "Argo/Types/Decodable.swift",
        "Argo/Types/DecodeError.swift",
        "Argo/Types/Decoded/Alternative.swift",
        "Argo/Types/Decoded/Applicative.swift",
        "Argo/Types/Decoded/Decoded.swift",
        "Argo/Types/Decoded/FailureCoalescing.swift",
        "Argo/Types/Decoded/Functor.swift",
        "Argo/Types/Decoded/Monad.swift",
        "Argo/Types/JSON.swift",
        "Argo/Types/StandardTypes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.