The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Codability, reference 0.2.1 (eb5bac), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 03:50:09 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/yonaskolb/Codability.git
Reference: 0.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yonaskolb/Codability
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at eb5bac7 Add changelog
Cloned https://github.com/yonaskolb/Codability.git
Revision (git rev-parse @):
eb5bac78e0679f521c3f058c1eb9be0dd657dadd
SUCCESS checkout https://github.com/yonaskolb/Codability.git at 0.2.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/yonaskolb/Codability.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/9] Compiling Codability RawCodingKey.swift
[4/9] Compiling Codability InvalidElementStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Codability/InvalidElementStrategy.swift:36:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public enum InvalidElementStrategy<T>: CustomStringConvertible {
    |                                    `- note: 'T' previously declared here
 11 |     case remove
 12 |     case fail
    :
 34 |     }
 35 |
 36 |     func toType<T>() -> InvalidElementStrategy<T> {
    |                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 37 |         switch self {
 38 |         case .remove:
[5/9] Compiling Codability GenericDecodingContainer.swift
[6/9] Compiling Codability KeyedEncodingContainer+Any.swift
[7/9] Compiling Codability KeyedDecodingContainer+Any.swift
[8/9] Emitting module Codability
/Users/admin/builder/spi-builder-workspace/Sources/Codability/InvalidElementStrategy.swift:36:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public enum InvalidElementStrategy<T>: CustomStringConvertible {
    |                                    `- note: 'T' previously declared here
 11 |     case remove
 12 |     case fail
    :
 34 |     }
 35 |
 36 |     func toType<T>() -> InvalidElementStrategy<T> {
    |                 `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 37 |         switch self {
 38 |         case .remove:
[9/9] Compiling Codability AnyCodable.swift
Build complete! (3.64s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Codability",
  "name" : "Codability",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Codability",
      "targets" : [
        "Codability"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CodabilityTests",
      "module_type" : "SwiftTarget",
      "name" : "CodabilityTests",
      "path" : "Tests/CodabilityTests",
      "sources" : [
        "AnyCodableTests.swift",
        "InvalidElementTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Codability"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Codability",
      "module_type" : "SwiftTarget",
      "name" : "Codability",
      "path" : "Sources/Codability",
      "product_memberships" : [
        "Codability"
      ],
      "sources" : [
        "AnyCodable.swift",
        "GenericDecodingContainer.swift",
        "InvalidElementStrategy.swift",
        "KeyedDecodingContainer+Any.swift",
        "KeyedEncodingContainer+Any.swift",
        "RawCodingKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.