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 TOMLDecoder, reference main (a70a12), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 10:13:36 UTC.

Swift 6 data race errors: 4

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/dduan/TOMLDecoder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dduan/TOMLDecoder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a70a127 Add changelog for next release (#52)
Cloned https://github.com/dduan/TOMLDecoder.git
Revision (git rev-parse @):
a70a127cab92ddcb562a548190fa3ad2a2e5f9bc
SUCCESS checkout https://github.com/dduan/TOMLDecoder.git at main
========================================
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": "tomldecoder",
      "name": "TOMLDecoder",
      "url": "https://github.com/dduan/TOMLDecoder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TOMLDecoder",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dduan/TOMLDecoder.git
[1/1356] Fetching tomldecoder
Fetched https://github.com/dduan/TOMLDecoder.git from cache (1.38s)
Creating working copy for https://github.com/dduan/TOMLDecoder.git
Working copy of https://github.com/dduan/TOMLDecoder.git resolved at main (a70a127)
warning: '.resolve-product-dependencies': dependency 'tomldecoder' 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/dduan/TOMLDecoder.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling Deserializer Traced.swift
[5/8] Compiling Deserializer TOMLDeserializer.swift
[6/8] Compiling Deserializer Parser.swift
[7/8] Emitting module Deserializer
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:2:10: warning: associated value 'structural' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 1 | public enum DeserializationError: Error {
 2 |     case structural(Description)
   |          `- warning: associated value 'structural' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 3 |     case value(Description)
 4 |     case conflictingValue(Description)
 5 |     case general(Description)
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:3:10: warning: associated value 'value' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 1 | public enum DeserializationError: Error {
 2 |     case structural(Description)
 3 |     case value(Description)
   |          `- warning: associated value 'value' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 4 |     case conflictingValue(Description)
 5 |     case general(Description)
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:4:10: warning: associated value 'conflictingValue' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 2 |     case structural(Description)
 3 |     case value(Description)
 4 |     case conflictingValue(Description)
   |          `- warning: associated value 'conflictingValue' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 5 |     case general(Description)
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:5:10: warning: associated value 'general' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 3 |     case value(Description)
 4 |     case conflictingValue(Description)
 5 |     case general(Description)
   |          `- warning: associated value 'general' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
[8/8] Compiling Deserializer DeserializationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:2:10: warning: associated value 'structural' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 1 | public enum DeserializationError: Error {
 2 |     case structural(Description)
   |          `- warning: associated value 'structural' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 3 |     case value(Description)
 4 |     case conflictingValue(Description)
 5 |     case general(Description)
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:3:10: warning: associated value 'value' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 1 | public enum DeserializationError: Error {
 2 |     case structural(Description)
 3 |     case value(Description)
   |          `- warning: associated value 'value' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 4 |     case conflictingValue(Description)
 5 |     case general(Description)
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:4:10: warning: associated value 'conflictingValue' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 2 |     case structural(Description)
 3 |     case value(Description)
 4 |     case conflictingValue(Description)
   |          `- warning: associated value 'conflictingValue' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 5 |     case general(Description)
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
/Users/admin/builder/spi-builder-workspace/Sources/Deserializer/DeserializationError.swift:5:10: warning: associated value 'general' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 3 |     case value(Description)
 4 |     case conflictingValue(Description)
 5 |     case general(Description)
   |          `- warning: associated value 'general' of 'Sendable'-conforming enum 'DeserializationError' has non-sendable type 'DeserializationError.Description'; this is an error in the Swift 6 language mode
 6 |     indirect case compound([Error])
 7 |     public struct Description {
   |                   `- note: consider making struct 'Description' conform to the 'Sendable' protocol
 8 |         public let line: Int
 9 |         public let column: Int
[9/17] Compiling TOMLDecoder TOMLDecodingStorage.swift
[10/17] Compiling TOMLDecoder TOMLDecoder.swift
[11/17] Compiling TOMLDecoder TOMLKeyedDecodingContainer.swift
[12/17] Compiling TOMLDecoder TOMLKey.swift
[13/17] Compiling TOMLDecoder KeyDecodingStrategy.swift
[14/17] Compiling TOMLDecoder TOMLDecoderImpl.swift
[15/17] Compiling TOMLDecoder TOMLUnkeyedDecodingContainer.swift
[16/17] Compiling TOMLDecoder DecodingError+Extensions.swift
[17/17] Emitting module TOMLDecoder
Build complete! (10.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TOMLDecoder",
  "name" : "TOMLDecoder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "TOMLDecoder",
      "targets" : [
        "TOMLDecoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TOMLDecoderTests",
      "module_type" : "SwiftTarget",
      "name" : "TOMLDecoderTests",
      "path" : "Tests/TOMLDecoderTests",
      "sources" : [
        "TOMLDecoderTests.swift"
      ],
      "target_dependencies" : [
        "TOMLDecoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TOMLDecoder",
      "module_type" : "SwiftTarget",
      "name" : "TOMLDecoder",
      "path" : "Sources/TOMLDecoder",
      "product_memberships" : [
        "TOMLDecoder"
      ],
      "sources" : [
        "DecodingError+Extensions.swift",
        "KeyDecodingStrategy.swift",
        "TOMLDecoder.swift",
        "TOMLDecoderImpl.swift",
        "TOMLDecodingStorage.swift",
        "TOMLKey.swift",
        "TOMLKeyedDecodingContainer.swift",
        "TOMLUnkeyedDecodingContainer.swift"
      ],
      "target_dependencies" : [
        "Deserializer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DeserializerTests",
      "module_type" : "SwiftTarget",
      "name" : "DeserializerTests",
      "path" : "Tests/DeserializerTests",
      "sources" : [
        "ErrorTests.swift",
        "ParserTests.swift",
        "TOMLDeserializerTests.swift",
        "TOMLInvalidationTests.swift"
      ],
      "target_dependencies" : [
        "Deserializer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Deserializer",
      "module_type" : "SwiftTarget",
      "name" : "Deserializer",
      "path" : "Sources/Deserializer",
      "product_memberships" : [
        "TOMLDecoder"
      ],
      "sources" : [
        "DeserializationError.swift",
        "Parser.swift",
        "TOMLDeserializer.swift",
        "Traced.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.