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 (900eaf), with Swift 5.9 for Linux on 5 Jun 2025 06:56:59 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.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 900eaff Xcode 16.4
Cloned https://github.com/swhitty/KeyValueCoder.git
Revision (git rev-parse @):
900eaff1073310e9c2cb94f765d3de9636b7a12c
SUCCESS checkout https://github.com/swhitty/KeyValueCoder.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/4] Compiling KeyValueCoder UserDefaults+Codable.swift
[2/4] Compiling KeyValueCoder KeyValueDecoder.swift
[3/4] Emitting module KeyValueCoder
[4/4] Compiling KeyValueCoder KeyValueEncoder.swift
/host/spi-builder-workspace/Sources/KeyValueEncoder.swift:69: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:75: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
Build complete! (10.77s)
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.9-latest: Pulling from finestructure/spi-images
Digest: sha256:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.