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 DFService, reference v0.1.6 (043c5a), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 21:10:38 UTC.

Swift 6 data race errors: 16

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yaochenfeng/DFService.git
Reference: v0.1.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yaochenfeng/DFService
 * tag               v0.1.6     -> FETCH_HEAD
HEAD is now at 043c5ae 添加网页组件 (#10)
Cloned https://github.com/yaochenfeng/DFService.git
Revision (git rev-parse @):
043c5aeca5b863c2f9fca08e8b92cb7ed1292f74
SUCCESS checkout https://github.com/yaochenfeng/DFService.git at v0.1.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yaochenfeng/DFService.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[1/5] Copying Assets.xcassets
[2/5] Write swift-version-117DEE11B69C53C9.txt
[4/38] Emitting module DFService
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:5:28: warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public class Application {
 4 |     public static let version = "0.1.0"
 5 |     fileprivate static var _instance: Application?
   |                            |- warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert '_instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate '_instance' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public var loadProviders: [DFService.ServiceProvider] = []
 7 |     private var storage: [FactoryKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:80: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
78 |
79 | struct AppEnvironmentKey: EnvironmentKey {
80 |     static var defaultValue = Application.shared
   |                |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/CommonError.swift:11:10: warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case custom(Error)
10 |     /// 未找到
11 |     case notFound(Any = ())
   |          `- warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     /// 转换失败
13 |     case convert(from: String, to: String)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:12:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
10 |
11 |
12 |     public static let logger = ServiceName("df.logger")
   |                       |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let router = ServiceName("df.router")
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:13:23: warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
11 |
12 |     public static let logger = ServiceName("df.logger")
13 |     public static let router = ServiceName("df.router")
   |                       |- warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'router' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:71:27: warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
69 |         public static let eager = ProviderWhen(rawValue: 0)
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
   |                           |- warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'window' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:73:27: warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
71 |         public static let window = ProviderWhen(rawValue: 4)
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
   |                           |- warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'splash' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |         public static func + (lhs: ProviderWhen, rhs: Int) -> ProviderWhen {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/AppService.swift:2:23: 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
1 | public struct AppService: DFServiceKey {
2 |     public static var defaultValue = Application.shared
  |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:5:23: 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
 3 | #endif
 4 | public struct RuntimeService: DFServiceKey {
 5 |     public static var defaultValue: Value = Value()
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public struct Value {}
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:9:24: warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |     public struct Value {}
 8 |
 9 |     private static var uuid: String?
   |                        |- warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'uuid' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:11:27: warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
   |                           |- warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'page404' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         public static let root = RoutePath(rawValue: "page/root")
13 |         public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
19 |     typealias PageBuilder = (RouteRequest) -> any View
20 |     typealias ActionBuilder = (RouteRequest) -> Void
21 |     public static let shared = Router()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public var handler:(RouteRequest) -> RouteAction = { _ in
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:7:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  5 |     public init() {}
  6 |
  7 |     let config = WKWebViewConfiguration().app.then { config in
    |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  8 |         config.websiteDataStore = .default()
  9 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:28:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 17 | import WebKit
 18 |
 19 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 20 |     let controller: WebController
 21 |     let request: URLRequest?
    :
 26 |         self.controller = controller
 27 |     }
 28 |     public func makeView(context: Context) -> WKWebView {
    |                 |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
 29 |         let web = context.coordinator.webView
 30 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:31:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
29 |     associatedtype PlatformView = NSViewType
30 |
31 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
32 | }
33 |
[5/41] Compiling DFService RouteRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:11:27: warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
   |                           |- warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'page404' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         public static let root = RoutePath(rawValue: "page/root")
13 |         public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
19 |     typealias PageBuilder = (RouteRequest) -> any View
20 |     typealias ActionBuilder = (RouteRequest) -> Void
21 |     public static let shared = Router()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public var handler:(RouteRequest) -> RouteAction = { _ in
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:44:20: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
42 |     var sheetBind: Binding<Bool> {
43 |         return .init {
44 |             return self.presentingSheet != nil
   |                    `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         } set: { _ in
46 |             self.presentingSheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:46:13: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
44 |             return self.presentingSheet != nil
45 |         } set: { _ in
46 |             self.presentingSheet = nil
   |             `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |         }
48 |
[6/41] Compiling DFService Router.action.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:11:27: warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
   |                           |- warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'page404' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         public static let root = RoutePath(rawValue: "page/root")
13 |         public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
19 |     typealias PageBuilder = (RouteRequest) -> any View
20 |     typealias ActionBuilder = (RouteRequest) -> Void
21 |     public static let shared = Router()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public var handler:(RouteRequest) -> RouteAction = { _ in
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:44:20: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
42 |     var sheetBind: Binding<Bool> {
43 |         return .init {
44 |             return self.presentingSheet != nil
   |                    `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         } set: { _ in
46 |             self.presentingSheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:46:13: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
44 |             return self.presentingSheet != nil
45 |         } set: { _ in
46 |             self.presentingSheet = nil
   |             `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |         }
48 |
[7/41] Compiling DFService Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:11:27: warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
   |                           |- warning: static property 'page404' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'page404' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         public static let root = RoutePath(rawValue: "page/root")
13 |         public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
19 |     typealias PageBuilder = (RouteRequest) -> any View
20 |     typealias ActionBuilder = (RouteRequest) -> Void
21 |     public static let shared = Router()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public var handler:(RouteRequest) -> RouteAction = { _ in
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:44:20: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
42 |     var sheetBind: Binding<Bool> {
43 |         return .init {
44 |             return self.presentingSheet != nil
   |                    `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |         } set: { _ in
46 |             self.presentingSheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:46:13: warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
44 |             return self.presentingSheet != nil
45 |         } set: { _ in
46 |             self.presentingSheet = nil
   |             `- warning: capture of 'self' with non-sendable type 'Router' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |         }
48 |
[8/41] Compiling DFService Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:5:28: warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public class Application {
 4 |     public static let version = "0.1.0"
 5 |     fileprivate static var _instance: Application?
   |                            |- warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert '_instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate '_instance' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public var loadProviders: [DFService.ServiceProvider] = []
 7 |     private var storage: [FactoryKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:80: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
78 |
79 | struct AppEnvironmentKey: EnvironmentKey {
80 |     static var defaultValue = Application.shared
   |                |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/CommonError.swift:11:10: warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case custom(Error)
10 |     /// 未找到
11 |     case notFound(Any = ())
   |          `- warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     /// 转换失败
13 |     case convert(from: String, to: String)
[9/41] Compiling DFService CommonError.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:5:28: warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public class Application {
 4 |     public static let version = "0.1.0"
 5 |     fileprivate static var _instance: Application?
   |                            |- warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert '_instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate '_instance' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public var loadProviders: [DFService.ServiceProvider] = []
 7 |     private var storage: [FactoryKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:80: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
78 |
79 | struct AppEnvironmentKey: EnvironmentKey {
80 |     static var defaultValue = Application.shared
   |                |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/CommonError.swift:11:10: warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case custom(Error)
10 |     /// 未找到
11 |     case notFound(Any = ())
   |          `- warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     /// 转换失败
13 |     case convert(from: String, to: String)
[10/41] Compiling DFService Injected.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:5:28: warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public class Application {
 4 |     public static let version = "0.1.0"
 5 |     fileprivate static var _instance: Application?
   |                            |- warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert '_instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate '_instance' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public var loadProviders: [DFService.ServiceProvider] = []
 7 |     private var storage: [FactoryKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:80: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
78 |
79 | struct AppEnvironmentKey: EnvironmentKey {
80 |     static var defaultValue = Application.shared
   |                |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/CommonError.swift:11:10: warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case custom(Error)
10 |     /// 未找到
11 |     case notFound(Any = ())
   |          `- warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     /// 转换失败
13 |     case convert(from: String, to: String)
[11/41] Compiling DFService Space.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:5:28: warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public class Application {
 4 |     public static let version = "0.1.0"
 5 |     fileprivate static var _instance: Application?
   |                            |- warning: static property '_instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert '_instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate '_instance' with '@MainActor' if property should only be accessed from the main actor
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public var loadProviders: [DFService.ServiceProvider] = []
 7 |     private var storage: [FactoryKey: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/DFService/Application.swift:80: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
78 |
79 | struct AppEnvironmentKey: EnvironmentKey {
80 |     static var defaultValue = Application.shared
   |                |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | }
82 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/CommonError.swift:11:10: warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 9 |     case custom(Error)
10 |     /// 未找到
11 |     case notFound(Any = ())
   |          `- warning: associated value 'notFound' of 'Sendable'-conforming enum 'CommonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
12 |     /// 转换失败
13 |     case convert(from: String, to: String)
[12/41] Compiling DFService app.bundle.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/extension/app.thread.swift:9:17: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
 7 |         } else {
 8 |             DispatchQueue.main.sync {
 9 |                 block()
   |                 |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
10 |             }
11 |         }
[13/41] Compiling DFService app.chain.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/extension/app.thread.swift:9:17: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
 7 |         } else {
 8 |             DispatchQueue.main.sync {
 9 |                 block()
   |                 |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
10 |             }
11 |         }
[14/41] Compiling DFService app.string.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/extension/app.thread.swift:9:17: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
 7 |         } else {
 8 |             DispatchQueue.main.sync {
 9 |                 block()
   |                 |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
10 |             }
11 |         }
[15/41] Compiling DFService app.thread.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/extension/app.thread.swift:9:17: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
 7 |         } else {
 8 |             DispatchQueue.main.sync {
 9 |                 block()
   |                 |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
10 |             }
11 |         }
[16/41] Compiling DFService AppService.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/AppService.swift:2:23: 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
1 | public struct AppService: DFServiceKey {
2 |     public static var defaultValue = Application.shared
  |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
19 |     typealias PageBuilder = (RouteRequest) -> any View
20 |     typealias ActionBuilder = (RouteRequest) -> Void
21 |     public static let shared = Router()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public var handler:(RouteRequest) -> RouteAction = { _ in
[17/41] Compiling DFService LogService.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/AppService.swift:2:23: 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
1 | public struct AppService: DFServiceKey {
2 |     public static var defaultValue = Application.shared
  |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
19 |     typealias PageBuilder = (RouteRequest) -> any View
20 |     typealias ActionBuilder = (RouteRequest) -> Void
21 |     public static let shared = Router()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public var handler:(RouteRequest) -> RouteAction = { _ in
[18/41] Compiling DFService RouteService.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/AppService.swift:2:23: 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
1 | public struct AppService: DFServiceKey {
2 |     public static var defaultValue = Application.shared
  |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:21:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public class Router: ObservableObject {
   |              `- note: class 'Router' does not conform to the 'Sendable' protocol
 4 |     public enum RouteAction: Equatable, Hashable {
 5 |         case empty
   :
19 |     typealias PageBuilder = (RouteRequest) -> any View
20 |     typealias ActionBuilder = (RouteRequest) -> Void
21 |     public static let shared = Router()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Router' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 |     public var handler:(RouteRequest) -> RouteAction = { _ in
[19/41] Compiling DFService ArrayBuilder.swift
[20/41] Compiling DFService BoxValue.swift
[21/41] Compiling DFService CircularLoading.swift
[22/41] Compiling DFService DFApiCall.swift
[23/41] Compiling DFService DFApplication.swift
[24/41] Compiling DFService DFHandler.swift
[25/41] Compiling DFService DFServiceKey.swift
[26/41] Compiling DFService RuntimeService.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:5:23: 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
 3 | #endif
 4 | public struct RuntimeService: DFServiceKey {
 5 |     public static var defaultValue: Value = Value()
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public struct Value {}
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:9:24: warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |     public struct Value {}
 8 |
 9 |     private static var uuid: String?
   |                        |- warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'uuid' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:72:36: warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
 70 |             }
 71 |             do {
 72 |                 try await provider.performAsyncStartup()
    |                                    |- warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'provider' to nonisolated instance method 'performAsyncStartup()' risks causing data races between nonisolated and 'self'-isolated uses
 73 |                 provider.isBooted = true
 74 |                 success = true
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:36:28: warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
 34 |                 app[LogService.self].debug("\(provider.name) 停止服务\(success)用时: \(cost_time)毫秒")
 35 |             }
 36 |             await provider.performAsyncShutdown()
    |                            |- warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending 'self'-isolated 'provider' to nonisolated instance method 'performAsyncShutdown()' risks causing data races between nonisolated and 'self'-isolated uses
 37 |             provider.isBooted = false
 38 |             success = true
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:88:21: warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
 86 |     let bootstrap: Bootstrap
 87 |     required init(_ app: Application) {
 88 |         bootstrap = Bootstrap(app: app)
    |                     |- warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'app' to actor-isolated initializer 'init(app:)' risks causing data races between actor-isolated and task-isolated uses
 89 |         super.init(app)
 90 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:97:9: warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
 95 |     }
 96 |     func bootstrap(_ when: ProviderWhen) {
 97 |         Task(priority: .userInitiated){
    |         `- warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
 98 |             await bootstrap.bootstrap(when)
 99 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:98:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
 96 |     func bootstrap(_ when: ProviderWhen) {
 97 |         Task(priority: .userInitiated){
 98 |             await bootstrap.bootstrap(when)
    |                             |- warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'when' to actor-isolated instance method 'bootstrap' risks causing data races between actor-isolated and task-isolated uses
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:103:9: warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
101 |
102 |     func reset(_ when: ProviderWhen) {
103 |         Task(priority: .userInitiated){
    |         `- warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
104 |             await bootstrap.reset(when)
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:104:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
102 |     func reset(_ when: ProviderWhen) {
103 |         Task(priority: .userInitiated){
104 |             await bootstrap.reset(when)
    |                             |- warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'when' to actor-isolated instance method 'reset' risks causing data races between actor-isolated and task-isolated uses
105 |         }
106 |     }
[27/41] Compiling DFService MockApiServiceImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:5:23: 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
 3 | #endif
 4 | public struct RuntimeService: DFServiceKey {
 5 |     public static var defaultValue: Value = Value()
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public struct Value {}
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:9:24: warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |     public struct Value {}
 8 |
 9 |     private static var uuid: String?
   |                        |- warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'uuid' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:72:36: warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
 70 |             }
 71 |             do {
 72 |                 try await provider.performAsyncStartup()
    |                                    |- warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'provider' to nonisolated instance method 'performAsyncStartup()' risks causing data races between nonisolated and 'self'-isolated uses
 73 |                 provider.isBooted = true
 74 |                 success = true
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:36:28: warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
 34 |                 app[LogService.self].debug("\(provider.name) 停止服务\(success)用时: \(cost_time)毫秒")
 35 |             }
 36 |             await provider.performAsyncShutdown()
    |                            |- warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending 'self'-isolated 'provider' to nonisolated instance method 'performAsyncShutdown()' risks causing data races between nonisolated and 'self'-isolated uses
 37 |             provider.isBooted = false
 38 |             success = true
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:88:21: warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
 86 |     let bootstrap: Bootstrap
 87 |     required init(_ app: Application) {
 88 |         bootstrap = Bootstrap(app: app)
    |                     |- warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'app' to actor-isolated initializer 'init(app:)' risks causing data races between actor-isolated and task-isolated uses
 89 |         super.init(app)
 90 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:97:9: warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
 95 |     }
 96 |     func bootstrap(_ when: ProviderWhen) {
 97 |         Task(priority: .userInitiated){
    |         `- warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
 98 |             await bootstrap.bootstrap(when)
 99 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:98:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
 96 |     func bootstrap(_ when: ProviderWhen) {
 97 |         Task(priority: .userInitiated){
 98 |             await bootstrap.bootstrap(when)
    |                             |- warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'when' to actor-isolated instance method 'bootstrap' risks causing data races between actor-isolated and task-isolated uses
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:103:9: warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
101 |
102 |     func reset(_ when: ProviderWhen) {
103 |         Task(priority: .userInitiated){
    |         `- warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
104 |             await bootstrap.reset(when)
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:104:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
102 |     func reset(_ when: ProviderWhen) {
103 |         Task(priority: .userInitiated){
104 |             await bootstrap.reset(when)
    |                             |- warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'when' to actor-isolated instance method 'reset' risks causing data races between actor-isolated and task-isolated uses
105 |         }
106 |     }
[28/41] Compiling DFService BootstrapServiceProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:5:23: 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
 3 | #endif
 4 | public struct RuntimeService: DFServiceKey {
 5 |     public static var defaultValue: Value = Value()
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public struct Value {}
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/RuntimeService.swift:9:24: warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |     public struct Value {}
 8 |
 9 |     private static var uuid: String?
   |                        |- warning: static property 'uuid' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'uuid' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'uuid' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:72:36: warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
 70 |             }
 71 |             do {
 72 |                 try await provider.performAsyncStartup()
    |                                    |- warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: sending 'self'-isolated 'provider' to nonisolated instance method 'performAsyncStartup()' risks causing data races between nonisolated and 'self'-isolated uses
 73 |                 provider.isBooted = true
 74 |                 success = true
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:36:28: warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
 34 |                 app[LogService.self].debug("\(provider.name) 停止服务\(success)用时: \(cost_time)毫秒")
 35 |             }
 36 |             await provider.performAsyncShutdown()
    |                            |- warning: sending 'provider' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending 'self'-isolated 'provider' to nonisolated instance method 'performAsyncShutdown()' risks causing data races between nonisolated and 'self'-isolated uses
 37 |             provider.isBooted = false
 38 |             success = true
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:88:21: warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
 86 |     let bootstrap: Bootstrap
 87 |     required init(_ app: Application) {
 88 |         bootstrap = Bootstrap(app: app)
    |                     |- warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'app' to actor-isolated initializer 'init(app:)' risks causing data races between actor-isolated and task-isolated uses
 89 |         super.init(app)
 90 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:97:9: warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
 95 |     }
 96 |     func bootstrap(_ when: ProviderWhen) {
 97 |         Task(priority: .userInitiated){
    |         `- warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
 98 |             await bootstrap.bootstrap(when)
 99 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:98:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
 96 |     func bootstrap(_ when: ProviderWhen) {
 97 |         Task(priority: .userInitiated){
 98 |             await bootstrap.bootstrap(when)
    |                             |- warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'when' to actor-isolated instance method 'bootstrap' risks causing data races between actor-isolated and task-isolated uses
 99 |         }
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:103:9: warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
101 |
102 |     func reset(_ when: ProviderWhen) {
103 |         Task(priority: .userInitiated){
    |         `- warning: task-isolated value of type '() async -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
104 |             await bootstrap.reset(when)
105 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:104:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
102 |     func reset(_ when: ProviderWhen) {
103 |         Task(priority: .userInitiated){
104 |             await bootstrap.reset(when)
    |                             |- warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'when' to actor-isolated instance method 'reset' risks causing data races between actor-isolated and task-isolated uses
105 |         }
106 |     }
[29/41] Compiling DFService FactoryKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:12:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
10 |
11 |
12 |     public static let logger = ServiceName("df.logger")
   |                       |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let router = ServiceName("df.router")
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:13:23: warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
11 |
12 |     public static let logger = ServiceName("df.logger")
13 |     public static let router = ServiceName("df.router")
   |                       |- warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'router' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:71:27: warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
69 |         public static let eager = ProviderWhen(rawValue: 0)
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
   |                           |- warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'window' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:73:27: warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
71 |         public static let window = ProviderWhen(rawValue: 4)
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
   |                           |- warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'splash' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |         public static func + (lhs: ProviderWhen, rhs: Int) -> ProviderWhen {
[30/41] Compiling DFService ServiceName.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:12:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
10 |
11 |
12 |     public static let logger = ServiceName("df.logger")
   |                       |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let router = ServiceName("df.router")
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:13:23: warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
11 |
12 |     public static let logger = ServiceName("df.logger")
13 |     public static let router = ServiceName("df.router")
   |                       |- warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'router' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:71:27: warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
69 |         public static let eager = ProviderWhen(rawValue: 0)
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
   |                           |- warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'window' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:73:27: warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
71 |         public static let window = ProviderWhen(rawValue: 4)
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
   |                           |- warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'splash' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |         public static func + (lhs: ProviderWhen, rhs: Int) -> ProviderWhen {
[31/41] Compiling DFService ServiceProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:12:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
10 |
11 |
12 |     public static let logger = ServiceName("df.logger")
   |                       |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let router = ServiceName("df.router")
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:13:23: warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
11 |
12 |     public static let logger = ServiceName("df.logger")
13 |     public static let router = ServiceName("df.router")
   |                       |- warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'router' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:71:27: warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
69 |         public static let eager = ProviderWhen(rawValue: 0)
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
   |                           |- warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'window' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:73:27: warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
71 |         public static let window = ProviderWhen(rawValue: 4)
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
   |                           |- warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'splash' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |         public static func + (lhs: ProviderWhen, rhs: Int) -> ProviderWhen {
[32/41] Compiling DFService exported.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:12:23: warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
10 |
11 |
12 |     public static let logger = ServiceName("df.logger")
   |                       |- warning: static property 'logger' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'logger' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let router = ServiceName("df.router")
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceName.swift:13:23: warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public struct ServiceName: RawRepresentable, Equatable, Hashable {
   |               `- note: consider making struct 'ServiceName' conform to the 'Sendable' protocol
 2 |     public let rawValue: String
 3 |
   :
11 |
12 |     public static let logger = ServiceName("df.logger")
13 |     public static let router = ServiceName("df.router")
   |                       |- warning: static property 'router' is not concurrency-safe because non-'Sendable' type 'ServiceName' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'router' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:69:27: warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
67 |         public let rawValue: Int
68 |         /// 默认启动
69 |         public static let eager = ProviderWhen(rawValue: 0)
   |                           |- warning: static property 'eager' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'eager' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:71:27: warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
69 |         public static let eager = ProviderWhen(rawValue: 0)
70 |         /// 窗口创建后启动
71 |         public static let window = ProviderWhen(rawValue: 4)
   |                           |- warning: static property 'window' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'window' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/core/ServiceProvider.swift:73:27: warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
57 | extension ServiceProvider {
58 |     /// 启动时机
59 |     public struct ProviderWhen: RawRepresentable, Comparable {
   |                   `- note: consider making struct 'ProviderWhen' conform to the 'Sendable' protocol
60 |         public static func < (lhs: ProviderWhen, rhs: ProviderWhen) -> Bool {
61 |             return lhs.rawValue < rhs.rawValue
   :
71 |         public static let window = ProviderWhen(rawValue: 4)
72 |         /// 主窗口创建的第一个页面
73 |         public static let splash = ProviderWhen(rawValue: 8)
   |                           |- warning: static property 'splash' is not concurrency-safe because non-'Sendable' type 'ServiceProvider.ProviderWhen' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'splash' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |         public static func + (lhs: ProviderWhen, rhs: Int) -> ProviderWhen {
[33/41] Compiling DFService app.view.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
[34/41] Compiling DFService ErrorPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
[35/41] Compiling DFService RoutePage.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
[36/41] Compiling DFService WebPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:12:27: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |     }
 9 |
10 |     public struct RoutePath: RawRepresentable, Equatable, Hashable {
   |                   `- note: consider making struct 'RoutePath' conform to the 'Sendable' protocol
11 |         public static let page404 = RoutePath(rawValue: "page/404")
12 |         public static let root = RoutePath(rawValue: "page/root")
   |                           |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Router.RoutePath' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'root' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |         public let rawValue: String
14 |         public init(rawValue: String) {
[37/41] Compiling DFService RouterView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:7:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  5 |     public init() {}
  6 |
  7 |     let config = WKWebViewConfiguration().app.then { config in
    |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  8 |         config.websiteDataStore = .default()
  9 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:28:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 17 | import WebKit
 18 |
 19 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 20 |     let controller: WebController
 21 |     let request: URLRequest?
    :
 26 |         self.controller = controller
 27 |     }
 28 |     public func makeView(context: Context) -> WKWebView {
    |                 |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
 29 |         let web = context.coordinator.webView
 30 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:31:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
29 |     associatedtype PlatformView = NSViewType
30 |
31 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:58:28: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 56 |         required init(_ controller: WebController) {
 57 |             self.controller = controller
 58 |             self.webView = WKWebView(frame: CGRect(x: 0.0, y: 0.0, width: 0.1, height: 0.1), configuration: controller.config)
    |                            `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |             super.init()
 60 |             makeObserve()
WebKit.WKWebView:9:23: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
  8 |     open var backForwardList: WKBackForwardList { get }
  9 |     @MainActor public init(frame: CGRect, configuration: WKWebViewConfiguration)
    |                       `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
 10 |     public init?(coder: NSCoder)
 11 |     @MainActor open func load(_ request: URLRequest) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:67:34: warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
 67 |         webView.publisher(for: \.estimatedProgress)
    |                                  `- warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 68 |             .receive(on: DispatchQueue.main)
 69 |             .assign(to: &controller.$progress)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:70:34: warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 68 |             .receive(on: DispatchQueue.main)
 69 |             .assign(to: &controller.$progress)
 70 |         webView.publisher(for: \.isLoading)
    |                                  `- warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 71 |             .receive(on: DispatchQueue.main)
 72 |             .assign(to: &controller.$isLoading)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:74:17: warning: main actor-isolated property 'uiDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 67 |         webView.publisher(for: \.estimatedProgress)
 68 |             .receive(on: DispatchQueue.main)
    :
 72 |             .assign(to: &controller.$isLoading)
 73 |
 74 |         webView.uiDelegate = self
    |                 `- warning: main actor-isolated property 'uiDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 75 |         webView.navigationDelegate = self
 76 |     }
WebKit.WKWebView:5:19: note: mutation of this property is only permitted within the actor
  3 |     @NSCopying open var configuration: WKWebViewConfiguration { get }
  4 |     weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
  5 |     weak open var uiDelegate: (any WKUIDelegate)? { get set }
    |                   `- note: mutation of this property is only permitted within the actor
  6 |     @available(swift, obsoleted: 3, renamed: "uiDelegate")
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:75:17: warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 67 |         webView.publisher(for: \.estimatedProgress)
 68 |             .receive(on: DispatchQueue.main)
    :
 73 |
 74 |         webView.uiDelegate = self
 75 |         webView.navigationDelegate = self
    |                 `- warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 76 |     }
 77 | }
WebKit.WKWebView:4:19: note: mutation of this property is only permitted within the actor
  2 | @MainActor open class WKWebView : NSView {
  3 |     @NSCopying open var configuration: WKWebViewConfiguration { get }
  4 |     weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
    |                   `- note: mutation of this property is only permitted within the actor
  5 |     weak open var uiDelegate: (any WKUIDelegate)? { get set }
  6 |     @available(swift, obsoleted: 3, renamed: "uiDelegate")
[38/41] Compiling DFService WebView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:7:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  5 |     public init() {}
  6 |
  7 |     let config = WKWebViewConfiguration().app.then { config in
    |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  8 |         config.websiteDataStore = .default()
  9 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:28:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 17 | import WebKit
 18 |
 19 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 20 |     let controller: WebController
 21 |     let request: URLRequest?
    :
 26 |         self.controller = controller
 27 |     }
 28 |     public func makeView(context: Context) -> WKWebView {
    |                 |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
 29 |         let web = context.coordinator.webView
 30 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:31:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
29 |     associatedtype PlatformView = NSViewType
30 |
31 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:58:28: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 56 |         required init(_ controller: WebController) {
 57 |             self.controller = controller
 58 |             self.webView = WKWebView(frame: CGRect(x: 0.0, y: 0.0, width: 0.1, height: 0.1), configuration: controller.config)
    |                            `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |             super.init()
 60 |             makeObserve()
WebKit.WKWebView:9:23: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
  8 |     open var backForwardList: WKBackForwardList { get }
  9 |     @MainActor public init(frame: CGRect, configuration: WKWebViewConfiguration)
    |                       `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
 10 |     public init?(coder: NSCoder)
 11 |     @MainActor open func load(_ request: URLRequest) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:67:34: warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
 67 |         webView.publisher(for: \.estimatedProgress)
    |                                  `- warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 68 |             .receive(on: DispatchQueue.main)
 69 |             .assign(to: &controller.$progress)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:70:34: warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 68 |             .receive(on: DispatchQueue.main)
 69 |             .assign(to: &controller.$progress)
 70 |         webView.publisher(for: \.isLoading)
    |                                  `- warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 71 |             .receive(on: DispatchQueue.main)
 72 |             .assign(to: &controller.$isLoading)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:74:17: warning: main actor-isolated property 'uiDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 67 |         webView.publisher(for: \.estimatedProgress)
 68 |             .receive(on: DispatchQueue.main)
    :
 72 |             .assign(to: &controller.$isLoading)
 73 |
 74 |         webView.uiDelegate = self
    |                 `- warning: main actor-isolated property 'uiDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 75 |         webView.navigationDelegate = self
 76 |     }
WebKit.WKWebView:5:19: note: mutation of this property is only permitted within the actor
  3 |     @NSCopying open var configuration: WKWebViewConfiguration { get }
  4 |     weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
  5 |     weak open var uiDelegate: (any WKUIDelegate)? { get set }
    |                   `- note: mutation of this property is only permitted within the actor
  6 |     @available(swift, obsoleted: 3, renamed: "uiDelegate")
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:75:17: warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 67 |         webView.publisher(for: \.estimatedProgress)
 68 |             .receive(on: DispatchQueue.main)
    :
 73 |
 74 |         webView.uiDelegate = self
 75 |         webView.navigationDelegate = self
    |                 `- warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 76 |     }
 77 | }
WebKit.WKWebView:4:19: note: mutation of this property is only permitted within the actor
  2 | @MainActor open class WKWebView : NSView {
  3 |     @NSCopying open var configuration: WKWebViewConfiguration { get }
  4 |     weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
    |                   `- note: mutation of this property is only permitted within the actor
  5 |     weak open var uiDelegate: (any WKUIDelegate)? { get set }
  6 |     @available(swift, obsoleted: 3, renamed: "uiDelegate")
[39/41] Compiling DFService resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:7:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  5 |     public init() {}
  6 |
  7 |     let config = WKWebViewConfiguration().app.then { config in
    |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
  8 |         config.websiteDataStore = .default()
  9 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:28:17: warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 17 | import WebKit
 18 |
 19 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 20 |     let controller: WebController
 21 |     let request: URLRequest?
    :
 26 |         self.controller = controller
 27 |     }
 28 |     public func makeView(context: Context) -> WKWebView {
    |                 |- warning: main actor-isolated instance method 'makeView(context:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |                 `- note: add 'nonisolated' to 'makeView(context:)' to make this instance method not isolated to the actor
 29 |         let web = context.coordinator.webView
 30 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:31:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
29 |     associatedtype PlatformView = NSViewType
30 |
31 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:58:28: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 56 |         required init(_ controller: WebController) {
 57 |             self.controller = controller
 58 |             self.webView = WKWebView(frame: CGRect(x: 0.0, y: 0.0, width: 0.1, height: 0.1), configuration: controller.config)
    |                            `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 59 |             super.init()
 60 |             makeObserve()
WebKit.WKWebView:9:23: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
  8 |     open var backForwardList: WKBackForwardList { get }
  9 |     @MainActor public init(frame: CGRect, configuration: WKWebViewConfiguration)
    |                       `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
 10 |     public init?(coder: NSCoder)
 11 |     @MainActor open func load(_ request: URLRequest) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:67:34: warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
 67 |         webView.publisher(for: \.estimatedProgress)
    |                                  `- warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 68 |             .receive(on: DispatchQueue.main)
 69 |             .assign(to: &controller.$progress)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:70:34: warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 68 |             .receive(on: DispatchQueue.main)
 69 |             .assign(to: &controller.$progress)
 70 |         webView.publisher(for: \.isLoading)
    |                                  `- warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 71 |             .receive(on: DispatchQueue.main)
 72 |             .assign(to: &controller.$isLoading)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:74:17: warning: main actor-isolated property 'uiDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 67 |         webView.publisher(for: \.estimatedProgress)
 68 |             .receive(on: DispatchQueue.main)
    :
 72 |             .assign(to: &controller.$isLoading)
 73 |
 74 |         webView.uiDelegate = self
    |                 `- warning: main actor-isolated property 'uiDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 75 |         webView.navigationDelegate = self
 76 |     }
WebKit.WKWebView:5:19: note: mutation of this property is only permitted within the actor
  3 |     @NSCopying open var configuration: WKWebViewConfiguration { get }
  4 |     weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
  5 |     weak open var uiDelegate: (any WKUIDelegate)? { get set }
    |                   `- note: mutation of this property is only permitted within the actor
  6 |     @available(swift, obsoleted: 3, renamed: "uiDelegate")
  7 |     weak open var UIDelegate: (any WKUIDelegate)? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:75:17: warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 | extension WebView.Coordinator {
 66 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 67 |         webView.publisher(for: \.estimatedProgress)
 68 |             .receive(on: DispatchQueue.main)
    :
 73 |
 74 |         webView.uiDelegate = self
 75 |         webView.navigationDelegate = self
    |                 `- warning: main actor-isolated property 'navigationDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 76 |     }
 77 | }
WebKit.WKWebView:4:19: note: mutation of this property is only permitted within the actor
  2 | @MainActor open class WKWebView : NSView {
  3 |     @NSCopying open var configuration: WKWebViewConfiguration { get }
  4 |     weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
    |                   `- note: mutation of this property is only permitted within the actor
  5 |     weak open var uiDelegate: (any WKUIDelegate)? { get set }
  6 |     @available(swift, obsoleted: 3, renamed: "uiDelegate")
[39/41] Write Objects.LinkFileList
[40/41] Linking libDFService-Dynamic.dylib
Build complete! (24.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DFService",
  "name" : "DFService",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "DFService",
      "targets" : [
        "DFService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DFService-Dynamic",
      "targets" : [
        "DFService"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DFServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "DFServiceTests",
      "path" : "Tests/DFServiceTests",
      "sources" : [
        "DFServiceTests.swift"
      ],
      "target_dependencies" : [
        "DFService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DFService",
      "module_type" : "SwiftTarget",
      "name" : "DFService",
      "path" : "Sources/DFService",
      "product_memberships" : [
        "DFService",
        "DFService-Dynamic"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/DFService/Resources/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Application.swift",
        "CommonError.swift",
        "Injected.swift",
        "Space.swift",
        "contract/DFApiCall.swift",
        "contract/DFApplication.swift",
        "contract/DFHandler.swift",
        "contract/DFServiceKey.swift",
        "core/FactoryKey.swift",
        "core/ServiceName.swift",
        "core/ServiceProvider.swift",
        "exported.swift",
        "extension/app.bundle.swift",
        "extension/app.chain.swift",
        "extension/app.string.swift",
        "extension/app.thread.swift",
        "extension/app.view.swift",
        "pages/ErrorPage.swift",
        "pages/RoutePage.swift",
        "pages/WebPage.swift",
        "service/AppService.swift",
        "service/LogService.swift",
        "service/RouteService.swift",
        "service/RuntimeService.swift",
        "service/impl/MockApiServiceImpl.swift",
        "service/provider/BootstrapServiceProvider.swift",
        "service/router/RouteRequest.swift",
        "service/router/Router.action.swift",
        "service/router/Router.swift",
        "utils/ArrayBuilder.swift",
        "utils/BoxValue.swift",
        "views/CircularLoading.swift",
        "views/RouterView.swift",
        "views/WebView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.