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 (cc5845), with Swift 5.10 for Linux on 19 Jun 2025 01:23:50 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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.64.0
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 cc58455 Merge pull request #12 from swhitty/KeyEncodingDecodingStrategies
Cloned https://github.com/swhitty/KeyValueCoder.git
Revision (git rev-parse @):
cc58455e4f89c79470afe8f348db6b83e037b9f2
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-3":/host -w "$PWD" 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:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
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] Compiling KeyValueCoder KeyValueEncoder.swift
/host/spi-builder-workspace/Sources/KeyValueEncoder.swift:81: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:87: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 {
           ^
/host/spi-builder-workspace/Sources/KeyValueEncoder.swift:32:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[5/6] Emitting module KeyValueCoder
[6/6] Compiling KeyValueCoder KeyValueDecoder.swift
Build complete! (5.49s)
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.9"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:c30bb8beee7254e839cc0142f4ae78578b8fc8e8159324cc3637097cc1b395b6
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.