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 DictionaryCoding 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/DictionaryCoding.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/DictionaryCoding
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6c2dafa updated to MIT license
Cloned https://github.com/elegantchaos/DictionaryCoding.git
Revision (git rev-parse @):
6c2dafae704a75900c0f9ffcfa93f4e72dae366f
SUCCESS checkout https://github.com/elegantchaos/DictionaryCoding.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/elegantchaos/DictionaryCoding.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/7] Compiling DictionaryCoding DictionaryErrors.swift
[4/7] Compiling DictionaryCoding DictionaryDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1356:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1354 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1355 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1356 | internal var _iso8601Formatter: ISO8601DateFormatter = {
     |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
     |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |              |- note: annotate '_iso8601Formatter' 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
1357 |     let formatter = ISO8601DateFormatter()
1358 |     formatter.formatOptions = .withInternetDateTime
[5/7] Compiling DictionaryCoding DictionaryEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1356:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1354 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1355 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1356 | internal var _iso8601Formatter: ISO8601DateFormatter = {
     |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
     |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |              |- note: annotate '_iso8601Formatter' 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
1357 |     let formatter = ISO8601DateFormatter()
1358 |     formatter.formatOptions = .withInternetDateTime
[6/7] Emitting module DictionaryCoding
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryCoding/DictionaryDecoder.swift:1356:14: warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1354 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1355 | @available(OSX 10.12, iOS 10.0, watchOS 3.0, tvOS 10.0, *)
1356 | internal var _iso8601Formatter: ISO8601DateFormatter = {
     |              |- warning: var '_iso8601Formatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
     |              |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |              |- note: annotate '_iso8601Formatter' 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
1357 |     let formatter = ISO8601DateFormatter()
1358 |     formatter.formatOptions = .withInternetDateTime
[7/7] Compiling DictionaryCoding DictionaryCodingKey.swift
Build complete! (17.56s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DictionaryCoding",
  "name" : "DictionaryCoding",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "DictionaryCoding",
      "targets" : [
        "DictionaryCoding"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DictionaryCodingTests",
      "module_type" : "SwiftTarget",
      "name" : "DictionaryCodingTests",
      "path" : "Tests/DictionaryCodingTests",
      "sources" : [
        "CombineTests.swift",
        "DictionaryDecodingTests.swift",
        "DictionaryEncodingTests.swift"
      ],
      "target_dependencies" : [
        "DictionaryCoding"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DictionaryCoding",
      "module_type" : "SwiftTarget",
      "name" : "DictionaryCoding",
      "path" : "Sources/DictionaryCoding",
      "product_memberships" : [
        "DictionaryCoding"
      ],
      "sources" : [
        "DictionaryCodingKey.swift",
        "DictionaryDecoder.swift",
        "DictionaryEncoder.swift",
        "DictionaryErrors.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.