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 BackedCodable, reference 0.1.1 (c28a4e), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 14:27:33 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

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 /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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": "backedcodable",
      "name": "BackedCodable",
      "url": "https://github.com/jegnux/BackedCodable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BackedCodable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jegnux/BackedCodable.git
[1/249] Fetching backedcodable
Fetched https://github.com/jegnux/BackedCodable.git from cache (1.07s)
Creating working copy for https://github.com/jegnux/BackedCodable.git
Working copy of https://github.com/jegnux/BackedCodable.git resolved at 0.1.1 (c28a4e5)
warning: '.resolve-product-dependencies': dependency 'backedcodable' 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/jegnux/BackedCodable.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/20] Compiling BackedCodable Path.swift
/Users/admin/builder/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 Backed.swift
[6/21] Compiling BackedCodable BackedDecodable.swift
[7/21] Compiling BackedCodable PathComponent.swift
[8/21] Compiling BackedCodable PathDecoder.Element.swift
/Users/admin/builder/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 |
[9/21] Compiling BackedCodable PathDecoder.swift
/Users/admin/builder/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 |
[10/21] Compiling BackedCodable Backed+ConditionalProtocolConformances.swift
[11/21] Compiling BackedCodable Backed+Init.swift
[12/21] Compiling BackedCodable DateDecoder.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/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)
/Users/admin/builder/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 |
[13/21] Compiling BackedCodable LossyDecoder.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/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)
/Users/admin/builder/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 |
[14/21] Compiling BackedCodable Decoder+PathDecoder.swift
[15/21] Compiling BackedCodable PathCodingKey.swift
[16/21] Emitting module BackedCodable
/Users/admin/builder/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 |
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |     }
/Users/admin/builder/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:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.12, *)
 2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
 3 |     open var timeZone: TimeZone! { get set }
 4 |     open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/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)
/Users/admin/builder/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() {}
[17/21] Compiling BackedCodable BackingDecoder.swift
/Users/admin/builder/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 |
[18/21] Compiling BackedCodable BackingDecoderContext.swift
/Users/admin/builder/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 |
[19/21] Compiling BackedCodable BackedError.swift
[20/21] Compiling BackedCodable EmptyDecodable.swift
[21/21] Compiling BackedCodable PathFilter.swift
[22/25] Compiling BackedCodableStubs PlainSwiftStub.swift
[23/25] Compiling BackedCodableStubs Helpers.swift
[24/25] Compiling BackedCodableStubs BackedStub.swift
[25/25] Emitting module BackedCodableStubs
Build complete! (18.08s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BackedCodable",
  "name" : "BackedCodable",
  "path" : "/Users/admin/builder/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"
}
Done.