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 main (d6cf81), with Swift 6.0 for macOS (SPM) on 23 Sep 2024 04:34:06 UTC.

Swift 6 data race errors: 17

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.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.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yaochenfeng/DFService.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yaochenfeng/DFService
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d6cf817 feat: add NavigationPage
Cloned https://github.com/yaochenfeng/DFService.git
Revision (git rev-parse @):
d6cf81701e1ff4bab0ed546909ce3c336037f855
SUCCESS checkout https://github.com/yaochenfeng/DFService.git at main
========================================
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.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--4A847ED0836F2485.txt
[4/41] 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/modifier/PageModifier.swift:19: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
17 |         value = nextValue()
18 |     }
19 |     public static var defaultValue = PageAction.none
   |                       |- 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
20 | }
21 |
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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/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:30: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
 19 | import WebKit
 20 |
 21 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 22 |     let controller: WebController
 23 |     let request: URLRequest?
    :
 28 |         self.controller = controller
 29 |     }
 30 |     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
 31 |         let web = context.coordinator.webView
 32 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:33:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
31 |     associatedtype PlatformView = NSViewType
32 |
33 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
34 | }
35 |
[5/44] Compiling DFService DFApiCall.swift
[6/44] Compiling DFService DFApplication.swift
[7/44] Compiling DFService DFHandler.swift
[8/44] Compiling DFService DFServiceKey.swift
[9/44] Compiling DFService LogService.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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 |
[10/44] Compiling DFService RouteService.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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 |
[11/44] Compiling DFService RuntimeService.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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 |
[12/44] Compiling DFService MockApiServiceImpl.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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 |
[13/44] 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)
[14/44] 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)
[15/44] 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)
[16/44] 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)
[17/44] Compiling DFService ArrayBuilder.swift
[18/44] Compiling DFService BoxValue.swift
[19/44] Compiling DFService CircularLoading.swift
[20/44] Compiling DFService BootstrapServiceProvider.swift
/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/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:47: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
   :
45 |     var sheetBind: Binding<Bool> {
46 |         return .init {
47 |             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
48 |         } set: { _ in
49 |             self.presentingSheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:49: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
   :
47 |             return self.presentingSheet != nil
48 |         } set: { _ in
49 |             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
50 |         }
51 |
/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:89:21: warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
 87 |     let bootstrap: Bootstrap
 88 |     required init(_ app: Application) {
 89 |         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
 90 |         super.init(app)
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:98: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
 96 |     }
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         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
 99 |             await bootstrap.bootstrap(when)
100 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:99:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         Task(priority: .userInitiated){
 99 |             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
100 |         }
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:104: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
102 |
103 |     func reset(_ when: ProviderWhen) {
104 |         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
105 |             await bootstrap.reset(when)
106 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:105:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
103 |     func reset(_ when: ProviderWhen) {
104 |         Task(priority: .userInitiated){
105 |             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
106 |         }
107 |     }
[21/44] Compiling DFService RouteRequest.swift
/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/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:47: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
   :
45 |     var sheetBind: Binding<Bool> {
46 |         return .init {
47 |             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
48 |         } set: { _ in
49 |             self.presentingSheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:49: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
   :
47 |             return self.presentingSheet != nil
48 |         } set: { _ in
49 |             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
50 |         }
51 |
/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:89:21: warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
 87 |     let bootstrap: Bootstrap
 88 |     required init(_ app: Application) {
 89 |         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
 90 |         super.init(app)
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:98: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
 96 |     }
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         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
 99 |             await bootstrap.bootstrap(when)
100 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:99:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         Task(priority: .userInitiated){
 99 |             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
100 |         }
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:104: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
102 |
103 |     func reset(_ when: ProviderWhen) {
104 |         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
105 |             await bootstrap.reset(when)
106 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:105:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
103 |     func reset(_ when: ProviderWhen) {
104 |         Task(priority: .userInitiated){
105 |             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
106 |         }
107 |     }
[22/44] Compiling DFService Router.action.swift
/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/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:47: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
   :
45 |     var sheetBind: Binding<Bool> {
46 |         return .init {
47 |             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
48 |         } set: { _ in
49 |             self.presentingSheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:49: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
   :
47 |             return self.presentingSheet != nil
48 |         } set: { _ in
49 |             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
50 |         }
51 |
/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:89:21: warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
 87 |     let bootstrap: Bootstrap
 88 |     required init(_ app: Application) {
 89 |         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
 90 |         super.init(app)
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:98: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
 96 |     }
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         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
 99 |             await bootstrap.bootstrap(when)
100 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:99:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         Task(priority: .userInitiated){
 99 |             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
100 |         }
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:104: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
102 |
103 |     func reset(_ when: ProviderWhen) {
104 |         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
105 |             await bootstrap.reset(when)
106 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:105:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
103 |     func reset(_ when: ProviderWhen) {
104 |         Task(priority: .userInitiated){
105 |             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
106 |         }
107 |     }
[23/44] Compiling DFService Router.swift
/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/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:47: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
   :
45 |     var sheetBind: Binding<Bool> {
46 |         return .init {
47 |             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
48 |         } set: { _ in
49 |             self.presentingSheet = nil
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/router/Router.swift:49: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
   :
47 |             return self.presentingSheet != nil
48 |         } set: { _ in
49 |             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
50 |         }
51 |
/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:89:21: warning: sending 'app' risks causing data races; this is an error in the Swift 6 language mode
 87 |     let bootstrap: Bootstrap
 88 |     required init(_ app: Application) {
 89 |         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
 90 |         super.init(app)
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:98: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
 96 |     }
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         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
 99 |             await bootstrap.bootstrap(when)
100 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:99:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
 97 |     func bootstrap(_ when: ProviderWhen) {
 98 |         Task(priority: .userInitiated){
 99 |             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
100 |         }
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:104: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
102 |
103 |     func reset(_ when: ProviderWhen) {
104 |         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
105 |             await bootstrap.reset(when)
106 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DFService/service/provider/BootstrapServiceProvider.swift:105:29: warning: sending 'when' risks causing data races; this is an error in the Swift 6 language mode
103 |     func reset(_ when: ProviderWhen) {
104 |         Task(priority: .userInitiated){
105 |             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
106 |         }
107 |     }
[24/44] Compiling DFService app.bool.swift
[25/44] Compiling DFService app.bundle.swift
[26/44] Compiling DFService app.chain.swift
[27/44] Compiling DFService app.string.swift
[28/44] Compiling DFService NavigationPage.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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/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 |
[29/44] Compiling DFService RoutePage.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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/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 |
[30/44] Compiling DFService WebPage.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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/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 |
[31/44] Compiling DFService AppService.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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/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 |
[32/44] 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 {
[33/44] 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 {
[34/44] 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 {
[35/44] 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 {
[36/44] Compiling DFService app.thread.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/modifier/PageModifier.swift:19: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
17 |         value = nextValue()
18 |     }
19 |     public static var defaultValue = PageAction.none
   |                       |- 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
20 | }
21 |
/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 |         }
[37/44] Compiling DFService app.view.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/modifier/PageModifier.swift:19: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
17 |         value = nextValue()
18 |     }
19 |     public static var defaultValue = PageAction.none
   |                       |- 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
20 | }
21 |
/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 |         }
[38/44] Compiling DFService PageModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/modifier/PageModifier.swift:19: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
17 |         value = nextValue()
18 |     }
19 |     public static var defaultValue = PageAction.none
   |                       |- 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
20 | }
21 |
/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 |         }
[39/44] Compiling DFService ErrorPage.swift
/Users/admin/builder/spi-builder-workspace/Sources/DFService/modifier/PageModifier.swift:19: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
17 |         value = nextValue()
18 |     }
19 |     public static var defaultValue = PageAction.none
   |                       |- 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
20 | }
21 |
/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 |         }
[40/44] Compiling DFService RouterView.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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:30: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
 19 | import WebKit
 20 |
 21 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 22 |     let controller: WebController
 23 |     let request: URLRequest?
    :
 28 |         self.controller = controller
 29 |     }
 30 |     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
 31 |         let web = context.coordinator.webView
 32 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:33:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
31 |     associatedtype PlatformView = NSViewType
32 |
33 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:62: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
 60 |         required init(_ controller: WebController) {
 61 |             self.controller = controller
 62 |             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
 63 |             super.init()
 64 |             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:71:34: warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
 71 |         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
 72 |             .receive(on: DispatchQueue.main)
 73 |             .assign(to: &controller.$progress)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:74:34: warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 72 |             .receive(on: DispatchQueue.main)
 73 |             .assign(to: &controller.$progress)
 74 |         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
 75 |             .receive(on: DispatchQueue.main)
 76 |             .assign(to: &controller.$isLoading)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:78:34: warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
 76 |             .assign(to: &controller.$isLoading)
 77 |
 78 |         webView.publisher(for: \.title)
    |                                  `- warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
 79 |             .receive(on: DispatchQueue.main)
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:83: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
 68 |
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 71 |         webView.publisher(for: \.estimatedProgress)
 72 |             .receive(on: DispatchQueue.main)
    :
 81 |             .assign(to: &controller.$title)
 82 |
 83 |         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
 84 |         webView.navigationDelegate = self
 85 |     }
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:84: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
 68 |
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 71 |         webView.publisher(for: \.estimatedProgress)
 72 |             .receive(on: DispatchQueue.main)
    :
 82 |
 83 |         webView.uiDelegate = self
 84 |         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
 85 |     }
 86 | }
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")
[41/44] Compiling DFService WebView.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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:30: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
 19 | import WebKit
 20 |
 21 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 22 |     let controller: WebController
 23 |     let request: URLRequest?
    :
 28 |         self.controller = controller
 29 |     }
 30 |     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
 31 |         let web = context.coordinator.webView
 32 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:33:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
31 |     associatedtype PlatformView = NSViewType
32 |
33 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:62: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
 60 |         required init(_ controller: WebController) {
 61 |             self.controller = controller
 62 |             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
 63 |             super.init()
 64 |             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:71:34: warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
 71 |         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
 72 |             .receive(on: DispatchQueue.main)
 73 |             .assign(to: &controller.$progress)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:74:34: warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 72 |             .receive(on: DispatchQueue.main)
 73 |             .assign(to: &controller.$progress)
 74 |         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
 75 |             .receive(on: DispatchQueue.main)
 76 |             .assign(to: &controller.$isLoading)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:78:34: warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
 76 |             .assign(to: &controller.$isLoading)
 77 |
 78 |         webView.publisher(for: \.title)
    |                                  `- warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
 79 |             .receive(on: DispatchQueue.main)
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:83: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
 68 |
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 71 |         webView.publisher(for: \.estimatedProgress)
 72 |             .receive(on: DispatchQueue.main)
    :
 81 |             .assign(to: &controller.$title)
 82 |
 83 |         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
 84 |         webView.navigationDelegate = self
 85 |     }
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:84: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
 68 |
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 71 |         webView.publisher(for: \.estimatedProgress)
 72 |             .receive(on: DispatchQueue.main)
    :
 82 |
 83 |         webView.uiDelegate = self
 84 |         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
 85 |     }
 86 | }
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")
[42/44] Compiling DFService resource_bundle_accessor.swift
/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 |     public 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 |     /// 自定义go实现
23 |     public var customHandlerGo: ActionBuilder?
/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:30: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
 19 | import WebKit
 20 |
 21 | public struct WebView: PlatformRepresentable {
    |                        `- note: add '@preconcurrency' to the 'PlatformRepresentable' conformance to defer isolation checking to run time
 22 |     let controller: WebController
 23 |     let request: URLRequest?
    :
 28 |         self.controller = controller
 29 |     }
 30 |     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
 31 |         let web = context.coordinator.webView
 32 |         if let req = request {
/Users/admin/builder/spi-builder-workspace/Sources/DFService/exported.swift:33:10: note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
31 |     associatedtype PlatformView = NSViewType
32 |
33 |     func makeView(context: Context) -> PlatformView
   |          `- note: mark the protocol requirement 'makeView(context:)' 'async' to allow actor-isolated conformances
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:62: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
 60 |         required init(_ controller: WebController) {
 61 |             self.controller = controller
 62 |             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
 63 |             super.init()
 64 |             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:71:34: warning: cannot form key path to main actor-isolated property 'estimatedProgress'; this is an error in the Swift 6 language mode
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
 71 |         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
 72 |             .receive(on: DispatchQueue.main)
 73 |             .assign(to: &controller.$progress)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:74:34: warning: cannot form key path to main actor-isolated property 'isLoading'; this is an error in the Swift 6 language mode
 72 |             .receive(on: DispatchQueue.main)
 73 |             .assign(to: &controller.$progress)
 74 |         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
 75 |             .receive(on: DispatchQueue.main)
 76 |             .assign(to: &controller.$isLoading)
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:78:34: warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
 76 |             .assign(to: &controller.$isLoading)
 77 |
 78 |         webView.publisher(for: \.title)
    |                                  `- warning: cannot form key path to main actor-isolated property 'title'; this is an error in the Swift 6 language mode
 79 |             .receive(on: DispatchQueue.main)
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DFService/views/WebView.swift:83: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
 68 |
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 71 |         webView.publisher(for: \.estimatedProgress)
 72 |             .receive(on: DispatchQueue.main)
    :
 81 |             .assign(to: &controller.$title)
 82 |
 83 |         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
 84 |         webView.navigationDelegate = self
 85 |     }
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:84: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
 68 |
 69 | extension WebView.Coordinator {
 70 |     func makeObserve() {
    |          `- note: add '@MainActor' to make instance method 'makeObserve()' part of global actor 'MainActor'
 71 |         webView.publisher(for: \.estimatedProgress)
 72 |             .receive(on: DispatchQueue.main)
    :
 82 |
 83 |         webView.uiDelegate = self
 84 |         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
 85 |     }
 86 | }
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")
[42/44] Write Objects.LinkFileList
[43/44] Linking libDFService-Dynamic.dylib
Build complete! (26.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.bool.swift",
        "extension/app.bundle.swift",
        "extension/app.chain.swift",
        "extension/app.string.swift",
        "extension/app.thread.swift",
        "extension/app.view.swift",
        "modifier/PageModifier.swift",
        "pages/ErrorPage.swift",
        "pages/NavigationPage.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.