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 Linux on 2 Nov 2024 10:04:46 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: main
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
 * 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
========================================
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-4606859-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] Compiling Deserializer Traced.swift
[5/8] Compiling Deserializer TOMLDeserializer.swift
[6/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
[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] Emitting module TOMLDecoder
[11/17] Compiling TOMLDecoder DecodingError+Extensions.swift
[12/18] Compiling TOMLDecoder TOMLDecoder.swift
[13/18] Compiling TOMLDecoder TOMLDecoderImpl.swift
[14/18] Compiling TOMLDecoder TOMLKey.swift
[15/18] Compiling TOMLDecoder TOMLKeyedDecodingContainer.swift
[16/18] Compiling TOMLDecoder TOMLDecodingStorage.swift
[17/18] Compiling TOMLDecoder KeyDecodingStrategy.swift
[18/18] Compiling TOMLDecoder TOMLUnkeyedDecodingContainer.swift
Build complete! (12.42s)
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.