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 KeyValueCoder, reference main (5b5673), with Swift 5.10 for Linux on 6 Sep 2025 02:39:33 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swhitty/KeyValueCoder.git
Reference: main
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/swhitty/KeyValueCoder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5b56732 Update README.md
Cloned https://github.com/swhitty/KeyValueCoder.git
Revision (git rev-parse @):
5b567323daae0cd8cea4882ff8234d118149e92b
SUCCESS checkout https://github.com/swhitty/KeyValueCoder.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/swhitty/KeyValueCoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling KeyValueCoder UserDefaults+Codable.swift
[4/6] Emitting module KeyValueCoder
[5/6] Compiling KeyValueCoder KeyValueDecoder.swift
/host/spi-builder-workspace/Sources/KeyValueDecoder.swift:121:43: warning: capture of 'options' with non-sendable type 'ISO8601DateFormatter.Options' in a `@Sendable` closure
                formatter.formatOptions = options
                                          ^
Foundation.ISO8601DateFormatter:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
    public struct Options : OptionSet {
                  ^
/host/spi-builder-workspace/Sources/KeyValueDecoder.swift:32:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[6/6] Compiling KeyValueCoder KeyValueEncoder.swift
/host/spi-builder-workspace/Sources/KeyValueEncoder.swift:92:43: warning: capture of 'options' with non-sendable type 'ISO8601DateFormatter.Options' in a `@Sendable` closure
                formatter.formatOptions = options
                                          ^
Foundation.ISO8601DateFormatter:2:19: note: struct 'Options' does not conform to the 'Sendable' protocol
    public struct Options : OptionSet {
                  ^
/host/spi-builder-workspace/Sources/KeyValueEncoder.swift:32:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/KeyValueEncoder.swift:108:120: warning: converting non-sendable function value to '@Sendable (Any) -> Bool' may introduce data races
    public static var `default`: NilCodingStrategy { .placeholder(Optional<any Sendable>.none as any Sendable, isNull: isOptionalNone) }
                                                                                                                       ^
/host/spi-builder-workspace/Sources/KeyValueEncoder.swift:114:64: warning: type 'NSNull' does not conform to the 'Sendable' protocol
    public static var nsNull: NilCodingStrategy { .placeholder(NSNull(), isNull: { $0 is NSNull }) }
                                                               ^
Foundation.NSNull:1:12: note: class 'NSNull' does not conform to the 'Sendable' protocol
open class NSNull : NSObject, NSCopying, NSSecureCoding {
           ^
Build complete! (6.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "KeyValueCoder",
  "name" : "KeyValueCoder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "KeyValueCoder",
      "targets" : [
        "KeyValueCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KeyValueCoderTests",
      "module_type" : "SwiftTarget",
      "name" : "KeyValueCoderTests",
      "path" : "Tests",
      "sources" : [
        "KeyValueDecoderTests.swift",
        "KeyValueDecoderXCTests.swift",
        "KeyValueEncoderTests.swift",
        "KeyValueEncoderXCTests.swift",
        "UserDefaults+CodableTests.swift",
        "UserDefaults+CodableXCTests.swift"
      ],
      "target_dependencies" : [
        "KeyValueCoder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KeyValueCoder",
      "module_type" : "SwiftTarget",
      "name" : "KeyValueCoder",
      "path" : "Sources",
      "product_memberships" : [
        "KeyValueCoder"
      ],
      "sources" : [
        "KeyValueDecoder.swift",
        "KeyValueEncoder.swift",
        "UserDefaults+Codable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.