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.1 for Linux on 28 Apr 2025 01:45:25 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/tattn/MoreCodable.git
https://github.com/tattn/MoreCodable.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MoreCodable",
  "name" : "MoreCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "MoreCodable",
      "targets" : [
        "MoreCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "MoreCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "MoreCodableTests",
      "path" : "Tests",
      "sources" : [
        "CodableAnyTests.swift",
        "CodableDictionaryTests.swift",
        "DictionaryCachableEncoderTests.swift",
        "DictionaryDecoderTests.swift",
        "DictionaryEncoderTests.swift",
        "FailableTests.swift",
        "MoreJSONDecoderTests.swift",
        "MoreJSONEncoderTests.swift",
        "ObjectMergerTests.swift",
        "RuleBasedCodingKeyTests.swift",
        "StringToTests.swift",
        "URLQueryItemsDecoderTests.swift",
        "URLQueryItemsEncoderTests.swift"
      ],
      "target_dependencies" : [
        "MoreCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MoreCodable",
      "module_type" : "SwiftTarget",
      "name" : "MoreCodable",
      "path" : "Sources",
      "product_memberships" : [
        "MoreCodable"
      ],
      "sources" : [
        "AnyCodingKey.swift",
        "CodableAny.swift",
        "CodableDictionary.swift",
        "DictionaryCachableEncoder.swift",
        "DictionaryDecoder.swift",
        "DictionaryEncoder.swift",
        "Failable.swift",
        "InternalFunction.swift",
        "MoreJSONDecoder.swift",
        "MoreJSONEncoder.swift",
        "MultiDateFormat.swift",
        "ObjectMerger.swift",
        "RuleBasedCodingKey.swift",
        "Storage.swift",
        "StringTo.swift",
        "URLQueryItem+.swift",
        "URLQueryItemsDecoder.swift",
        "URLQueryItemsEncoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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: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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                           `- 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/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: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
     |                           `- 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: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
     |                           `- 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: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
     |     `- 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 AnyCodingKey.swift
[5/21] Compiling MoreCodable CodableAny.swift
[6/21] Compiling MoreCodable CodableDictionary.swift
[7/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))
[8/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))
[9/21] Compiling MoreCodable Failable.swift
[10/21] Compiling MoreCodable InternalFunction.swift
[11/21] Compiling MoreCodable MultiDateFormat.swift
[12/21] Compiling MoreCodable ObjectMerger.swift
[13/21] Compiling MoreCodable RuleBasedCodingKey.swift
[14/21] Compiling MoreCodable Storage.swift
[15/21] Compiling MoreCodable MoreJSONDecoder.swift
/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: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
     |                           `- 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: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
     |                           `- 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: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
     |     `- 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")
[16/21] Compiling MoreCodable MoreJSONEncoder.swift
/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: add '@MainActor' to make static property 'prettyPrinted' part of global actor 'MainActor'
     |                           `- 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: add '@MainActor' to make static property 'sortedKeys' part of global actor 'MainActor'
     |                           `- 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: add '@MainActor' to make var '_iso8601Formatter' part of global actor 'MainActor'
     |     `- 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")
[17/21] Compiling MoreCodable StringTo.swift
[18/21] Compiling MoreCodable URLQueryItem+.swift
[19/21] Compiling MoreCodable DictionaryCachableEncoder.swift
/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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                           `- 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/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/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 |
[20/21] Compiling MoreCodable DictionaryDecoder.swift
/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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                           `- 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/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/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 |
[21/21] Compiling MoreCodable DictionaryEncoder.swift
/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/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                           `- 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/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/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling MoreCodable MultiDateFormat.swift
[3/18] Compiling MoreCodable ObjectMerger.swift
[4/20] Compiling MoreCodable Failable.swift
[5/20] Compiling MoreCodable InternalFunction.swift
[6/20] Compiling MoreCodable AnyCodingKey.swift
[7/20] Compiling MoreCodable CodableAny.swift
[8/20] Compiling MoreCodable CodableDictionary.swift
[9/20] Compiling MoreCodable StringTo.swift
[10/20] Compiling MoreCodable URLQueryItem+.swift
[11/20] Compiling MoreCodable RuleBasedCodingKey.swift
[12/20] Compiling MoreCodable Storage.swift
[13/20] Compiling MoreCodable DictionaryCachableEncoder.swift
/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/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 |
[14/20] Compiling MoreCodable DictionaryDecoder.swift
/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/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 |
[15/20] Compiling MoreCodable DictionaryEncoder.swift
/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/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 |
[16/20] Emitting module MoreCodable
/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/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))
[17/20] 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))
[18/20] 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))
[19/20] Compiling MoreCodable MoreJSONDecoder.swift
[20/20] Compiling MoreCodable MoreJSONEncoder.swift
BUILD FAILURE 6.1 linux