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 CSVCoding with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

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/elegantchaos/CSVCoding.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/CSVCoding
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0ea76e8 Updated read me with more info about headers.
Cloned https://github.com/elegantchaos/CSVCoding.git
Revision (git rev-parse @):
0ea76e86b2ca2d87947a30417cc8cc7e8aa644cf
SUCCESS checkout https://github.com/elegantchaos/CSVCoding.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/elegantchaos/CSVCoding.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/8] Compiling CSVCoding CSVHeaderTranslator.swift
[4/8] Compiling CSVCoding CSVEncoderError.swift
[5/8] Emitting module CSVCoding
/Users/admin/builder/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:17:16: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     static let deferredFormatter = DateFormatter()
 17 |     static let isoFormatter = ISO8601DateFormatter()
    |                |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'isoFormatter' 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 |
 19 |
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[6/8] Compiling CSVCoding CSVKeyedEncodingContainer.swift
[7/8] Compiling CSVCoding CSVEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSVCoding/CSVEncoder.swift:17:16: warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 |     static let deferredFormatter = DateFormatter()
 17 |     static let isoFormatter = ISO8601DateFormatter()
    |                |- warning: static property 'isoFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'isoFormatter' 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 |
 19 |
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
[8/8] Compiling CSVCoding CSVUnkeyedEncodingContainer.swift
Build complete! (20.23s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/565] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.91s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.3.3 (0.67s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.3.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "CSVCoding",
  "name" : "CSVCoding",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "CSVCoding",
      "targets" : [
        "CSVCoding"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSVCodingTests",
      "module_type" : "SwiftTarget",
      "name" : "CSVCodingTests",
      "path" : "Tests/CSVCodingTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "CSVEncoderTests.swift"
      ],
      "target_dependencies" : [
        "CSVCoding"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CSVCoding",
      "module_type" : "SwiftTarget",
      "name" : "CSVCoding",
      "path" : "Sources/CSVCoding",
      "product_memberships" : [
        "CSVCoding"
      ],
      "sources" : [
        "CSVEncoder.swift",
        "CSVEncoderError.swift",
        "CSVHeaderTranslator.swift",
        "CSVKeyedEncodingContainer.swift",
        "CSVUnkeyedEncodingContainer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.