The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MoreCodable, reference master (95e3cc), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 18:58:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/MoreCodable.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tattn/MoreCodable
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/tattn/MoreCodable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/20] Compiling MoreCodable MoreJSONDecoder.swift
[4/20] Compiling MoreCodable MoreJSONEncoder.swift
[5/20] Compiling MoreCodable DictionaryDecoder.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryDecoder.swift:61:9: warning: switch covers known cases, but 'JSONDecoder.DateDecodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
 59 |
 60 |     private func unwrapDate() throws -> Date {
 61 |         switch dateDecodingStrategy {
    |         |- warning: switch covers known cases, but 'JSONDecoder.DateDecodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |         `- note: handle unknown values using "@unknown default"
 62 |         case .deferredToDate:
 63 |             return try Date(from: self)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryEncoder.swift:42:9: warning: switch covers known cases, but 'JSONEncoder.DateEncodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
 40 |
 41 |     func wrapDate(_ date: Date) throws -> Any {
 42 |         switch dateEncodingStrategy {
    |         |- warning: switch covers known cases, but 'JSONEncoder.DateEncodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |         `- note: handle unknown values using "@unknown default"
 43 |         case .deferredToDate:
 44 |             try date.encode(to: self)
[6/20] Compiling MoreCodable DictionaryEncoder.swift
/Users/admin/builder/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryDecoder.swift:61:9: warning: switch covers known cases, but 'JSONDecoder.DateDecodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
 59 |
 60 |     private func unwrapDate() throws -> Date {
 61 |         switch dateDecodingStrategy {
    |         |- warning: switch covers known cases, but 'JSONDecoder.DateDecodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |         `- note: handle unknown values using "@unknown default"
 62 |         case .deferredToDate:
 63 |             return try Date(from: self)
/Users/admin/builder/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))
/Users/admin/builder/spi-builder-workspace/Sources/DictionaryEncoder.swift:42:9: warning: switch covers known cases, but 'JSONEncoder.DateEncodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
 40 |
 41 |     func wrapDate(_ date: Date) throws -> Any {
 42 |         switch dateEncodingStrategy {
    |         |- warning: switch covers known cases, but 'JSONEncoder.DateEncodingStrategy' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |         `- note: handle unknown values using "@unknown default"
 43 |         case .deferredToDate:
 44 |             try date.encode(to: self)
[7/21] Compiling MoreCodable Failable.swift
[8/21] Compiling MoreCodable InternalFunction.swift
[9/21] Compiling MoreCodable RuleBasedCodingKey.swift
[10/21] Compiling MoreCodable Storage.swift
[11/21] Compiling MoreCodable MultiDateFormat.swift
[12/21] Compiling MoreCodable ObjectMerger.swift
[13/21] Compiling MoreCodable URLQueryItemsDecoder.swift
/Users/admin/builder/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)
[14/21] Compiling MoreCodable StringTo.swift
[15/21] Compiling MoreCodable URLQueryItem+.swift
[16/21] Compiling MoreCodable CodableDictionary.swift
/Users/admin/builder/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 | }
[17/21] Compiling MoreCodable DictionaryCachableEncoder.swift
/Users/admin/builder/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 | }
[18/21] Emitting module MoreCodable
/Users/admin/builder/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 | }
/Users/admin/builder/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 |     }
/Users/admin/builder/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))
/Users/admin/builder/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)
/Users/admin/builder/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))
[19/21] Compiling MoreCodable AnyCodingKey.swift
[20/21] Compiling MoreCodable CodableAny.swift
[21/21] Compiling MoreCodable URLQueryItemsEncoder.swift
/Users/admin/builder/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))
Build complete! (4.86s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MoreCodable",
  "name" : "MoreCodable",
  "path" : "/Users/admin/builder/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"
}
Done.