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 Himotoki, reference 4.0.0 (58736b), with Swift 6.1 for Linux on 25 Apr 2025 14:16:11 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ikesyo/Himotoki.git
Reference: 4.0.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/ikesyo/Himotoki
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 58736bd Release 4.0.0
Submodule path 'Carthage/Checkouts/xcconfigs': checked out '8ed0ba267f6fb0b53343e11aad067314438a781c'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Cloned https://github.com/ikesyo/Himotoki.git
Revision (git rev-parse @):
58736bd328e218b4080b034d19211f0263e29b45
SUCCESS checkout https://github.com/ikesyo/Himotoki.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ikesyo/Himotoki.git
https://github.com/ikesyo/Himotoki.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Himotoki",
  "name" : "Himotoki",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Himotoki",
      "targets" : [
        "Himotoki"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "HimotokiTests",
      "module_type" : "SwiftTarget",
      "name" : "HimotokiTests",
      "path" : "Tests/HimotokiTests",
      "sources" : [
        "DecodableTest.swift",
        "DecodeErrorTest.swift",
        "DecodeWithRootKeyPathTest.swift",
        "KeyPathTest.swift",
        "NestedObjectParsingTest.swift",
        "RawRepresentableTest.swift",
        "TransformerTest.swift"
      ],
      "target_dependencies" : [
        "Himotoki"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Himotoki",
      "module_type" : "SwiftTarget",
      "name" : "Himotoki",
      "path" : "Sources",
      "product_memberships" : [
        "Himotoki"
      ],
      "sources" : [
        "Casting.swift",
        "Decodable.swift",
        "DecodeError.swift",
        "Extractor.swift",
        "KeyPath.swift",
        "NSNumber.swift",
        "Operators.swift",
        "RawRepresentable.swift",
        "StandardLib.swift",
        "Transformer.swift",
        "decode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Himotoki Operators.swift
[4/13] Compiling Himotoki Transformer.swift
[5/14] Emitting module Himotoki
/host/spi-builder-workspace/Sources/DecodeError.swift:10:10: warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
   |          `- warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
12 |     case custom(String)
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/DecodeError.swift:11:10: warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
   |          `- warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
12 |     case custom(String)
13 | }
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/KeyPath.swift:20:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
   :
18 |     }
19 |
20 |     public static let empty: KeyPath = KeyPath([])
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[6/14] Compiling Himotoki KeyPath.swift
/host/spi-builder-workspace/Sources/KeyPath.swift:20:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
   :
18 |     }
19 |
20 |     public static let empty: KeyPath = KeyPath([])
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[7/14] Compiling Himotoki NSNumber.swift
/host/spi-builder-workspace/Sources/KeyPath.swift:20:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
   :
18 |     }
19 |
20 |     public static let empty: KeyPath = KeyPath([])
   |                       |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'KeyPath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[8/14] Compiling Himotoki Casting.swift
[9/14] Compiling Himotoki Decodable.swift
[10/14] Compiling Himotoki DecodeError.swift
/host/spi-builder-workspace/Sources/DecodeError.swift:10:10: warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
   |          `- warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
12 |     case custom(String)
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/DecodeError.swift:11:10: warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
   |          `- warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
12 |     case custom(String)
13 | }
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
[11/14] Compiling Himotoki Extractor.swift
/host/spi-builder-workspace/Sources/DecodeError.swift:10:10: warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
   |          `- warning: associated value 'missingKeyPath' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
12 |     case custom(String)
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
/host/spi-builder-workspace/Sources/DecodeError.swift:11:10: warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
 9 | public enum DecodeError: Error, Hashable {
10 |     case missingKeyPath(KeyPath)
11 |     case typeMismatch(expected: String, actual: String, keyPath: KeyPath)
   |          `- warning: associated value 'typeMismatch(expected:actual:keyPath:)' of 'Sendable'-conforming enum 'DecodeError' has non-sendable type 'KeyPath'; this is an error in the Swift 6 language mode
12 |     case custom(String)
13 | }
/host/spi-builder-workspace/Sources/KeyPath.swift:9:15: note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
 7 | //
 8 |
 9 | public struct KeyPath: Hashable {
   |               `- note: consider making struct 'KeyPath' conform to the 'Sendable' protocol
10 |     public let components: [String]
11 |
[12/14] Compiling Himotoki decode.swift
[13/14] Compiling Himotoki RawRepresentable.swift
[14/14] Compiling Himotoki StandardLib.swift
Build complete! (8.24s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Himotoki",
  "name" : "Himotoki",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "Himotoki",
      "targets" : [
        "Himotoki"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "HimotokiTests",
      "module_type" : "SwiftTarget",
      "name" : "HimotokiTests",
      "path" : "Tests/HimotokiTests",
      "sources" : [
        "DecodableTest.swift",
        "DecodeErrorTest.swift",
        "DecodeWithRootKeyPathTest.swift",
        "KeyPathTest.swift",
        "NestedObjectParsingTest.swift",
        "RawRepresentableTest.swift",
        "TransformerTest.swift"
      ],
      "target_dependencies" : [
        "Himotoki"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Himotoki",
      "module_type" : "SwiftTarget",
      "name" : "Himotoki",
      "path" : "Sources",
      "product_memberships" : [
        "Himotoki"
      ],
      "sources" : [
        "Casting.swift",
        "Decodable.swift",
        "DecodeError.swift",
        "Extractor.swift",
        "KeyPath.swift",
        "NSNumber.swift",
        "Operators.swift",
        "RawRepresentable.swift",
        "StandardLib.swift",
        "Transformer.swift",
        "decode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.