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

Successful build of BetterCodable, reference 0.4.0 (611531), with Swift 6.2 (beta) for Linux on 19 Jun 2025 01:08:31 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/marksands/BetterCodable.git
Reference: 0.4.0
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/marksands/BetterCodable
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 6115317 Adds ISO8601WithFractionalSecondsStrategy
Cloned https://github.com/marksands/BetterCodable.git
Revision (git rev-parse @):
61153170668db7a46a20a87e35e70f80b24d4eb5
SUCCESS checkout https://github.com/marksands/BetterCodable.git at 0.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/marksands/BetterCodable.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/18] Emitting module BetterCodable
/host/spi-builder-workspace/Sources/BetterCodable/LossyDictionary.swift:32:40: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 | /// This is useful if the Dictionary is intended to contain non-optional values.
 6 | @propertyWrapper
 7 | public struct LossyDictionary<Key: Hashable, Value> {
   |                                              `- note: 'Value' previously declared here
 8 |     public var wrappedValue: [Key: Value]
 9 |
   :
30 |
31 |     private struct AnyDecodableValue: Decodable {}
32 |     private struct LossyDecodableValue<Value: Decodable>: Decodable {
   |                                        `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 |         let value: Value
34 |
[4/20] Compiling BetterCodable LossyDictionary.swift
/host/spi-builder-workspace/Sources/BetterCodable/LossyDictionary.swift:32:40: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 | /// This is useful if the Dictionary is intended to contain non-optional values.
 6 | @propertyWrapper
 7 | public struct LossyDictionary<Key: Hashable, Value> {
   |                                              `- note: 'Value' previously declared here
 8 |     public var wrappedValue: [Key: Value]
 9 |
   :
30 |
31 |     private struct AnyDecodableValue: Decodable {}
32 |     private struct LossyDecodableValue<Value: Decodable>: Decodable {
   |                                        `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 |         let value: Value
34 |
[5/20] Compiling BetterCodable LossyOptional.swift
/host/spi-builder-workspace/Sources/BetterCodable/LossyDictionary.swift:32:40: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 5 | /// This is useful if the Dictionary is intended to contain non-optional values.
 6 | @propertyWrapper
 7 | public struct LossyDictionary<Key: Hashable, Value> {
   |                                              `- note: 'Value' previously declared here
 8 |     public var wrappedValue: [Key: Value]
 9 |
   :
30 |
31 |     private struct AnyDecodableValue: Decodable {}
32 |     private struct LossyDecodableValue<Value: Decodable>: Decodable {
   |                                        `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 |         let value: Value
34 |
[6/20] Compiling BetterCodable DefaultEmptyDictionary.swift
[7/20] Compiling BetterCodable DefaultFalse.swift
[8/20] Compiling BetterCodable RFC2822Strategy.swift
[9/20] Compiling BetterCodable RFC3339Strategy.swift
[10/20] Compiling BetterCodable LosslessValue.swift
[11/20] Compiling BetterCodable LossyArray.swift
[12/20] Compiling BetterCodable ISO8601WithFractionalSecondsStrategy.swift
[13/20] Compiling BetterCodable LosslessArray.swift
[14/20] Compiling BetterCodable DefaultTrue.swift
[15/20] Compiling BetterCodable ISO8601Strategy.swift
[16/20] Compiling BetterCodable TimestampStrategy.swift
[17/20] Compiling BetterCodable YearMonthDayStrategy.swift
[18/20] Compiling BetterCodable DateValue.swift
[19/20] Compiling BetterCodable DefaultCodable.swift
[20/20] Compiling BetterCodable DefaultEmptyArray.swift
Build complete! (12.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BetterCodable",
  "name" : "BetterCodable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "BetterCodable",
      "targets" : [
        "BetterCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BetterCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "BetterCodableTests",
      "path" : "Tests/BetterCodableTests",
      "sources" : [
        "DateValueTests.swift",
        "DefaulEmptyDictionaryTests.swift",
        "DefaultEmptyArrayTests.swift",
        "DefaultFalseTests.swift",
        "DefaultTrueTests.swift",
        "LosslessArrayTests.swift",
        "LosslessCustomValueTests.swift",
        "LosslessValueTests.swift",
        "LossyArrayTests.swift",
        "LossyDictionaryTests.swift",
        "LossyOptionalTests.swift",
        "RawRepresentableTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BetterCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BetterCodable",
      "module_type" : "SwiftTarget",
      "name" : "BetterCodable",
      "path" : "Sources/BetterCodable",
      "product_memberships" : [
        "BetterCodable"
      ],
      "sources" : [
        "DateValue.swift",
        "DefaultCodable.swift",
        "DefaultEmptyArray.swift",
        "DefaultEmptyDictionary.swift",
        "DefaultFalse.swift",
        "DefaultTrue.swift",
        "ISO8601Strategy.swift",
        "ISO8601WithFractionalSecondsStrategy.swift",
        "LosslessArray.swift",
        "LosslessValue.swift",
        "LossyArray.swift",
        "LossyDictionary.swift",
        "LossyOptional.swift",
        "RFC2822Strategy.swift",
        "RFC3339Strategy.swift",
        "TimestampStrategy.swift",
        "YearMonthDayStrategy.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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
Done.