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 CSVKit 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/sanzaru/csvkit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sanzaru/csvkit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 94c6510 Update README.md
Cloned https://github.com/sanzaru/csvkit.git
Revision (git rev-parse @):
94c6510d6ceb2ca377115c5f9cc065ad3930a3a4
SUCCESS checkout https://github.com/sanzaru/csvkit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/sanzaru/csvkit.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/6] Compiling CSVKit CSVKit.swift
[4/6] Compiling CSVKit CSVKit+CSVEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit+CSVEncoder.swift:17: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
14 |     Simple CSV encoder struct
15 |  */
16 | public struct CSVEncoder: CSVKitDelegate {
   |               `- note: consider making struct 'CSVEncoder' conform to the 'Sendable' protocol
17 |     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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public var separator: String
19 |
[5/6] Emitting module CSVKit
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit+CSVEncoder.swift:17: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
14 |     Simple CSV encoder struct
15 |  */
16 | public struct CSVEncoder: CSVKitDelegate {
   |               `- note: consider making struct 'CSVEncoder' conform to the 'Sendable' protocol
17 |     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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public var separator: String
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit+CSVParser.swift:17: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
14 |     Simple CSV parser struct
15 |  */
16 | public struct CSVParser: CSVKitDelegate {
   |               `- note: consider making struct 'CSVParser' conform to the 'Sendable' protocol
17 |     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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public var separator: String
19 |
[6/6] Compiling CSVKit CSVKit+CSVParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSVKit/CSVKit+CSVParser.swift:17: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
14 |     Simple CSV parser struct
15 |  */
16 | public struct CSVParser: CSVKitDelegate {
   |               `- note: consider making struct 'CSVParser' conform to the 'Sendable' protocol
17 |     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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public var separator: String
19 |
Build complete! (17.21s)
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+CSVEncoder.swift",
        "CSVKit+CSVParser.swift",
        "CSVKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.