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 AppDependency, reference 1.1.0 (d973ca), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 11:29:46 UTC.

Swift 6 data race errors: 4

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/0xLeif/AppDependency.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xLeif/AppDependency
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at d973ca2 Change logger for linux and windows to var (#7)
Cloned https://github.com/0xLeif/AppDependency.git
Revision (git rev-parse @):
d973ca2e26a7f4aaa205c41a2551c51f492fec50
SUCCESS checkout https://github.com/0xLeif/AppDependency.git at 1.1.0
Fetching https://github.com/0xLeif/Cache
[1/419] Fetching cache
Fetched https://github.com/0xLeif/Cache from cache (0.76s)
Computing version for https://github.com/0xLeif/Cache
Computed https://github.com/0xLeif/Cache at 2.1.0 (1.78s)
Creating working copy for https://github.com/0xLeif/Cache
Working copy of https://github.com/0xLeif/Cache resolved at 2.1.0
========================================
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": "appdependency",
      "name": "AppDependency",
      "url": "https://github.com/0xLeif/AppDependency.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AppDependency",
      "dependencies": [
        {
          "identity": "cache",
          "name": "Cache",
          "url": "https://github.com/0xLeif/Cache",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cache",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/0xLeif/AppDependency.git
[1/177] Fetching appdependency
Fetched https://github.com/0xLeif/AppDependency.git from cache (0.69s)
Fetching https://github.com/0xLeif/Cache from cache
Fetched https://github.com/0xLeif/Cache from cache (0.41s)
Computing version for https://github.com/0xLeif/Cache
Computed https://github.com/0xLeif/Cache at 2.1.0 (0.46s)
Creating working copy for https://github.com/0xLeif/Cache
Working copy of https://github.com/0xLeif/Cache resolved at 2.1.0
Creating working copy for https://github.com/0xLeif/AppDependency.git
Working copy of https://github.com/0xLeif/AppDependency.git resolved at 1.1.0 (d973ca2)
warning: '.resolve-product-dependencies': dependency 'appdependency' is not used by any target
Found 1 product dependencies
  - Cache
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xLeif/AppDependency.git
https://github.com/0xLeif/AppDependency.git
{
  "dependencies" : [
    {
      "identity" : "cache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Cache"
    }
  ],
  "manifest_display_name" : "AppDependency",
  "name" : "AppDependency",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AppDependency",
      "targets" : [
        "AppDependency"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppDependencyTests",
      "module_type" : "SwiftTarget",
      "name" : "AppDependencyTests",
      "path" : "Tests/AppDependencyTests",
      "sources" : [
        "AppDependencyTests.swift",
        "DependencySliceTests.swift",
        "ObservedDependencyTests.swift"
      ],
      "target_dependencies" : [
        "AppDependency"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppDependency",
      "module_type" : "SwiftTarget",
      "name" : "AppDependency",
      "path" : "Sources/AppDependency",
      "product_dependencies" : [
        "Cache"
      ],
      "product_memberships" : [
        "AppDependency"
      ],
      "sources" : [
        "Application/Application+internal.swift",
        "Application/Application+public.swift",
        "Application/Application.swift",
        "Application/Helper/ApplicationLogger.swift",
        "Application/Types/Dependency/Application+Dependency.swift",
        "Application/Types/Dependency/Slice/Application+DependencySlice.swift",
        "Application/Types/Helper/Application+ApplicationPreview.swift",
        "Application/Types/Helper/Application+Scope.swift",
        "PropertyWrappers/AppDependency.swift",
        "PropertyWrappers/ObservedDependency.swift",
        "PropertyWrappers/Slice/DependencyConstant.swift",
        "PropertyWrappers/Slice/DependencySlice.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/28] Emitting module Cache
[5/30] Compiling Cache RequiredKeysCache.swift
[6/30] Compiling Cache CacheInitializable.swift
[7/30] Compiling Cache Cacheable.swift
[8/30] Compiling Cache OptionallyCached.swift
[9/30] Compiling Cache Resolved.swift
[10/30] Compiling Cache AnyCacheable.swift
[11/30] Compiling Cache Cache+subscript.swift
[12/30] Compiling Cache Cache.swift
[13/30] Compiling Cache Dictionary+Cacheable.swift
[14/30] Compiling Cache InvalidTypeError.swift
[15/30] Compiling Cache MissingRequiredKeysError.swift
[16/30] Compiling Cache LRUCache.swift
[17/30] Compiling Cache PersistableCache.swift
[18/30] Compiling Cache RequiredKeysCache+subscript.swift
[19/30] Compiling Cache ComposableCache.swift
[20/30] Compiling Cache ExpiringCache+subscript.swift
[21/30] Compiling Cache ExpiringCache.swift
[22/30] Compiling Cache Global+loggers.swift
[23/30] Compiling Cache Global.swift
[24/30] Compiling Cache JSON+subscript.swift
[25/30] Compiling Cache JSON.swift
[26/30] Compiling Cache Cached.swift
[27/30] Compiling Cache Logging.swift
[28/30] Compiling Cache Global+cache.swift
[29/30] Compiling Cache Global+dependencies.swift
[30/30] Compiling Cache Global+images.swift
[31/42] Compiling AppDependency Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     #if !os(Linux) && !os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'isLoggingEnabled' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |     let lock: NSRecursiveLock
[32/42] Compiling AppDependency ApplicationLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     #if !os(Linux) && !os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'isLoggingEnabled' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |     let lock: NSRecursiveLock
[33/43] Compiling AppDependency Application+Scope.swift
[34/43] Compiling AppDependency Application+DependencySlice.swift
[35/43] Compiling AppDependency Application+Dependency.swift
[36/43] Compiling AppDependency Application+ApplicationPreview.swift
[37/43] Compiling AppDependency DependencyConstant.swift
[38/43] Compiling AppDependency ObservedDependency.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/ObservedDependency.swift:9: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
 7 |     private let keyPath: KeyPath<Application, Application.Dependency<Value>>
 8 |
 9 |     @ObservedObject private var observedObject: 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
10 |
11 |     private let fileID: StaticString
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/AppDependency/PropertyWrappers/ObservedDependency.swift:26:16: warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 7 |     private let keyPath: KeyPath<Application, Application.Dependency<Value>>
 8 |
 9 |     @ObservedObject private var observedObject: Value
   |                                 `- note: property declared here
10 |
11 |     private let fileID: StaticString
   :
24 |         )
25 |
26 |         return observedObject
   |                `- warning: main actor-isolated property 'observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 |     }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/ObservedDependency.swift:39:16: warning: main actor-isolated property '$observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 7 |     private let keyPath: KeyPath<Application, Application.Dependency<Value>>
 8 |
 9 |     @ObservedObject private var observedObject: Value
   |                                 `- note: property declared here
10 |
11 |     private let fileID: StaticString
   :
37 |         )
38 |
39 |         return $observedObject
   |                `- warning: main actor-isolated property '$observedObject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |     }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/ObservedDependency.swift:60:14: warning: main actor-isolated property 'observedObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 7 |     private let keyPath: KeyPath<Application, Application.Dependency<Value>>
 8 |
 9 |     @ObservedObject private var observedObject: Value
   |                                 `- note: mutation of this property is only permitted within the actor
10 |
11 |     private let fileID: StaticString
   :
58 |         self.column = column
59 |
60 |         self.observedObject = Application.dependency(
   |              `- warning: main actor-isolated property 'observedObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
61 |             keyPath,
62 |             fileID,
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/ObservedDependency.swift:9:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
 7 |     private let keyPath: KeyPath<Application, Application.Dependency<Value>>
 8 |
 9 |     @ObservedObject private var observedObject: 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
10 |
11 |     private let fileID: StaticString
[39/43] Compiling AppDependency AppDependency.swift
[40/43] Emitting module AppDependency
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:12:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | open class Application: NSObject {
11 |     /// Singleton shared instance of `Application`
12 |     static var shared: Application = Application()
   |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     #if !os(Linux) && !os(Windows)
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application.swift:22:16: warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |     #endif
21 |
22 |     static var isLoggingEnabled: Bool = false
   |                |- warning: static property 'isLoggingEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'isLoggingEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'isLoggingEnabled' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 |     let lock: NSRecursiveLock
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/ObservedDependency.swift:9: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
 7 |     private let keyPath: KeyPath<Application, Application.Dependency<Value>>
 8 |
 9 |     @ObservedObject private var observedObject: 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
10 |
11 |     private let fileID: StaticString
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/AppDependency/PropertyWrappers/ObservedDependency.swift:9:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
 7 |     private let keyPath: KeyPath<Application, Application.Dependency<Value>>
 8 |
 9 |     @ObservedObject private var observedObject: 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
10 |
11 |     private let fileID: StaticString
[41/43] Compiling AppDependency Application+internal.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application+public.swift:281:9: warning: call to main actor-isolated initializer 'init(dependencyOverrides:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
275 |      */
276 |     @ViewBuilder
277 |     static func preview<Content: View>(
    |                 `- note: add '@MainActor' to make static method 'preview(_:content:)' part of global actor 'MainActor'
278 |         _ dependencyOverrides: DependencyOverride...,
279 |         content: @escaping () -> Content
280 |     ) -> some View {
281 |         ApplicationPreview(
    |         `- warning: call to main actor-isolated initializer 'init(dependencyOverrides:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
282 |             dependencyOverrides: dependencyOverrides,
283 |             content: content
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Types/Helper/Application+ApplicationPreview.swift:9:9: note: calls to initializer 'init(dependencyOverrides:content:)' from outside of its actor context are implicitly asynchronous
 7 |         let content: () -> Content
 8 |
 9 |         init(
   |         |- note: calls to initializer 'init(dependencyOverrides:content:)' from outside of its actor context are implicitly asynchronous
   |         `- note: main actor isolation inferred from conformance to protocol 'View'
10 |             dependencyOverrides: [DependencyOverride],
11 |             content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application+public.swift:281:9: warning: sending 'dependencyOverrides' risks causing data races; this is an error in the Swift 6 language mode
279 |         content: @escaping () -> Content
280 |     ) -> some View {
281 |         ApplicationPreview(
    |         |- warning: sending 'dependencyOverrides' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'dependencyOverrides' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
282 |             dependencyOverrides: dependencyOverrides,
283 |             content: content
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application+public.swift:281:9: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
279 |         content: @escaping () -> Content
280 |     ) -> some View {
281 |         ApplicationPreview(
    |         |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
282 |             dependencyOverrides: dependencyOverrides,
283 |             content: content
[42/43] Compiling AppDependency Application+public.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application+public.swift:281:9: warning: call to main actor-isolated initializer 'init(dependencyOverrides:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
275 |      */
276 |     @ViewBuilder
277 |     static func preview<Content: View>(
    |                 `- note: add '@MainActor' to make static method 'preview(_:content:)' part of global actor 'MainActor'
278 |         _ dependencyOverrides: DependencyOverride...,
279 |         content: @escaping () -> Content
280 |     ) -> some View {
281 |         ApplicationPreview(
    |         `- warning: call to main actor-isolated initializer 'init(dependencyOverrides:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
282 |             dependencyOverrides: dependencyOverrides,
283 |             content: content
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Types/Helper/Application+ApplicationPreview.swift:9:9: note: calls to initializer 'init(dependencyOverrides:content:)' from outside of its actor context are implicitly asynchronous
 7 |         let content: () -> Content
 8 |
 9 |         init(
   |         |- note: calls to initializer 'init(dependencyOverrides:content:)' from outside of its actor context are implicitly asynchronous
   |         `- note: main actor isolation inferred from conformance to protocol 'View'
10 |             dependencyOverrides: [DependencyOverride],
11 |             content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application+public.swift:281:9: warning: sending 'dependencyOverrides' risks causing data races; this is an error in the Swift 6 language mode
279 |         content: @escaping () -> Content
280 |     ) -> some View {
281 |         ApplicationPreview(
    |         |- warning: sending 'dependencyOverrides' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'dependencyOverrides' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
282 |             dependencyOverrides: dependencyOverrides,
283 |             content: content
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/Application/Application+public.swift:281:9: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
279 |         content: @escaping () -> Content
280 |     ) -> some View {
281 |         ApplicationPreview(
    |         |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
    |         `- note: sending task-isolated 'content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
282 |             dependencyOverrides: dependencyOverrides,
283 |             content: content
[43/43] Compiling AppDependency DependencySlice.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/Slice/DependencySlice.swift:49:30: warning: main actor-isolated property 'app' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  8 |     #if !os(Linux) && !os(Windows)
  9 |     /// Holds the singleton instance of `Application`.
 10 |     @ObservedObject private var app: Application = Application.shared
    |                                 `- note: property declared here
 11 |     #else
 12 |     /// Holds the singleton instance of `Application`.
    :
 47 |             )
 48 |
 49 |             var dependency = app.value(keyPath: dependencyKeyPath)
    |                              `- warning: main actor-isolated property 'app' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 50 |             #if !os(Linux) && !os(Windows)
 51 |             Application.shared.objectWillChange.send()
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/Slice/DependencySlice.swift:61:20: warning: capture of 'self' with non-sendable type 'DependencySlice<Value, SliceValue>' in a '@Sendable' closure
  5 |
  6 | /// A property wrapper that provides access to a specific part of the AppDependency's dependencies.
  7 | @propertyWrapper public struct DependencySlice<Value, SliceValue> {
    |                                `- note: consider making generic struct 'DependencySlice' conform to the 'Sendable' protocol
  8 |     #if !os(Linux) && !os(Windows)
  9 |     /// Holds the singleton instance of `Application`.
    :
 59 |     public var projectedValue: Binding<SliceValue> {
 60 |         Binding(
 61 |             get: { wrappedValue },
    |                    `- warning: capture of 'self' with non-sendable type 'DependencySlice<Value, SliceValue>' in a '@Sendable' closure
 62 |             set: { wrappedValue = $0 }
 63 |         )
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/Slice/DependencySlice.swift:62:20: warning: capture of 'self' with non-sendable type 'DependencySlice<Value, SliceValue>' in a '@Sendable' closure
  5 |
  6 | /// A property wrapper that provides access to a specific part of the AppDependency's dependencies.
  7 | @propertyWrapper public struct DependencySlice<Value, SliceValue> {
    |                                `- note: consider making generic struct 'DependencySlice' conform to the 'Sendable' protocol
  8 |     #if !os(Linux) && !os(Windows)
  9 |     /// Holds the singleton instance of `Application`.
    :
 60 |         Binding(
 61 |             get: { wrappedValue },
 62 |             set: { wrappedValue = $0 }
    |                    `- warning: capture of 'self' with non-sendable type 'DependencySlice<Value, SliceValue>' in a '@Sendable' closure
 63 |         )
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AppDependency/PropertyWrappers/Slice/DependencySlice.swift:96:5: error: return from initializer without initializing all stored properties
 94 |
 95 |         self.sliceKeyPath = "\(dependencyKeyPathString)\(valueKeyPathString)"
 96 |     }
    |     |- error: return from initializer without initializing all stored properties
    |     `- note: main actor-isolated default value of 'self.app' cannot be used in a nonisolated initalizer
 97 | }
 98 |
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
[2/26] Emitting module Cache
[3/28] Compiling Cache Global+cache.swift
[4/28] Compiling Cache Global+dependencies.swift
[5/28] Compiling Cache Global+images.swift
[6/28] Compiling Cache Cached.swift
[7/28] Compiling Cache Logging.swift
[8/28] Compiling Cache RequiredKeysCache.swift
[9/28] Compiling Cache CacheInitializable.swift
[10/28] Compiling Cache Cacheable.swift
[11/28] Compiling Cache AnyCacheable.swift
[12/28] Compiling Cache Cache+subscript.swift
[13/28] Compiling Cache Cache.swift
[14/28] Compiling Cache LRUCache.swift
[15/28] Compiling Cache PersistableCache.swift
[16/28] Compiling Cache RequiredKeysCache+subscript.swift
[17/28] Compiling Cache OptionallyCached.swift
[18/28] Compiling Cache Resolved.swift
[19/28] Compiling Cache JSON+subscript.swift
[20/28] Compiling Cache JSON.swift
[21/28] Compiling Cache ComposableCache.swift
[22/28] Compiling Cache ExpiringCache+subscript.swift
[23/28] Compiling Cache ExpiringCache.swift
[24/28] Compiling Cache Global+loggers.swift
[25/28] Compiling Cache Global.swift
[26/28] Compiling Cache Dictionary+Cacheable.swift
[27/28] Compiling Cache InvalidTypeError.swift
[28/28] Compiling Cache MissingRequiredKeysError.swift
[29/40] Compiling AppDependency ObservedDependency.swift
[30/40] Compiling AppDependency Application+Scope.swift
[31/40] Compiling AppDependency AppDependency.swift
[32/41] Compiling AppDependency Application+ApplicationPreview.swift
[33/41] Compiling AppDependency Application+Dependency.swift
[34/41] Compiling AppDependency Application.swift
[35/41] Compiling AppDependency ApplicationLogger.swift
[36/41] Compiling AppDependency Application+internal.swift
[37/41] Compiling AppDependency Application+public.swift
[38/41] Compiling AppDependency Application+DependencySlice.swift
[39/41] Emitting module AppDependency
[40/41] Compiling AppDependency DependencyConstant.swift
[41/41] Compiling AppDependency DependencySlice.swift
Build complete! (4.01s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cache",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/0xLeif/Cache"
    }
  ],
  "manifest_display_name" : "AppDependency",
  "name" : "AppDependency",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AppDependency",
      "targets" : [
        "AppDependency"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppDependencyTests",
      "module_type" : "SwiftTarget",
      "name" : "AppDependencyTests",
      "path" : "Tests/AppDependencyTests",
      "sources" : [
        "AppDependencyTests.swift",
        "DependencySliceTests.swift",
        "ObservedDependencyTests.swift"
      ],
      "target_dependencies" : [
        "AppDependency"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppDependency",
      "module_type" : "SwiftTarget",
      "name" : "AppDependency",
      "path" : "Sources/AppDependency",
      "product_dependencies" : [
        "Cache"
      ],
      "product_memberships" : [
        "AppDependency"
      ],
      "sources" : [
        "Application/Application+internal.swift",
        "Application/Application+public.swift",
        "Application/Application.swift",
        "Application/Helper/ApplicationLogger.swift",
        "Application/Types/Dependency/Application+Dependency.swift",
        "Application/Types/Dependency/Slice/Application+DependencySlice.swift",
        "Application/Types/Helper/Application+ApplicationPreview.swift",
        "Application/Types/Helper/Application+Scope.swift",
        "PropertyWrappers/AppDependency.swift",
        "PropertyWrappers/ObservedDependency.swift",
        "PropertyWrappers/Slice/DependencyConstant.swift",
        "PropertyWrappers/Slice/DependencySlice.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.