The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MoreCodable, reference 1.3.2 (95e3cc), with Swift 6.2 (beta) for Linux on 20 Jun 2025 19:04:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path:  $PWD
https://github.com/tattn/MoreCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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 [#deprecation]
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 [#deprecation]
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
113 |         return try unbox(container, as: T.self)
114 |     }
/host/spi-builder-workspace/Sources/DictionaryEncoder.swift:67:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 68 |         do {
 69 |             return try castOrThrow([String: Any].self, try box(value))
/host/spi-builder-workspace/Sources/URLQueryItem+.swift:11:1: warning: extension declares a conformance of imported type 'URLQueryItem' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 9 | import Foundation
10 |
11 | extension URLQueryItem: Codable {
   | |- warning: extension declares a conformance of imported type 'URLQueryItem' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     enum CodingKeys: String, CodingKey {
13 |         case name
/host/spi-builder-workspace/Sources/URLQueryItemsDecoder.swift:71:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 69 |
 70 | extension URLQueryItemsDecoder {
 71 |     open func decode<T: Decodable>(_ type: T.Type, from container: [URLQueryItem]) throws -> T {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 35 |
 36 | extension URLQueryItemsEncoder {
 37 |     open func encode<T: Encodable>(_ value: T) throws -> [URLQueryItem] {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 38 |         do {
 39 |             return try castOrThrow([URLQueryItem].self, try box(value))
[4/21] Compiling MoreCodable StringTo.swift
/host/spi-builder-workspace/Sources/URLQueryItem+.swift:11:1: warning: extension declares a conformance of imported type 'URLQueryItem' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 9 | import Foundation
10 |
11 | extension URLQueryItem: Codable {
   | |- warning: extension declares a conformance of imported type 'URLQueryItem' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     enum CodingKeys: String, CodingKey {
13 |         case name
[5/21] Compiling MoreCodable URLQueryItem+.swift
/host/spi-builder-workspace/Sources/URLQueryItem+.swift:11:1: warning: extension declares a conformance of imported type 'URLQueryItem' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
 9 | import Foundation
10 |
11 | extension URLQueryItem: Codable {
   | |- warning: extension declares a conformance of imported type 'URLQueryItem' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'FoundationEssentials' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
12 |     enum CodingKeys: String, CodingKey {
13 |         case name
[6/21] Compiling MoreCodable URLQueryItemsDecoder.swift
/host/spi-builder-workspace/Sources/URLQueryItemsDecoder.swift:71:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 69 |
 70 | extension URLQueryItemsDecoder {
 71 |     open func decode<T: Decodable>(_ type: T.Type, from container: [URLQueryItem]) throws -> T {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 35 |
 36 | extension URLQueryItemsEncoder {
 37 |     open func encode<T: Encodable>(_ value: T) throws -> [URLQueryItem] {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 38 |         do {
 39 |             return try castOrThrow([URLQueryItem].self, try box(value))
[7/21] Compiling MoreCodable URLQueryItemsEncoder.swift
/host/spi-builder-workspace/Sources/URLQueryItemsDecoder.swift:71:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 69 |
 70 | extension URLQueryItemsDecoder {
 71 |     open func decode<T: Decodable>(_ type: T.Type, from container: [URLQueryItem]) throws -> T {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 35 |
 36 | extension URLQueryItemsEncoder {
 37 |     open func encode<T: Encodable>(_ value: T) throws -> [URLQueryItem] {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 38 |         do {
 39 |             return try castOrThrow([URLQueryItem].self, try box(value))
[8/21] Compiling MoreCodable RuleBasedCodingKey.swift
[9/21] Compiling MoreCodable Storage.swift
[10/21] Compiling MoreCodable AnyCodingKey.swift
[11/21] Compiling MoreCodable CodableAny.swift
[12/21] Compiling MoreCodable CodableDictionary.swift
[13/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 [#deprecation]
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 [#deprecation]
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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/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 [#deprecation]
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 [#deprecation]
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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/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 [#deprecation]
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 [#deprecation]
34 |     var storage: [AnyHashable: Any] { get set }
35 | }
/host/spi-builder-workspace/Sources/DictionaryDecoder.swift:112:5: warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
110 |
111 | extension DictionaryDecoder {
112 |     open func decode<T : Decodable>(_ type: T.Type, from container: Any) throws -> T {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
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 declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 65 |
 66 | extension DictionaryEncoder {
 67 |     open func encode<T: Encodable>(_ value: T) throws -> [String: Any] {
    |     `- warning: non-'@objc' instance method declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
 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/21] Compiling MoreCodable Failable.swift
[17/21] Compiling MoreCodable InternalFunction.swift
[18/21] Compiling MoreCodable MoreJSONDecoder.swift
[19/21] Compiling MoreCodable MoreJSONEncoder.swift
[20/21] Compiling MoreCodable MultiDateFormat.swift
[21/21] Compiling MoreCodable ObjectMerger.swift
BUILD FAILURE 6.2 linux