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, reference main (0ea76e), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 03:53:26 UTC.

Swift 6 data race errors: 1

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/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
Fetching https://github.com/elegantchaos/XCTestExtensions.git
[1/571] Fetching xctestextensions
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.68s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.3.3 (1.26s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.3.3
========================================
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": "csvcoding",
      "name": "CSVCoding",
      "url": "https://github.com/elegantchaos/CSVCoding.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSVCoding",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/elegantchaos/CSVCoding.git
[1/103] Fetching csvcoding
Fetched https://github.com/elegantchaos/CSVCoding.git from cache (0.59s)
Creating working copy for https://github.com/elegantchaos/CSVCoding.git
Working copy of https://github.com/elegantchaos/CSVCoding.git resolved at main (0ea76e8)
warning: '.resolve-product-dependencies': dependency 'csvcoding' 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/elegantchaos/CSVCoding.git
https://github.com/elegantchaos/CSVCoding.git
{
  "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"
}
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/8] Compiling CSVCoding CSVKeyedEncodingContainer.swift
[4/8] Compiling CSVCoding CSVHeaderTranslator.swift
[5/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: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
[6/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: add '@MainActor' to make static property 'isoFormatter' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
[7/8] Compiling CSVCoding CSVUnkeyedEncodingContainer.swift
[8/8] Compiling CSVCoding CSVEncoderError.swift
Build complete! (5.11s)
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.