Build Information
Successful build of BackedCodable, reference 0.1.1 (c28a4e
), with Swift 6.0 for Linux on 1 Nov 2024 14:19:16 UTC.
Swift 6 data race errors: 7
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jegnux/BackedCodable.git
Reference: 0.1.1
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/jegnux/BackedCodable
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at c28a4e5 Implement a safer init
Cloned https://github.com/jegnux/BackedCodable.git
Revision (git rev-parse @):
c28a4e556298bd81ba068f0f1c534af73ffd46f9
SUCCESS checkout https://github.com/jegnux/BackedCodable.git at 0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/jegnux/BackedCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Emitting module BackedCodable
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
| `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 | public init(rawValue: Int) {
36 | self.rawValue = rawValue
:
38 |
39 | public let rawValue: Int
40 | public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
| |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lossy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:17:23: warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
15 |
16 | /// Defer to `Decoder` for decoding. This is the default strategy.
17 | public static let deferredToDecoder = DateDecodingStrategy { decoder in
| |- warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deferredToDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try decoder.decode(Date.self)
19 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:22:23: warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
20 |
21 | /// Decode the `Date` as a UNIX timestamp from a JSON number.
22 | public static let secondsSince1970 = DateDecodingStrategy { decoder in
| |- warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secondsSince1970' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self))
24 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:27:23: warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
25 |
26 | /// Decode the `Date` as UNIX millisecond timestamp from a JSON number.
27 | public static let millisecondsSince1970 = DateDecodingStrategy { decoder in
| |- warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'millisecondsSince1970' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self) / 1000)
29 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:51:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
51 | private let iso8601DateFormatter = ISO8601DateFormatter()
| |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:57:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
55 |
56 | /// Decode the `Date` as an ISO-8601-formatted string (in RFC 3339 format).
57 | public static let iso8601 = DateDecodingStrategy { decoder in
| |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | try iso8601DateFormatter.date(
59 | from: try decoder.decode(String.self)
/host/spi-builder-workspace/Sources/BackedCodable/Path/Path.swift:20:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct Path: Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 | public static func ?? (lhs: Path, rhs: Path) -> Path {
11 | Path(storage: lhs.storage + rhs.storage)
:
18 | }
19 |
20 | public static let root = Path()
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | private init() {}
[5/21] Compiling BackedCodable BackingDecoderContext.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
| `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 | public init(rawValue: Int) {
36 | self.rawValue = rawValue
:
38 |
39 | public let rawValue: Int
40 | public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
| |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lossy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:17:23: warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
15 |
16 | /// Defer to `Decoder` for decoding. This is the default strategy.
17 | public static let deferredToDecoder = DateDecodingStrategy { decoder in
| |- warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deferredToDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try decoder.decode(Date.self)
19 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:22:23: warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
20 |
21 | /// Decode the `Date` as a UNIX timestamp from a JSON number.
22 | public static let secondsSince1970 = DateDecodingStrategy { decoder in
| |- warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secondsSince1970' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self))
24 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:27:23: warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
25 |
26 | /// Decode the `Date` as UNIX millisecond timestamp from a JSON number.
27 | public static let millisecondsSince1970 = DateDecodingStrategy { decoder in
| |- warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'millisecondsSince1970' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self) / 1000)
29 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:51:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
51 | private let iso8601DateFormatter = ISO8601DateFormatter()
| |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:57:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
55 |
56 | /// Decode the `Date` as an ISO-8601-formatted string (in RFC 3339 format).
57 | public static let iso8601 = DateDecodingStrategy { decoder in
| |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | try iso8601DateFormatter.date(
59 | from: try decoder.decode(String.self)
[6/21] Compiling BackedCodable DateDecoder.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
| `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 | public init(rawValue: Int) {
36 | self.rawValue = rawValue
:
38 |
39 | public let rawValue: Int
40 | public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
| |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lossy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:17:23: warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
15 |
16 | /// Defer to `Decoder` for decoding. This is the default strategy.
17 | public static let deferredToDecoder = DateDecodingStrategy { decoder in
| |- warning: static property 'deferredToDecoder' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deferredToDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | try decoder.decode(Date.self)
19 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:22:23: warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
20 |
21 | /// Decode the `Date` as a UNIX timestamp from a JSON number.
22 | public static let secondsSince1970 = DateDecodingStrategy { decoder in
| |- warning: static property 'secondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secondsSince1970' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self))
24 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:27:23: warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
25 |
26 | /// Decode the `Date` as UNIX millisecond timestamp from a JSON number.
27 | public static let millisecondsSince1970 = DateDecodingStrategy { decoder in
| |- warning: static property 'millisecondsSince1970' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'millisecondsSince1970' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | Date(timeIntervalSince1970: try decoder.decode(TimeInterval.self) / 1000)
29 | }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:51:13: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
51 | private let iso8601DateFormatter = ISO8601DateFormatter()
| |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | @available(iOS 10.0, OSX 10.12, tvOS 10.0, watchOS 3.0, *)
Foundation.ISO8601DateFormatter:1:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
2 | open var timeZone: TimeZone! { get set }
3 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/DateDecoder.swift:57:23: warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct DateDecodingStrategy {
| `- note: consider making struct 'DateDecodingStrategy' conform to the 'Sendable' protocol
10 | private let decode: (PathDecoder) throws -> Date
11 |
:
55 |
56 | /// Decode the `Date` as an ISO-8601-formatted string (in RFC 3339 format).
57 | public static let iso8601 = DateDecodingStrategy { decoder in
| |- warning: static property 'iso8601' is not concurrency-safe because non-'Sendable' type 'DateDecodingStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iso8601' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | try iso8601DateFormatter.date(
59 | from: try decoder.decode(String.self)
[7/21] Compiling BackedCodable PathComponent.swift
[8/21] Compiling BackedCodable PathFilter.swift
[9/21] Compiling BackedCodable PathDecoder.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
| `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 | public init(rawValue: Int) {
36 | self.rawValue = rawValue
:
38 |
39 | public let rawValue: Int
40 | public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
| |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lossy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Path/Path.swift:20:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct Path: Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 | public static func ?? (lhs: Path, rhs: Path) -> Path {
11 | Path(storage: lhs.storage + rhs.storage)
:
18 | }
19 |
20 | public static let root = Path()
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | private init() {}
[10/21] Compiling BackedCodable Path.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
| `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 | public init(rawValue: Int) {
36 | self.rawValue = rawValue
:
38 |
39 | public let rawValue: Int
40 | public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
| |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lossy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/host/spi-builder-workspace/Sources/BackedCodable/Path/Path.swift:20:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import Foundation
8 |
9 | public struct Path: Hashable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
10 | public static func ?? (lhs: Path, rhs: Path) -> Path {
11 | Path(storage: lhs.storage + rhs.storage)
:
18 | }
19 |
20 | public static let root = Path()
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | private init() {}
[11/21] Compiling BackedCodable BackedDecodable.swift
[12/21] Compiling BackedCodable BackingDecoder.swift
[13/21] Compiling BackedCodable PathCodingKey.swift
[14/21] Compiling BackedCodable PathDecoder.Element.swift
[15/21] Compiling BackedCodable LossyDecoder.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
| `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 | public init(rawValue: Int) {
36 | self.rawValue = rawValue
:
38 |
39 | public let rawValue: Int
40 | public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
| |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lossy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
[16/21] Compiling BackedCodable BackedError.swift
/host/spi-builder-workspace/Sources/BackedCodable/Decoders/BackingDecoderContext.swift:40:23: warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct BackingDecoderOptions: OptionSet {
| `- note: consider making struct 'BackingDecoderOptions' conform to the 'Sendable' protocol
35 | public init(rawValue: Int) {
36 | self.rawValue = rawValue
:
38 |
39 | public let rawValue: Int
40 | public static let lossy = BackingDecoderOptions(rawValue: 1 << 0)
| |- warning: static property 'lossy' is not concurrency-safe because non-'Sendable' type 'BackingDecoderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lossy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
[17/21] Compiling BackedCodable EmptyDecodable.swift
[18/21] Compiling BackedCodable Decoder+PathDecoder.swift
[19/21] Compiling BackedCodable Backed+ConditionalProtocolConformances.swift
[20/21] Compiling BackedCodable Backed+Init.swift
[21/21] Compiling BackedCodable Backed.swift
[23/26] Compiling BackedCodableStubs PlainSwiftStub.swift
[24/26] Compiling BackedCodableStubs Helpers.swift
[25/26] Compiling BackedCodableStubs BackedStub.swift
[26/26] Emitting module BackedCodableStubs
Build complete! (14.04s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BackedCodable",
"name" : "BackedCodable",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "2.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "BackedCodable",
"targets" : [
"BackedCodable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BackedCodableTests",
"module_type" : "SwiftTarget",
"name" : "BackedCodableTests",
"path" : "Tests/BackedCodableTests",
"sources" : [
"BackedCodableTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"BackedCodable",
"BackedCodableStubs"
],
"type" : "test"
},
{
"c99name" : "BackedCodableStubs",
"module_type" : "SwiftTarget",
"name" : "BackedCodableStubs",
"path" : "Stubs",
"sources" : [
"BackedStub.swift",
"Helpers.swift",
"PlainSwiftStub.swift"
],
"target_dependencies" : [
"BackedCodable"
],
"type" : "library"
},
{
"c99name" : "BackedCodable",
"module_type" : "SwiftTarget",
"name" : "BackedCodable",
"path" : "Sources/BackedCodable",
"product_memberships" : [
"BackedCodable"
],
"sources" : [
"Backed+ConditionalProtocolConformances.swift",
"Backed+Init.swift",
"Backed.swift",
"BackedDecodable.swift",
"Decoders/BackingDecoder.swift",
"Decoders/BackingDecoderContext.swift",
"Decoders/DateDecoder.swift",
"Decoders/LossyDecoder.swift",
"Helper Types/BackedError.swift",
"Helper Types/EmptyDecodable.swift",
"Path Decoder/Decoder+PathDecoder.swift",
"Path Decoder/PathCodingKey.swift",
"Path Decoder/PathDecoder.Element.swift",
"Path Decoder/PathDecoder.swift",
"Path/Path.swift",
"Path/PathComponent.swift",
"Path/PathFilter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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.