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 macOS (SPM).

Swift 6 data race errors: 7

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/utahiosmac/Marshal.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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 Marshaling.swift
[8/15] Compiling Marshal MarshaledObject.swift
[9/15] Emitting module Marshal
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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 Error.swift
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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] Compiling Marshal Unmarshaling.swift
[15/15] Compiling Marshal ValueType.swift
Build complete! (20.45s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Marshal",
  "name" : "Marshal",
  "path" : "/Users/admin/builder/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.