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 Ricemill, reference master (7ef039), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 10:05:16 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/marty-suzuki/Ricemill.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marty-suzuki/Ricemill
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7ef039a Update README
Cloned https://github.com/marty-suzuki/Ricemill.git
Revision (git rev-parse @):
7ef039a0c79704194f4cc082171824106bedbc60
SUCCESS checkout https://github.com/marty-suzuki/Ricemill.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "ricemill",
      "name": "Ricemill",
      "url": "https://github.com/marty-suzuki/Ricemill.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Ricemill",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/marty-suzuki/Ricemill.git
[1/104] Fetching ricemill
Fetched https://github.com/marty-suzuki/Ricemill.git from cache (0.57s)
Creating working copy for https://github.com/marty-suzuki/Ricemill.git
Working copy of https://github.com/marty-suzuki/Ricemill.git resolved at master (7ef039a)
warning: '.resolve-product-dependencies': dependency 'ricemill' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/marty-suzuki/Ricemill.git
https://github.com/marty-suzuki/Ricemill.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Ricemill",
  "name" : "Ricemill",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Ricemill",
      "targets" : [
        "Ricemill"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RicemillTests",
      "module_type" : "SwiftTarget",
      "name" : "RicemillTests",
      "path" : "Tests/RicemillTests",
      "sources" : [
        "RicemillTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Ricemill"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ricemill",
      "module_type" : "SwiftTarget",
      "name" : "Ricemill",
      "path" : "Sources/Ricemill",
      "product_memberships" : [
        "Ricemill"
      ],
      "sources" : [
        "AnyResolverBasedMachine.swift",
        "Machine.swift",
        "MachineType.swift",
        "Polished.swift",
        "Proxy.swift",
        "Publishing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/9] Compiling Ricemill Polished.swift
[4/9] Compiling Ricemill Proxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:61:59: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     /// - note: Assumed to be the difinition is @Published var string = "" for example.
 60 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Input, Subject>) -> Binding<Subject> {
 61 |         ObservedObject(initialValue: input).projectedValue[dynamicMember: keyPath]
    |                                                           `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 62 |     }
 63 | }
SwiftUICore.ObservedObject.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 |   struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }  }
  |                                   `- note: subscript declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:61:45: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 59 |     /// - note: Assumed to be the difinition is @Published var string = "" for example.
 60 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Input, Subject>) -> Binding<Subject> {
 61 |         ObservedObject(initialValue: input).projectedValue[dynamicMember: keyPath]
    |                                             `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 62 |     }
 63 | }
SwiftUICore.ObservedObject.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:61:9: warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |     /// - note: Assumed to be the difinition is @Published var string = "" for example.
 60 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Input, Subject>) -> Binding<Subject> {
 61 |         ObservedObject(initialValue: input).projectedValue[dynamicMember: keyPath]
    |         `- warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 62 |     }
 63 | }
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(initialValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(initialValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(initialValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:94:60: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |     /// - note: Assumed to be the difinition is @Published var isHidden = false for example.
 93 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Output, Subject>) -> Binding<Subject> {
 94 |         ObservedObject(initialValue: output).projectedValue[dynamicMember: keyPath]
    |                                                            `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 95 |     }
 96 | }
SwiftUICore.ObservedObject.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 |   struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }  }
  |                                   `- note: subscript declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:94:46: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |     /// - note: Assumed to be the difinition is @Published var isHidden = false for example.
 93 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Output, Subject>) -> Binding<Subject> {
 94 |         ObservedObject(initialValue: output).projectedValue[dynamicMember: keyPath]
    |                                              `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 95 |     }
 96 | }
SwiftUICore.ObservedObject.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
  |                                       `- note: property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:94:9: warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 92 |     /// - note: Assumed to be the difinition is @Published var isHidden = false for example.
 93 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Output, Subject>) -> Binding<Subject> {
 94 |         ObservedObject(initialValue: output).projectedValue[dynamicMember: keyPath]
    |         `- warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |     }
 96 | }
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(initialValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(initialValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(initialValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:61:9: warning: sending 'self.input' risks causing data races; this is an error in the Swift 6 language mode
 59 |     /// - note: Assumed to be the difinition is @Published var string = "" for example.
 60 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Input, Subject>) -> Binding<Subject> {
 61 |         ObservedObject(initialValue: input).projectedValue[dynamicMember: keyPath]
    |         |- warning: sending 'self.input' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'self.input' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
 62 |     }
 63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Ricemill/Proxy.swift:94:9: warning: sending 'self.output' risks causing data races; this is an error in the Swift 6 language mode
 92 |     /// - note: Assumed to be the difinition is @Published var isHidden = false for example.
 93 |     public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<Output, Subject>) -> Binding<Subject> {
 94 |         ObservedObject(initialValue: output).projectedValue[dynamicMember: keyPath]
    |         |- warning: sending 'self.output' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'self.output' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
 95 |     }
 96 | }
[5/9] Compiling Ricemill Machine.swift
[6/9] Emitting module Ricemill
[7/9] Compiling Ricemill Publishing.swift
[8/9] Compiling Ricemill MachineType.swift
[9/9] Compiling Ricemill AnyResolverBasedMachine.swift
Build complete! (8.27s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Ricemill",
  "name" : "Ricemill",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Ricemill",
      "targets" : [
        "Ricemill"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RicemillTests",
      "module_type" : "SwiftTarget",
      "name" : "RicemillTests",
      "path" : "Tests/RicemillTests",
      "sources" : [
        "RicemillTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Ricemill"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Ricemill",
      "module_type" : "SwiftTarget",
      "name" : "Ricemill",
      "path" : "Sources/Ricemill",
      "product_memberships" : [
        "Ricemill"
      ],
      "sources" : [
        "AnyResolverBasedMachine.swift",
        "Machine.swift",
        "MachineType.swift",
        "Polished.swift",
        "Proxy.swift",
        "Publishing.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.