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 MoreCodable, reference 1.3.2 (95e3cc), with Swift 6.0 for Linux on 3 Nov 2024 22:06:50 UTC.

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/tattn/MoreCodable.git
Reference: 1.3.2
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/tattn/MoreCodable
 * tag               1.3.2      -> FETCH_HEAD
HEAD is now at 95e3cc7 Update build settings
Cloned https://github.com/tattn/MoreCodable.git
Revision (git rev-parse @):
95e3cc73810e1958a81a01d189a318828b14e44f
SUCCESS checkout https://github.com/tattn/MoreCodable.git at 1.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/tattn/MoreCodable.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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/19] Emitting module MoreCodable
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:39:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension DictionaryCachableEncoder {
38 |     open class DefaultCache: DictionaryCachableCacheProtocol {
   |                `- note: class 'DefaultCache' does not conform to the 'Sendable' protocol
39 |         public static let shared = DefaultCache()
   |                           |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'shared' 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
40 |
41 |         open var storage: [AnyHashable: Any] = [:]
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:33:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | // MARK: cache related
32 |
33 | public protocol DictionaryCachableCacheProtocol: class {
   |                                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
113 |         return try unbox(container, as: T.self)
114 |     }
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:67:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 68 |         do {
 69 |             return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
  29 |
  30 |     /// The formatting of the output JSON data.
  31 |     public struct OutputFormatting : OptionSet {
     |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
  32 |         /// The format's default value.
  33 |         public let rawValue: UInt
     :
  39 |
  40 |         /// Produce human-readable JSON with indented output.
  41 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
     |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'prettyPrinted' 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
  42 |
  43 |         /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
  29 |
  30 |     /// The formatting of the output JSON data.
  31 |     public struct OutputFormatting : OptionSet {
     |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
  32 |         /// The format's default value.
  33 |         public let rawValue: UInt
     :
  43 |         /// Produce JSON with dictionary keys sorted in lexicographic order.
  44 |         @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
  45 |         public static let sortedKeys    = OutputFormatting(rawValue: 1 << 1)
     |                           |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'sortedKeys' 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
  46 |     }
  47 |
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:1020:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1018 |
1019 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1020 | var _iso8601Formatter: DateFormatter = {
     |     |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: annotate '_iso8601Formatter' 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
1021 |     let formatter = DateFormatter()
1022 |     formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/URLQueryItemsDecoder.swift:71:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 69 |
 70 | extension URLQueryItemsDecoder {
 71 |     open func decode<T: Decodable>(_ type: T.Type, from container: [URLQueryItem]) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 72 |         storage.push(container: container)
 73 |         return try T(from: self)
/host/spi-builder-workspace/Sources/URLQueryItemsEncoder.swift:37:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |
 36 | extension URLQueryItemsEncoder {
 37 |     open func encode<T: Encodable>(_ value: T) throws -> [URLQueryItem] {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 38 |         do {
 39 |             return try castOrThrow([URLQueryItem].self, try box(value))
[4/21] Compiling MoreCodable URLQueryItemsDecoder.swift
/host/spi-builder-workspace/Sources/URLQueryItemsDecoder.swift:71:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 69 |
 70 | extension URLQueryItemsDecoder {
 71 |     open func decode<T: Decodable>(_ type: T.Type, from container: [URLQueryItem]) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 72 |         storage.push(container: container)
 73 |         return try T(from: self)
/host/spi-builder-workspace/Sources/URLQueryItemsEncoder.swift:37:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |
 36 | extension URLQueryItemsEncoder {
 37 |     open func encode<T: Encodable>(_ value: T) throws -> [URLQueryItem] {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 38 |         do {
 39 |             return try castOrThrow([URLQueryItem].self, try box(value))
[5/21] Compiling MoreCodable URLQueryItemsEncoder.swift
/host/spi-builder-workspace/Sources/URLQueryItemsDecoder.swift:71:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 69 |
 70 | extension URLQueryItemsDecoder {
 71 |     open func decode<T: Decodable>(_ type: T.Type, from container: [URLQueryItem]) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 72 |         storage.push(container: container)
 73 |         return try T(from: self)
/host/spi-builder-workspace/Sources/URLQueryItemsEncoder.swift:37:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 35 |
 36 | extension URLQueryItemsEncoder {
 37 |     open func encode<T: Encodable>(_ value: T) throws -> [URLQueryItem] {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 38 |         do {
 39 |             return try castOrThrow([URLQueryItem].self, try box(value))
[6/21] Compiling MoreCodable DictionaryCachableEncoder.swift
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:39:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension DictionaryCachableEncoder {
38 |     open class DefaultCache: DictionaryCachableCacheProtocol {
   |                `- note: class 'DefaultCache' does not conform to the 'Sendable' protocol
39 |         public static let shared = DefaultCache()
   |                           |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'shared' 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
40 |
41 |         open var storage: [AnyHashable: Any] = [:]
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:33:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | // MARK: cache related
32 |
33 | public protocol DictionaryCachableCacheProtocol: class {
   |                                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
113 |         return try unbox(container, as: T.self)
114 |     }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:83:25: error: 'let' binding pattern cannot appear in an expression
 81 |             return date
 82 |
 83 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
 84 |             let container = SingleValueContainer(decoder: self)
 85 |             let string = try container.decode(String.self)
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:1020:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1018 |
1019 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1020 | var _iso8601Formatter: DateFormatter = {
     |     |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: annotate '_iso8601Formatter' 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
1021 |     let formatter = DateFormatter()
1022 |     formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:67:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 68 |         do {
 69 |             return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:56:25: error: 'let' binding pattern cannot appear in an expression
 54 |             return _iso8601Formatter.string(from: date)
 55 |
 56 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
 57 |             return formatter.string(from: date)
 58 |
[7/21] Compiling MoreCodable DictionaryDecoder.swift
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:39:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension DictionaryCachableEncoder {
38 |     open class DefaultCache: DictionaryCachableCacheProtocol {
   |                `- note: class 'DefaultCache' does not conform to the 'Sendable' protocol
39 |         public static let shared = DefaultCache()
   |                           |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'shared' 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
40 |
41 |         open var storage: [AnyHashable: Any] = [:]
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:33:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | // MARK: cache related
32 |
33 | public protocol DictionaryCachableCacheProtocol: class {
   |                                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
113 |         return try unbox(container, as: T.self)
114 |     }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:83:25: error: 'let' binding pattern cannot appear in an expression
 81 |             return date
 82 |
 83 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
 84 |             let container = SingleValueContainer(decoder: self)
 85 |             let string = try container.decode(String.self)
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:1020:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1018 |
1019 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1020 | var _iso8601Formatter: DateFormatter = {
     |     |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: annotate '_iso8601Formatter' 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
1021 |     let formatter = DateFormatter()
1022 |     formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:67:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 68 |         do {
 69 |             return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:56:25: error: 'let' binding pattern cannot appear in an expression
 54 |             return _iso8601Formatter.string(from: date)
 55 |
 56 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
 57 |             return formatter.string(from: date)
 58 |
[8/21] Compiling MoreCodable DictionaryEncoder.swift
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:39:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | extension DictionaryCachableEncoder {
38 |     open class DefaultCache: DictionaryCachableCacheProtocol {
   |                `- note: class 'DefaultCache' does not conform to the 'Sendable' protocol
39 |         public static let shared = DefaultCache()
   |                           |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DictionaryCachableEncoder.DefaultCache' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'shared' 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
40 |
41 |         open var storage: [AnyHashable: Any] = [:]
/host/spi-builder-workspace/Sources/DictionaryCachableEncoder.swift:33:50: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 | // MARK: cache related
32 |
33 | public protocol DictionaryCachableCacheProtocol: class {
   |                                                  `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
113 |         return try unbox(container, as: T.self)
114 |     }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:83:25: error: 'let' binding pattern cannot appear in an expression
 81 |             return date
 82 |
 83 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
 84 |             let container = SingleValueContainer(decoder: self)
 85 |             let string = try container.decode(String.self)
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:1020:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1018 |
1019 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1020 | var _iso8601Formatter: DateFormatter = {
     |     |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: annotate '_iso8601Formatter' 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
1021 |     let formatter = DateFormatter()
1022 |     formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:67:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
 68 |         do {
 69 |             return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:56:25: error: 'let' binding pattern cannot appear in an expression
 54 |             return _iso8601Formatter.string(from: date)
 55 |
 56 |         case .formatted(let formatter):
    |                         `- error: 'let' binding pattern cannot appear in an expression
 57 |             return formatter.string(from: date)
 58 |
[9/21] Compiling MoreCodable AnyCodingKey.swift
[10/21] Compiling MoreCodable CodableAny.swift
[11/21] Compiling MoreCodable CodableDictionary.swift
[12/21] Compiling MoreCodable Failable.swift
[13/21] Compiling MoreCodable InternalFunction.swift
[14/21] Compiling MoreCodable MoreJSONDecoder.swift
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:1020:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1018 |
1019 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1020 | var _iso8601Formatter: DateFormatter = {
     |     |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: annotate '_iso8601Formatter' 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
1021 |     let formatter = DateFormatter()
1022 |     formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
  29 |
  30 |     /// The formatting of the output JSON data.
  31 |     public struct OutputFormatting : OptionSet {
     |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
  32 |         /// The format's default value.
  33 |         public let rawValue: UInt
     :
  39 |
  40 |         /// Produce human-readable JSON with indented output.
  41 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
     |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'prettyPrinted' 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
  42 |
  43 |         /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
  29 |
  30 |     /// The formatting of the output JSON data.
  31 |     public struct OutputFormatting : OptionSet {
     |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
  32 |         /// The format's default value.
  33 |         public let rawValue: UInt
     :
  43 |         /// Produce JSON with dictionary keys sorted in lexicographic order.
  44 |         @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
  45 |         public static let sortedKeys    = OutputFormatting(rawValue: 1 << 1)
     |                           |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'sortedKeys' 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
  46 |     }
  47 |
[15/21] Compiling MoreCodable MoreJSONEncoder.swift
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:1020:5: warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1018 |
1019 | // NOTE: This value is implicitly lazy and _must_ be lazy. We're compiled against the latest SDK (w/ ISO8601DateFormatter), but linked against whichever Foundation the user has. ISO8601DateFormatter might not exist, so we better not hit this code path on an older OS.
1020 | var _iso8601Formatter: DateFormatter = {
     |     |- warning: var '_iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |     |- note: convert '_iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
     |     |- note: annotate '_iso8601Formatter' 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
1021 |     let formatter = DateFormatter()
1022 |     formatter.locale = Locale(identifier: "en_US_POSIX")
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:41:27: warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
  29 |
  30 |     /// The formatting of the output JSON data.
  31 |     public struct OutputFormatting : OptionSet {
     |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
  32 |         /// The format's default value.
  33 |         public let rawValue: UInt
     :
  39 |
  40 |         /// Produce human-readable JSON with indented output.
  41 |         public static let prettyPrinted = OutputFormatting(rawValue: 1 << 0)
     |                           |- warning: static property 'prettyPrinted' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'prettyPrinted' 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
  42 |
  43 |         /// Produce JSON with dictionary keys sorted in lexicographic order.
/host/spi-builder-workspace/Sources/MoreJSONEncoder.swift:45:27: warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
  29 |
  30 |     /// The formatting of the output JSON data.
  31 |     public struct OutputFormatting : OptionSet {
     |                   `- note: consider making struct 'OutputFormatting' conform to the 'Sendable' protocol
  32 |         /// The format's default value.
  33 |         public let rawValue: UInt
     :
  43 |         /// Produce JSON with dictionary keys sorted in lexicographic order.
  44 |         @available(macOS 10.13, iOS 11.0, watchOS 4.0, tvOS 11.0, *)
  45 |         public static let sortedKeys    = OutputFormatting(rawValue: 1 << 1)
     |                           |- warning: static property 'sortedKeys' is not concurrency-safe because non-'Sendable' type 'MoreJSONEncoder.OutputFormatting' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'sortedKeys' 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
  46 |     }
  47 |
[16/21] Compiling MoreCodable MultiDateFormat.swift
[17/21] Compiling MoreCodable ObjectMerger.swift
[18/21] Compiling MoreCodable StringTo.swift
[19/21] Compiling MoreCodable URLQueryItem+.swift
[20/21] Compiling MoreCodable RuleBasedCodingKey.swift
[21/21] Compiling MoreCodable Storage.swift
BUILD FAILURE 6.0 linux