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

Failed to build SwiftDI, reference master (0836fd), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 21:53:43 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/litecode/swiftdi.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/litecode/swiftdi
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0836fd6 Merge pull request #10 from benyo/patch-1
Cloned https://github.com/litecode/swiftdi.git
Revision (git rev-parse @):
0836fd68479ed3ee0c4f83c0ab2ad148b08a0ac1
SUCCESS checkout https://github.com/litecode/swiftdi.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": "swiftdi",
      "name": "SwiftDI",
      "url": "https://github.com/litecode/swiftdi.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftdi",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/litecode/swiftdi.git
[1/1150] Fetching swiftdi
Fetched https://github.com/litecode/swiftdi.git from cache (1.14s)
Creating working copy for https://github.com/litecode/swiftdi.git
Working copy of https://github.com/litecode/swiftdi.git resolved at master (0836fd6)
warning: '.resolve-product-dependencies': dependency 'swiftdi' 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/litecode/swiftdi.git
https://github.com/litecode/swiftdi.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftDI",
  "name" : "SwiftDI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftDI",
      "targets" : [
        "SwiftDI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDITests",
      "path" : "Tests/SwiftDITests",
      "sources" : [
        "SwiftDITests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftDI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDI",
      "path" : "Sources",
      "product_memberships" : [
        "SwiftDI"
      ],
      "sources" : [
        "SwiftDI/DIComponentContext.swift",
        "SwiftDI/DIComponentManager.swift",
        "SwiftDI/DIContainer.swift",
        "SwiftDI/DIObject.swift",
        "SwiftDI/DSL/AnyDIPart.swift",
        "SwiftDI/DSL/DIBuilder.swift",
        "SwiftDI/DSL/DIGroup.swift",
        "SwiftDI/DSL/DIObject+DIPartBuildable.swift",
        "SwiftDI/DSL/DIPart+DIPartBuildable.swift",
        "SwiftDI/DSL/DIPart.swift",
        "SwiftDI/DSL/DIPartBuildable.swift",
        "SwiftDI/DSL/DIRegister.swift",
        "SwiftDI/DSL/DITuplePart.swift",
        "SwiftDI/DSL/EmptyDIPart.swift",
        "SwiftDI/DSL/Never.swift",
        "SwiftDI/Inject.swift",
        "SwiftDI/Resolver.swift",
        "SwiftDI/SwiftDI.swift",
        "SwiftDI/SwiftUI/EnvironmentInject.swift",
        "SwiftDI/SwiftUI/EnvironmentObservedInject.swift",
        "SwiftDI/SwiftUI/View+SwiftDI.swift",
        "SwiftDI/Utils/Extensions.swift",
        "SwiftDI/Utils/InjectableProperty.swift",
        "SwiftDI/Utils/Utils.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module SwiftDI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |     public enum Defaults {
 7 |         /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
 8 |         public static var lifeCycle = DILifeCycle.objectGraph
   |                           |- warning: static property 'lifeCycle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'lifeCycle' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |     }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     internal private(set) static var sharedContainer: DIContainer = DIContainer()
   |                                      |- warning: static property 'sharedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: add '@MainActor' to make static property 'sharedContainer' part of global actor 'MainActor'
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// Use container for inject dependencies.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:18:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | public struct EnvironmentObservedInject<Value: ObservableObject>: DynamicProperty {
17 |
18 |     @ObservedObject private var _wrappedValue: Value
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |     public var wrappedValue: Value {
20 |         _wrappedValue
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/View+SwiftDI.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
28 | struct DIContainerEnvironmentKey: EnvironmentKey {
29 |     static var defaultValue: DIContainer = SwiftDI.sharedContainer
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
   | |         `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
31 |     var type: Any.Type {
32 |         return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
   | |         `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
38 |     var type: Any.Type {
39 |         return Value.self
[4/27] Compiling SwiftDI InjectableProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
   | |         `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
31 |     var type: Any.Type {
32 |         return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
   | |         `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
38 |     var type: Any.Type {
39 |         return Value.self
[5/27] Compiling SwiftDI Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
   | |         `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
31 |     var type: Any.Type {
32 |         return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
   | |         `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
38 |     var type: Any.Type {
39 |         return Value.self
[6/27] Compiling SwiftDI DIComponentContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 |     public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 |         part.load(container: self)
   |              `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 |     }
31 |
[7/27] Compiling SwiftDI DIComponentManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 |     public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 |         part.load(container: self)
   |              `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 |     }
31 |
[8/27] Compiling SwiftDI DIContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 |     public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 |         part.load(container: self)
   |              `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 |     }
31 |
[9/27] Compiling SwiftDI DIPart.swift
[10/27] Compiling SwiftDI DIPartBuildable.swift
[11/27] Compiling SwiftDI DIRegister.swift
[12/27] Compiling SwiftDI View+SwiftDI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/View+SwiftDI.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
28 | struct DIContainerEnvironmentKey: EnvironmentKey {
29 |     static var defaultValue: DIContainer = SwiftDI.sharedContainer
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
[13/27] Compiling SwiftDI Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/View+SwiftDI.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
28 | struct DIContainerEnvironmentKey: EnvironmentKey {
29 |     static var defaultValue: DIContainer = SwiftDI.sharedContainer
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
[14/27] Compiling SwiftDI DIObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
[15/27] Compiling SwiftDI AnyDIPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
[16/27] Compiling SwiftDI DIBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
[17/27] Compiling SwiftDI Resolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |     public enum Defaults {
 7 |         /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
 8 |         public static var lifeCycle = DILifeCycle.objectGraph
   |                           |- warning: static property 'lifeCycle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'lifeCycle' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |     }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     internal private(set) static var sharedContainer: DIContainer = DIContainer()
   |                                      |- warning: static property 'sharedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: add '@MainActor' to make static property 'sharedContainer' part of global actor 'MainActor'
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// Use container for inject dependencies.
[18/27] Compiling SwiftDI SwiftDI.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:8:27: warning: static property 'lifeCycle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |     public enum Defaults {
 7 |         /// Set life time for you instantces. By default is `DILifeCycle.objectGraph`
 8 |         public static var lifeCycle = DILifeCycle.objectGraph
   |                           |- warning: static property 'lifeCycle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: convert 'lifeCycle' to a 'let' constant to make 'Sendable' shared state immutable
   |                           |- note: add '@MainActor' to make static property 'lifeCycle' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |     }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftDI.swift:11:38: warning: static property 'sharedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |     }
10 |
11 |     internal private(set) static var sharedContainer: DIContainer = DIContainer()
   |                                      |- warning: static property 'sharedContainer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                      |- note: convert 'sharedContainer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                      |- note: add '@MainActor' to make static property 'sharedContainer' part of global actor 'MainActor'
   |                                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 |     /// Use container for inject dependencies.
[19/27] Compiling SwiftDI DIGroup.swift
[20/27] Compiling SwiftDI DIObject+DIPartBuildable.swift
[21/27] Compiling SwiftDI DIPart+DIPartBuildable.swift
[22/27] Compiling SwiftDI EnvironmentInject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:18:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | public struct EnvironmentObservedInject<Value: ObservableObject>: DynamicProperty {
17 |
18 |     @ObservedObject private var _wrappedValue: Value
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |     public var wrappedValue: Value {
20 |         _wrappedValue
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:20:9: warning: main actor-isolated property '_wrappedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | public struct EnvironmentObservedInject<Value: ObservableObject>: DynamicProperty {
17 |
18 |     @ObservedObject private var _wrappedValue: Value
   |                                 `- note: property declared here
19 |     public var wrappedValue: Value {
20 |         _wrappedValue
   |         `- warning: main actor-isolated property '_wrappedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:26:51: warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 |         let bundle = Bundle(for: Value.self)
25 |         let resolvedValue = Environment(\.container).wrappedValue.resolve(bundle: bundle) as Value
26 |         self.__wrappedValue = ObservedObject<Value>(initialValue: resolvedValue)
   |                                                   `- warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |     }
28 |
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/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:31:31: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |     /// The binding value, as "unwrapped" by accessing `$foo` on a `@Binding` property.
30 |     public var projectedValue: ObservedObject<Value>.Wrapper {
31 |         return __wrappedValue.projectedValue
   |                               `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 | }
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/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:18:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
16 | public struct EnvironmentObservedInject<Value: ObservableObject>: DynamicProperty {
17 |
18 |     @ObservedObject private var _wrappedValue: Value
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
19 |     public var wrappedValue: Value {
20 |         _wrappedValue
[23/27] Compiling SwiftDI EnvironmentObservedInject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:18:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | public struct EnvironmentObservedInject<Value: ObservableObject>: DynamicProperty {
17 |
18 |     @ObservedObject private var _wrappedValue: Value
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |     public var wrappedValue: Value {
20 |         _wrappedValue
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:20:9: warning: main actor-isolated property '_wrappedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
16 | public struct EnvironmentObservedInject<Value: ObservableObject>: DynamicProperty {
17 |
18 |     @ObservedObject private var _wrappedValue: Value
   |                                 `- note: property declared here
19 |     public var wrappedValue: Value {
20 |         _wrappedValue
   |         `- warning: main actor-isolated property '_wrappedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 |     }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:26:51: warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 |         let bundle = Bundle(for: Value.self)
25 |         let resolvedValue = Environment(\.container).wrappedValue.resolve(bundle: bundle) as Value
26 |         self.__wrappedValue = ObservedObject<Value>(initialValue: resolvedValue)
   |                                                   `- warning: call to main actor-isolated initializer 'init(initialValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |     }
28 |
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/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:31:31: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 |     /// The binding value, as "unwrapped" by accessing `$foo` on a `@Binding` property.
30 |     public var projectedValue: ObservedObject<Value>.Wrapper {
31 |         return __wrappedValue.projectedValue
   |                               `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
32 |     }
33 | }
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/SwiftDI/SwiftUI/EnvironmentObservedInject.swift:18:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
16 | public struct EnvironmentObservedInject<Value: ObservableObject>: DynamicProperty {
17 |
18 |     @ObservedObject private var _wrappedValue: Value
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
19 |     public var wrappedValue: Value {
20 |         _wrappedValue
[24/27] Compiling SwiftDI DITuplePart.swift
[25/27] Compiling SwiftDI EmptyDIPart.swift
[26/27] Compiling SwiftDI Never.swift
[27/27] Compiling SwiftDI Inject.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/24] Emitting module SwiftDI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
   | |         `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
31 |     var type: Any.Type {
32 |         return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
   | |         `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
38 |     var type: Any.Type {
39 |         return Value.self
[3/26] Compiling SwiftDI DIPart.swift
[4/26] Compiling SwiftDI DIPartBuildable.swift
[5/26] Compiling SwiftDI DIRegister.swift
[6/26] Compiling SwiftDI DITuplePart.swift
[7/26] Compiling SwiftDI EmptyDIPart.swift
[8/26] Compiling SwiftDI EnvironmentInject.swift
[9/26] Compiling SwiftDI EnvironmentObservedInject.swift
[10/26] Compiling SwiftDI DIObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
[11/26] Compiling SwiftDI AnyDIPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
[12/26] Compiling SwiftDI DIBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DSL/DIBuilder.swift:10:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 8 | import Foundation
 9 |
10 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
11 | public struct DIBuilder {
12 |     public static func buildBlock() -> EmptyDIPart {
[13/26] Compiling SwiftDI DIComponentContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 |     public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 |         part.load(container: self)
   |              `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 |     }
31 |
[14/26] Compiling SwiftDI DIComponentManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 |     public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 |         part.load(container: self)
   |              `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 |     }
31 |
[15/26] Compiling SwiftDI DIContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/DIContainer.swift:29:14: warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
27 |
28 |     public func appendPart<Content: DIPart>(_ part: Content.Type) {
29 |         part.load(container: self)
   |              `- warning: 'load(container:)' is deprecated: Use `var body: some DIPart` instead
30 |     }
31 |
[16/26] Compiling SwiftDI DIGroup.swift
[17/26] Compiling SwiftDI DIObject+DIPartBuildable.swift
[18/26] Compiling SwiftDI DIPart+DIPartBuildable.swift
[19/26] Compiling SwiftDI Never.swift
[20/26] Compiling SwiftDI Inject.swift
[21/26] Compiling SwiftDI View+SwiftDI.swift
[22/26] Compiling SwiftDI Extensions.swift
[23/26] Compiling SwiftDI Resolver.swift
[24/26] Compiling SwiftDI SwiftDI.swift
[25/26] Compiling SwiftDI InjectableProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
   | |         `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
31 |     var type: Any.Type {
32 |         return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
   | |         `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
38 |     var type: Any.Type {
39 |         return Value.self
[26/26] Compiling SwiftDI Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:30:11: error: 'EnvironmentInject' is only available in macOS 10.15 or newer
28 |
29 | @available(iOS 13.0, *)
30 | extension EnvironmentInject: InjectableProperty {
   | |         `- error: 'EnvironmentInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
31 |     var type: Any.Type {
32 |         return Value.self
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/Utils/InjectableProperty.swift:37:11: error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
35 |
36 | @available(iOS 13.0, *)
37 | extension EnvironmentObservedInject: InjectableProperty {
   | |         `- error: 'EnvironmentObservedInject' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
38 |     var type: Any.Type {
39 |         return Value.self
BUILD FAILURE 6.1 macosSpm