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 deep-codable 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/MPLew-is/deep-codable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MPLew-is/deep-codable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 079afbc Merge pull request #1 from MPLew-is/flattened-intermediate-keys
Cloned https://github.com/MPLew-is/deep-codable.git
Revision (git rev-parse @):
079afbc0f7667299d58eae076224abbc7f677a4f
SUCCESS checkout https://github.com/MPLew-is/deep-codable.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/MPLew-is/deep-codable.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/9] Compiling DeepCodable Value.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeepCodable/Value.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  5 | */
  6 | @propertyWrapper
  7 | public struct DeepCodingValue<Value> {
    |                               `- note: 'Value' previously declared here
  8 | 	/**
  9 | 	Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
    :
 14 | 	By storing a reference to a class (and declaring the `set` implementation on `wrappedValue` as `nonmutating`), we can successfully write values to the underlying storage without mutating the actual wrapper struct, thus giving our users a simpler interface for declaring values to decode.
 15 | 	*/
 16 | 	fileprivate class Storage<Value> {
    |                            `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 | 		/// Simple enum indicating the storage's initialization state
 18 | 		fileprivate enum Wrapped<Value> {
/Users/admin/builder/spi-builder-workspace/Sources/DeepCodable/Value.swift:18:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  5 | */
  6 | @propertyWrapper
  7 | public struct DeepCodingValue<Value> {
    |                               `- note: 'Value' previously declared here
  8 | 	/**
  9 | 	Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
    :
 16 | 	fileprivate class Storage<Value> {
 17 | 		/// Simple enum indicating the storage's initialization state
 18 | 		fileprivate enum Wrapped<Value> {
    |                            `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 19 | 			case empty
 20 | 			case value(Value)
[4/9] Compiling DeepCodable Node.swift
[5/9] Compiling DeepCodable Encodable.swift
[6/9] Compiling DeepCodable Tree.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeepCodable/Tree.swift:20:28: warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | ```
 16 | */
 17 | public struct DeepCodingTree<Root> {
    |                              `- note: 'Root' previously declared here
 18 | 	/// Helper object to enable result builder syntax for defining a coding tree
 19 | 	@resultBuilder
 20 | 	public struct TreeBuilder<Root> {
    |                            `- warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 21 | 		/// Shortcut alias for the type of a node in the tree
 22 | 		public typealias Node = DeepCodingNode<Root>
[7/9] Emitting module DeepCodable
/Users/admin/builder/spi-builder-workspace/Sources/DeepCodable/Tree.swift:20:28: warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | ```
 16 | */
 17 | public struct DeepCodingTree<Root> {
    |                              `- note: 'Root' previously declared here
 18 | 	/// Helper object to enable result builder syntax for defining a coding tree
 19 | 	@resultBuilder
 20 | 	public struct TreeBuilder<Root> {
    |                            `- warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 21 | 		/// Shortcut alias for the type of a node in the tree
 22 | 		public typealias Node = DeepCodingNode<Root>
/Users/admin/builder/spi-builder-workspace/Sources/DeepCodable/Value.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  5 | */
  6 | @propertyWrapper
  7 | public struct DeepCodingValue<Value> {
    |                               `- note: 'Value' previously declared here
  8 | 	/**
  9 | 	Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
    :
 14 | 	By storing a reference to a class (and declaring the `set` implementation on `wrappedValue` as `nonmutating`), we can successfully write values to the underlying storage without mutating the actual wrapper struct, thus giving our users a simpler interface for declaring values to decode.
 15 | 	*/
 16 | 	fileprivate class Storage<Value> {
    |                            `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 | 		/// Simple enum indicating the storage's initialization state
 18 | 		fileprivate enum Wrapped<Value> {
/Users/admin/builder/spi-builder-workspace/Sources/DeepCodable/Value.swift:18:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
  5 | */
  6 | @propertyWrapper
  7 | public struct DeepCodingValue<Value> {
    |                               `- note: 'Value' previously declared here
  8 | 	/**
  9 | 	Simple reference-semantics storage container for the property wrapper, to sidestep `KeyPath` limitations
    :
 16 | 	fileprivate class Storage<Value> {
 17 | 		/// Simple enum indicating the storage's initialization state
 18 | 		fileprivate enum Wrapped<Value> {
    |                            `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 19 | 			case empty
 20 | 			case value(Value)
[8/9] Compiling DeepCodable Codable.swift
[9/9] Compiling DeepCodable Decodable.swift
Build complete! (4.31s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "deep-codable",
  "name" : "deep-codable",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DeepCodable",
      "targets" : [
        "DeepCodable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeepCodableTests",
      "module_type" : "SwiftTarget",
      "name" : "DeepCodableTests",
      "path" : "Tests/DeepCodableTests",
      "sources" : [
        "BareEncodingTests.swift",
        "DecodingTests.swift",
        "RealWorldDecodingTests.swift",
        "WrappedEncodingTests.swift"
      ],
      "target_dependencies" : [
        "DeepCodable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeepCodable",
      "module_type" : "SwiftTarget",
      "name" : "DeepCodable",
      "path" : "Sources/DeepCodable",
      "product_memberships" : [
        "DeepCodable"
      ],
      "sources" : [
        "Codable.swift",
        "Decodable.swift",
        "Encodable.swift",
        "Node.swift",
        "Tree.swift",
        "Value.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.