The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of KeyValueCoder, reference main (867e27), with Swift 5.9 for Linux on 18 Apr 2025 00:11:48 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-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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 867e27b Update README.md
Cloned https://github.com/swhitty/KeyValueCoder.git
Revision (git rev-parse @):
867e27b996141badb657c6eb6161d2b8f455fb74
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-1":/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:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
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 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
[3/4] Compiling KeyValueCoder KeyValueDecoder.swift
[4/4] Emitting module KeyValueCoder
Build complete! (6.94s)
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:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.