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 0.2.2 (a70a12), with Swift 6.0 for Linux on 2 Nov 2024 10:04:35 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dduan/TOMLDecoder.git
Reference: 0.2.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/dduan/TOMLDecoder
 * tag               0.2.2      -> FETCH_HEAD
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 0.2.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dduan/TOMLDecoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Emitting module Deserializer
/host/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
/host/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
/host/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
/host/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
[5/8] Compiling Deserializer Traced.swift
[6/8] Compiling Deserializer TOMLDeserializer.swift
[7/8] Compiling Deserializer DeserializationError.swift
/host/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
/host/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
/host/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
/host/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 Parser.swift
[10/17] Compiling TOMLDecoder TOMLKeyedDecodingContainer.swift
[11/17] Compiling TOMLDecoder TOMLDecodingStorage.swift
[12/17] Compiling TOMLDecoder TOMLKey.swift
[13/18] Compiling TOMLDecoder TOMLDecoder.swift
[14/18] Compiling TOMLDecoder DecodingError+Extensions.swift
[15/18] Compiling TOMLDecoder KeyDecodingStrategy.swift
[16/18] Compiling TOMLDecoder TOMLDecoderImpl.swift
[17/18] Emitting module TOMLDecoder
[18/18] Compiling TOMLDecoder TOMLUnkeyedDecodingContainer.swift
Build complete! (9.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TOMLDecoder",
  "name" : "TOMLDecoder",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.