This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for Linux.

Swift 6 data race errors: 7

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.40.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:  $workDir
https://github.com/utahiosmac/Marshal.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Marshal Migration.swift
[4/14] Compiling Marshal Operators.swift
[5/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 {
[6/15] Compiling Marshal KeyType.swift
[7/15] Compiling Marshal MarshalDictionary.swift
[8/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 {
[9/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 {
[10/15] Compiling Marshal MarshaledObject.swift
[11/15] Compiling Marshal Marshaling.swift
[12/15] Compiling Marshal UnmarshalUpdating.swift
[13/15] Compiling Marshal Unmarshaling.swift
[14/15] Compiling Marshal UnmarshalingWithContext.swift
[15/15] Compiling Marshal ValueType.swift
Build complete! (11.91s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.