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 CSVKit, reference 0.0.5 (25aadb), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 06:44:35 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/sanzaru/csvkit.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sanzaru/csvkit
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 25aadbd Extended unit tests
Cloned https://github.com/sanzaru/csvkit.git
Revision (git rev-parse @):
25aadbda99d3f04e352558affa77604fdefca672
SUCCESS checkout https://github.com/sanzaru/csvkit.git at 0.0.5
========================================
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": "csvkit",
      "name": "CSVKit",
      "url": "https://github.com/sanzaru/csvkit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/csvkit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sanzaru/csvkit.git
[1/125] Fetching csvkit
Fetched https://github.com/sanzaru/csvkit.git from cache (0.61s)
Creating working copy for https://github.com/sanzaru/csvkit.git
Working copy of https://github.com/sanzaru/csvkit.git resolved at 0.0.5 (25aadbd)
warning: '.resolve-product-dependencies': dependency 'csvkit' 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/sanzaru/csvkit.git
https://github.com/sanzaru/csvkit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSVKit",
  "name" : "CSVKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSVKit",
      "targets" : [
        "CSVKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSVKitTests",
      "module_type" : "SwiftTarget",
      "name" : "CSVKitTests",
      "path" : "Tests/CSVKitTests",
      "sources" : [
        "CSVKitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CSVKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSVKit",
      "module_type" : "SwiftTarget",
      "name" : "CSVKit",
      "path" : "Sources/CSVKit",
      "product_memberships" : [
        "CSVKit"
      ],
      "sources" : [
        "CSVKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
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 CSVKit CSVKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVParser' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |     Simple CSV parser struct
 20 |  */
 21 | public struct CSVParser: CSVKitDelegate {
    |               `- note: consider making struct 'CSVParser' conform to the 'Sendable' protocol
 22 |     public static let shared: CSVParser = CSVParser()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public var separator = CSVKitDefaultSeparator
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit.swift:66:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     Simple CSV encoder struct
 64 |  */
 65 | public struct CSVEncoder: CSVKitDelegate {
    |               `- note: consider making struct 'CSVEncoder' conform to the 'Sendable' protocol
 66 |     public static let shared: CSVEncoder = CSVEncoder()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 |     public var separator = CSVKitDefaultSeparator
 68 |
[4/4] Emitting module CSVKit
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVParser' may have shared mutable state; this is an error in the Swift 6 language mode
 19 |     Simple CSV parser struct
 20 |  */
 21 | public struct CSVParser: CSVKitDelegate {
    |               `- note: consider making struct 'CSVParser' conform to the 'Sendable' protocol
 22 |     public static let shared: CSVParser = CSVParser()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVParser' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public var separator = CSVKitDefaultSeparator
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit.swift:66:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     Simple CSV encoder struct
 64 |  */
 65 | public struct CSVEncoder: CSVKitDelegate {
    |               `- note: consider making struct 'CSVEncoder' conform to the 'Sendable' protocol
 66 |     public static let shared: CSVEncoder = CSVEncoder()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'CSVEncoder' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 |     public var separator = CSVKitDefaultSeparator
 68 |
Build complete! (4.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSVKit",
  "name" : "CSVKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CSVKit",
      "targets" : [
        "CSVKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSVKitTests",
      "module_type" : "SwiftTarget",
      "name" : "CSVKitTests",
      "path" : "Tests/CSVKitTests",
      "sources" : [
        "CSVKitTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CSVKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSVKit",
      "module_type" : "SwiftTarget",
      "name" : "CSVKit",
      "path" : "Sources/CSVKit",
      "product_memberships" : [
        "CSVKit"
      ],
      "sources" : [
        "CSVKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.