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 Marshal, reference master (eeed95), with Swift 6.0 for Linux on 27 Nov 2024 10:21:09 UTC.

Swift 6 data race errors: 7

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/utahiosmac/Marshal.git
Reference: master
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/utahiosmac/Marshal
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at eeed957 bump up deployment target
Cloned https://github.com/utahiosmac/Marshal.git
Revision (git rev-parse @):
eeed9576270c93acf2cc5166f664d394075461d3
SUCCESS checkout https://github.com/utahiosmac/Marshal.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/utahiosmac/Marshal.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Marshal UnmarshalingWithContext.swift
[4/15] Compiling Marshal UnmarshalUpdating.swift
[5/15] Compiling Marshal Migration.swift
[6/15] Compiling Marshal Operators.swift
[7/15] Compiling Marshal Unmarshaling.swift
[8/15] Compiling Marshal MarshaledObject.swift
[9/15] Compiling Marshal Marshaling.swift
[10/15] Compiling Marshal Error.swift
/host/spi-builder-workspace/Sources/Error.swift:19:10: warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
17 | public enum MarshalError: Error, CustomStringConvertible {
18 |
19 |     case keyNotFound(key: KeyType)
   |          `- warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:20:10: warning: associated value 'nullValue(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
18 |
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
   |          `- warning: associated value 'nullValue(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:21:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
23 |
/host/spi-builder-workspace/Sources/Error.swift:21:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
23 |
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
[11/15] Compiling Marshal JSON.swift
/host/spi-builder-workspace/Sources/Error.swift:19:10: warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
17 | public enum MarshalError: Error, CustomStringConvertible {
18 |
19 |     case keyNotFound(key: KeyType)
   |          `- warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:20:10: warning: associated value 'nullValue(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
18 |
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
   |          `- warning: associated value 'nullValue(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:21:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
23 |
/host/spi-builder-workspace/Sources/Error.swift:21:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
23 |
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
[12/15] Compiling Marshal KeyType.swift
[13/15] Compiling Marshal MarshalDictionary.swift
[14/15] Emitting module Marshal
/host/spi-builder-workspace/Sources/Error.swift:19:10: warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
17 | public enum MarshalError: Error, CustomStringConvertible {
18 |
19 |     case keyNotFound(key: KeyType)
   |          `- warning: associated value 'keyNotFound(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:20:10: warning: associated value 'nullValue(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
18 |
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
   |          `- warning: associated value 'nullValue(key:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:21:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
23 |
/host/spi-builder-workspace/Sources/Error.swift:21:10: warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
19 |     case keyNotFound(key: KeyType)
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatch(expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
23 |
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'any KeyType'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
/host/spi-builder-workspace/Sources/KeyType.swift:17:17: note: protocol 'KeyType' does not conform to the 'Sendable' protocol
15 |
16 |
17 | public protocol KeyType {
   |                 `- note: protocol 'KeyType' does not conform to the 'Sendable' protocol
18 |     var stringValue: String { get }
19 | }
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
/host/spi-builder-workspace/Sources/Error.swift:22:10: warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |     case nullValue(key: KeyType)
21 |     case typeMismatch(expected: Any, actual: Any)
22 |     case typeMismatchWithKey(key: KeyType, expected: Any, actual: Any)
   |          `- warning: associated value 'typeMismatchWithKey(key:expected:actual:)' of 'Sendable'-conforming enum 'MarshalError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |
24 |     public var description: String {
[15/15] Compiling Marshal ValueType.swift
<unknown>:0: warning: implicit capture of 'self' requires that 'Dictionary<Key, Value>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Dictionary<Key, Value>' conforms to `Sendable`; this is an error in the Swift 6 language mode
Build complete! (10.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Marshal",
  "name" : "Marshal",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Marshal",
      "targets" : [
        "Marshal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarshalTests",
      "module_type" : "SwiftTarget",
      "name" : "MarshalTests",
      "path" : "MarshalTests",
      "sources" : [
        "MarshalTests.swift",
        "PerformanceTestObjects.swift",
        "PerformanceTests.swift",
        "UnmarshalingWithContextTests.swift"
      ],
      "target_dependencies" : [
        "Marshal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Marshal",
      "module_type" : "SwiftTarget",
      "name" : "Marshal",
      "path" : "Sources",
      "product_memberships" : [
        "Marshal"
      ],
      "sources" : [
        "Error.swift",
        "JSON.swift",
        "KeyType.swift",
        "MarshalDictionary.swift",
        "MarshaledObject.swift",
        "Marshaling.swift",
        "Migration.swift",
        "Operators.swift",
        "UnmarshalUpdating.swift",
        "Unmarshaling.swift",
        "UnmarshalingWithContext.swift",
        "ValueType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Done.