This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ikesyo/Himotoki.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ikesyo/Himotoki
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 '/Users/admin/builder/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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ikesyo/Himotoki.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/13] Compiling Himotoki RawRepresentable.swift
/Users/admin/builder/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[4/14] Compiling Himotoki Operators.swift
[5/14] Compiling Himotoki NSNumber.swift
[6/14] Compiling Himotoki Transformer.swift
[7/14] Compiling Himotoki KeyPath.swift
/Users/admin/builder/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[8/14] Compiling Himotoki StandardLib.swift
/Users/admin/builder/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[9/14] Compiling Himotoki Extractor.swift
[10/14] Compiling Himotoki decode.swift
[11/14] Compiling Himotoki DecodeError.swift
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[12/14] Emitting module Himotoki
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[13/14] Compiling Himotoki Casting.swift
/Users/admin/builder/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[14/14] Compiling Himotoki Decodable.swift
/Users/admin/builder/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
Build complete! (20.93s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Himotoki",
  "name" : "Himotoki",
  "path" : "/Users/admin/builder/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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.