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, reference 0.2.1 (7db0b0), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 06:32:44 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krugazor/dictionarycoding.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krugazor/dictionarycoding
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 7db0b03 SwiftLint pass and fix
Cloned https://github.com/krugazor/dictionarycoding.git
Revision (git rev-parse @):
7db0b0395ede870bcdf138877669c3ab21fe2c3a
SUCCESS checkout https://github.com/krugazor/dictionarycoding.git at 0.2.1
========================================
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": "dictionarycoding",
      "name": "DictionaryCoding",
      "url": "https://github.com/krugazor/dictionarycoding.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/dictionarycoding",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/krugazor/dictionarycoding.git
[1/48] Fetching dictionarycoding
Fetched https://github.com/krugazor/dictionarycoding.git from cache (0.68s)
Creating working copy for https://github.com/krugazor/dictionarycoding.git
Working copy of https://github.com/krugazor/dictionarycoding.git resolved at 0.2.1 (7db0b03)
warning: '.resolve-product-dependencies': dependency 'dictionarycoding' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/krugazor/dictionarycoding.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/5] Emitting module DictionaryCoding
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryCoding/DictionaryCoding.swift:7:14: warning: non-final class 'DictionaryCodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
   5 | import Foundation
   6 |
   7 | public class DictionaryCodingError: Error {
     |              `- warning: non-final class 'DictionaryCodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
   8 |   public let reason: String
   9 |   public init(_ msg: String = "Unspecified error") {
[4/5] Compiling DictionaryCoding DictionaryCoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryCoding/DictionaryCoding.swift:7:14: warning: non-final class 'DictionaryCodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
   5 | import Foundation
   6 |
   7 | public class DictionaryCodingError: Error {
     |              `- warning: non-final class 'DictionaryCodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
   8 |   public let reason: String
   9 |   public init(_ msg: String = "Unspecified error") {
[5/5] Compiling DictionaryCoding StorageWrappers.swift
Build complete! (6.35s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DictionaryCoding",
  "name" : "DictionaryCoding",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DictionaryCoding",
      "targets" : [
        "DictionaryCoding"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DictionaryCodingTests",
      "module_type" : "SwiftTarget",
      "name" : "DictionaryCodingTests",
      "path" : "Tests/DictionaryCodingTests",
      "sources" : [
        "DictionaryCoderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DictionaryCoding"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DictionaryCoding",
      "module_type" : "SwiftTarget",
      "name" : "DictionaryCoding",
      "path" : "Sources/DictionaryCoding",
      "product_memberships" : [
        "DictionaryCoding"
      ],
      "sources" : [
        "DictionaryCoding.swift",
        "StorageWrappers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.