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

Failed to build Marshal, reference 1.2.8 (bbd811), with Swift 6.0 for Linux on 27 Nov 2024 10:20:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 1.2.8
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
 * tag               1.2.8      -> FETCH_HEAD
HEAD is now at bbd811b update Package.swift for tools version 5
Cloned https://github.com/utahiosmac/Marshal.git
Revision (git rev-parse @):
bbd811be9b78352e74970d1c2c652e87c83ce51b
SUCCESS checkout https://github.com/utahiosmac/Marshal.git at 1.2.8
========================================
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-4609320-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 UnmarshalUpdating.swift
[4/15] Compiling Marshal Migration.swift
[5/15] Compiling Marshal Operators.swift
[6/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 {
[7/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 {
[8/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 {
[9/15] Compiling Marshal MarshaledObject.swift
[10/15] Compiling Marshal Marshaling.swift
[11/15] Compiling Marshal KeyType.swift
/host/spi-builder-workspace/Sources/MarshalDictionary.swift:35:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
33 | extension NSDictionary: MarshaledObject {
34 |     public func any(for key: KeyType) throws -> Any {
35 |         guard let value: Any = self.value(forKeyPath: key.stringValue) else {
   |                                          `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
36 |             throw MarshalError.keyNotFound(key: key)
37 |         }
[12/15] Compiling Marshal MarshalDictionary.swift
/host/spi-builder-workspace/Sources/MarshalDictionary.swift:35:42: error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
33 | extension NSDictionary: MarshaledObject {
34 |     public func any(for key: KeyType) throws -> Any {
35 |         guard let value: Any = self.value(forKeyPath: key.stringValue) else {
   |                                          `- error: incorrect argument label in call (have 'forKeyPath:', expected 'forKey:')
36 |             throw MarshalError.keyNotFound(key: key)
37 |         }
[13/15] Compiling Marshal UnmarshalingWithContext.swift
[14/15] Compiling Marshal Unmarshaling.swift
[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 FAILURE 6.0 linux