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 macOS (SPM) on 27 Nov 2024 10:28:49 UTC.

Swift 6 data race errors: 7

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

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 /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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "marshal",
      "name": "Marshal",
      "url": "https://github.com/utahiosmac/Marshal.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Marshal",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/utahiosmac/Marshal.git
[1/1291] Fetching marshal
Fetched https://github.com/utahiosmac/Marshal.git from cache (1.09s)
Creating working copy for https://github.com/utahiosmac/Marshal.git
Working copy of https://github.com/utahiosmac/Marshal.git resolved at master (eeed957)
warning: '.resolve-product-dependencies': dependency 'marshal' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/utahiosmac/Marshal.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/14] Compiling Marshal Unmarshaling.swift
[4/14] Compiling Marshal UnmarshalUpdating.swift
[5/14] Compiling Marshal UnmarshalingWithContext.swift
[6/15] Compiling Marshal Marshaling.swift
[7/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 {
[8/15] Compiling Marshal Migration.swift
[9/15] Compiling Marshal MarshaledObject.swift
[10/15] Compiling Marshal Operators.swift
[11/15] Compiling Marshal KeyType.swift
[12/15] Compiling Marshal MarshalDictionary.swift
[13/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 {
[14/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 {
[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! (12.95s)
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.