Build Information
Successful build of Stem, reference 2.1.0 (fe88a2
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 03:51:53 UTC.
Swift 6 data race errors: 115
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[129/150] Compiling Stem STLazyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[130/150] Compiling Stem UNUserNotificationCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[131/150] Compiling Stem HybridCookieStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[132/150] Compiling Stem WebKit+WKWebView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[133/150] Compiling Stem RecoverNavigationProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[134/150] Compiling Stem UIApplication.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[135/150] Compiling Stem UIWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[136/150] Compiling Stem AttributedString+Attribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:204:16: warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
202 | public extension STLyric.IDTagKey {
203 | /// Lyrics artist
204 | static let artist = STLyric.IDTagKey("ar")
| |- warning: static property 'artist' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'artist' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:206:16: warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
204 | static let artist = STLyric.IDTagKey("ar")
205 | /// Album where the song is from
206 | static let album = STLyric.IDTagKey("al")
| |- warning: static property 'album' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'album' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:208:16: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
206 | static let album = STLyric.IDTagKey("al")
207 | /// Lyrics (song) title
208 | static let title = STLyric.IDTagKey("ti")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:210:16: warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
208 | static let title = STLyric.IDTagKey("ti")
209 | /// Creator of the Songtext
210 | static let author = STLyric.IDTagKey("au")
| |- warning: static property 'author' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'author' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:212:16: warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
210 | static let author = STLyric.IDTagKey("au")
211 | /// How long the song is
212 | static let length = STLyric.IDTagKey("length")
| |- warning: static property 'length' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'length' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:214:16: warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
212 | static let length = STLyric.IDTagKey("length")
213 | /// Creator of the LRC file
214 | static let creator = STLyric.IDTagKey("by")
| |- warning: static property 'creator' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'creator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:216:16: warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
214 | static let creator = STLyric.IDTagKey("by")
215 | /// +/- Overall timestamp adjustment in milliseconds, + shifts time up, - shifts down
216 | static let offset = STLyric.IDTagKey("offset")
| |- warning: static property 'offset' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'offset' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:218:16: warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
216 | static let offset = STLyric.IDTagKey("offset")
217 | /// The player or editor that created the LRC file
218 | static let editor = STLyric.IDTagKey("re")
| |- warning: static property 'editor' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'editor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/STLyric.swift:220:16: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public struct STLyric {
12 |
13 | public struct IDTagKey: RawRepresentable, ExpressibleByStringLiteral, Hashable {
| `- note: consider making struct 'IDTagKey' conform to the 'Sendable' protocol
14 |
15 | public var rawValue: String
:
218 | static let editor = STLyric.IDTagKey("re")
219 | /// version of program
220 | static let version = STLyric.IDTagKey("ve")
| |- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'STLyric.IDTagKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:29:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | @available(iOS 13.0, *)
28 | public class HybridCookieStorage {
| `- note: class 'HybridCookieStorage' does not conform to the 'Sendable' protocol
29 | public static let shared = HybridCookieStorage()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HybridCookieStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | private var cancellable: AnyCancellable?
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:66: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:50: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:45:40: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | .sink { list in
44 | for item in list {
45 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:58: warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated instance method 'setCookie(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKHTTPCookieStore.setCookie:2:22: note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKHTTPCookieStore {
2 | @MainActor open func setCookie(_ cookie: HTTPCookie, completionHandler: (@MainActor @Sendable () -> Void)? = nil)}
| `- note: calls to instance method 'setCookie(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:42: warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: main actor-isolated property 'httpCookieStore' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:85:52: note: property declared here
83 |
84 | /*! @abstract Returns the cookie store representing HTTP cookies in this website data store. */
85 | @property (nonatomic, readonly) WKHTTPCookieStore *httpCookieStore API_AVAILABLE(macos(10.13), ios(11.0));
| `- note: property declared here
86 |
87 | /*! @abstract Get identifier for a data store.
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/HybridCookieStorage.swift:58:32: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | func sync() {
| `- note: add '@MainActor' to make instance method 'sync()' part of global actor 'MainActor'
57 | for item in HTTPCookieStorage.shared.cookies ?? [] {
58 | WKWebsiteDataStore.default().httpCookieStore.setCookie(item, completionHandler: nil)
| `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 | }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
| `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:32:18: warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
| `- warning: call to main actor-isolated instance method 'loadFileURL(_:allowingReadAccessTo:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | } else {
34 | base.load(URLRequest(url: url))
WebKit.WKWebView.loadFileURL:3:24: note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation?}
| `- note: calls to instance method 'loadFileURL(_:allowingReadAccessTo:)' from outside of its actor context are implicitly asynchronous
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Stem/CrossPlatform/WebKit/WebKit+WKWebView.swift:34:18: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 |
28 | @available(iOS 9.0, *) @available(macOS 10.11, *)
29 | public func load(_ url: URL) {
| `- note: add '@MainActor' to make instance method 'load' part of global actor 'MainActor'
30 | if url.isFileURL {
31 | // allowingReadAccessTo: 授权路径, 真机上需要赋予相应路径权限, html才可加载相应路径资源文件
32 | base.loadFileURL(url, allowingReadAccessTo: url.deletingLastPathComponent())
33 | } else {
34 | base.load(URLRequest(url: url))
| `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | }
36 | }
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
| `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
[137/150] Compiling Stem AttributedString.swift
[138/150] Compiling Stem MutableAttributedString.swift
[139/150] Compiling Stem UIButton.swift
[140/150] Compiling Stem UIControl.swift
[141/150] Compiling Stem STGestureRecognizer.swift
[142/150] Compiling Stem TapticEngine.swift
[143/150] Compiling Stem UIFont.swift
[144/150] Compiling Stem UIGestureRecognizer+State.swift
[145/150] Compiling Stem CGImage.swift
[146/150] Compiling Stem CIFilter+Generator.swift
[147/150] Compiling Stem CIFilter+enum.swift
[148/150] Compiling Stem CIFilter+protocol.swift
[149/150] Compiling Stem NSImage+Data.swift
[150/150] Compiling Stem NSImage+Resize.swift
Build complete! (36.04s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Stem",
"name" : "Stem",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Stem",
"targets" : [
"Stem"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StemTests",
"module_type" : "SwiftTarget",
"name" : "StemTests",
"path" : "Tests/StemTests",
"sources" : [
"AttributedString+HTML.swift",
"LyricTests.swift",
"MimeType/CGFloatExtensionTests.swift",
"MimeType/MimeTypeTest.swift",
"MimeType/StringExtensionTests.swift",
"MimeType/Tests.swift",
"Test-Combine.swift",
"XMLTest.swift"
],
"target_dependencies" : [
"Stem"
],
"type" : "test"
},
{
"c99name" : "Stem",
"module_type" : "SwiftTarget",
"name" : "Stem",
"path" : "Sources/Stem",
"product_memberships" : [
"Stem"
],
"sources" : [
"Core/Stem.swift",
"CrossPlatform/AVKit/AVAsset.swift",
"CrossPlatform/AVKit/AudioFileService.swift",
"CrossPlatform/AVKit/CoreAudioTypes.swift",
"CrossPlatform/AVKit/STAudioPlayer.swift",
"CrossPlatform/AVKit/STAudioQueueService.swift",
"CrossPlatform/AVKit/STAudioRecorder.swift",
"CrossPlatform/AVKit/STMetadataObject/STAVMetadataObjectKind.swift",
"CrossPlatform/AVKit/STMetadataObject/STMetadataFaceObject.swift",
"CrossPlatform/AVKit/STMetadataObject/STMetadataMachineReadableCodeObject.swift",
"CrossPlatform/AVKit/STMetadataObject/STMetadataObject.swift",
"CrossPlatform/AVKit/UIDevice+AVFoundation.swift",
"CrossPlatform/AVKit/UIImage+video.swift",
"CrossPlatform/Color/Color+darkMode.swift",
"CrossPlatform/Color/STWrapperColor+typealias.swift",
"CrossPlatform/Color/STWrapperColor.swift",
"CrossPlatform/Custom/Bundle/Bundle.swift",
"CrossPlatform/Custom/Combine/Combine+Async.swift",
"CrossPlatform/Custom/Combine/Combine+NSObject.swift",
"CrossPlatform/Custom/Combine/Combine+Publisher.swift",
"CrossPlatform/Custom/Device/Device+cpu.swift",
"CrossPlatform/Custom/Device/Device+information.swift",
"CrossPlatform/Custom/Device/Device+network.swift",
"CrossPlatform/Custom/Device/Device+other.swift",
"CrossPlatform/Custom/Device/Device+space.swift",
"CrossPlatform/Custom/Device/Device.swift",
"CrossPlatform/Custom/Foundation/Delegate.swift",
"CrossPlatform/Custom/Foundation/Gcd.swift",
"CrossPlatform/Custom/Foundation/Notice/Notice.swift",
"CrossPlatform/Custom/Foundation/Notice/NoticeParsable.swift",
"CrossPlatform/Custom/Foundation/Notice/NoticeToken.swift",
"CrossPlatform/Custom/Foundation/Notice/NoticeType.swift",
"CrossPlatform/Custom/Foundation/STLRUCache.swift",
"CrossPlatform/Custom/Foundation/UserDefaults.swift",
"CrossPlatform/Custom/Foundation/Version/STVersion.swift",
"CrossPlatform/Custom/Foundation/Version/Version+StringLiteralConvertible.swift",
"CrossPlatform/Custom/Location/LocationTransformer.swift",
"CrossPlatform/Custom/StemArrayResultBuilder.swift",
"CrossPlatform/Custom/StemError.swift",
"CrossPlatform/Custom/StemFont.swift",
"CrossPlatform/Custom/StemShell.swift",
"CrossPlatform/Custom/StringMarker/StringMarker.swift",
"CrossPlatform/Custom/StringMarker/StringRender+Marker.swift",
"CrossPlatform/Custom/StringMarker/StringRender.swift",
"CrossPlatform/Foundation/Coder/Coder.swift",
"CrossPlatform/Foundation/Date/Date.swift",
"CrossPlatform/Foundation/Date/Timer.swift",
"CrossPlatform/Foundation/Dispatch/DispatchQueue.swift",
"CrossPlatform/Foundation/Fundamentals/Formatter/ByteCountFormatter.swift",
"CrossPlatform/Foundation/Fundamentals/Formatter/NumberFormatter.swift",
"CrossPlatform/Foundation/NSItemProvider/NSItemProvider.swift",
"CrossPlatform/Foundation/StringProtocol/CharacterSet.swift",
"CrossPlatform/Foundation/StringProtocol/StringProtocol.swift",
"CrossPlatform/Foundation/Then.swift",
"CrossPlatform/Fundamentals/Collections/Array.swift",
"CrossPlatform/Fundamentals/Collections/CollectionConcurrencyKit.swift",
"CrossPlatform/Fundamentals/Collections/Dictionary.swift",
"CrossPlatform/Fundamentals/Collections/IndexPath.swift",
"CrossPlatform/Fundamentals/Collections/STCountedSet.swift",
"CrossPlatform/Fundamentals/Collections/Sequence.swift",
"CrossPlatform/Fundamentals/Data/Data+MimeType.swift",
"CrossPlatform/Fundamentals/Data/Data+crypto.swift",
"CrossPlatform/Fundamentals/Data/Data.swift",
"CrossPlatform/Fundamentals/Geometry/CGFloat.swift",
"CrossPlatform/Fundamentals/Geometry/CGPoint.swift",
"CrossPlatform/Fundamentals/Geometry/CGRect.swift",
"CrossPlatform/Fundamentals/Geometry/CGSize.swift",
"CrossPlatform/Fundamentals/Geometry/CGVector.swift",
"CrossPlatform/Fundamentals/Number/Bool.swift",
"CrossPlatform/Fundamentals/Number/Decimal.swift",
"CrossPlatform/Fundamentals/Number/Double.swift",
"CrossPlatform/Fundamentals/String/Character/Character.swift",
"CrossPlatform/Fundamentals/String/String+Emoji.swift",
"CrossPlatform/Fundamentals/String/String+Header.swift",
"CrossPlatform/Fundamentals/String/String+Map.swift",
"CrossPlatform/Fundamentals/String/String+random.swift",
"CrossPlatform/Fundamentals/String/String+substring.swift",
"CrossPlatform/Fundamentals/String/String+tokenize.swift",
"CrossPlatform/Fundamentals/URL/URL.swift",
"CrossPlatform/ISO/ISO_3166-1_alpha-2.swift",
"CrossPlatform/MapKit/CLGeocoder.swift",
"CrossPlatform/NSObject/NSObject.swift",
"CrossPlatform/NSObject/NSObjectObserver.swift",
"CrossPlatform/NSObject/STWeak.swift",
"CrossPlatform/Network/NetworkMonitor.swift",
"CrossPlatform/Parser/JSON/StemXML.swift",
"CrossPlatform/Runtime/Invocation.swift",
"CrossPlatform/Runtime/RunTime+Exchange.swift",
"CrossPlatform/Runtime/RunTime+ObjectType.swift",
"CrossPlatform/Runtime/RunTime+Print.swift",
"CrossPlatform/Runtime/RunTime.swift",
"CrossPlatform/SFSymbol/SFSymbol+Image.swift",
"CrossPlatform/SFSymbol/SFSymbol+NSImage.swift",
"CrossPlatform/SFSymbol/SFSymbol+UIImage.swift",
"CrossPlatform/SFSymbol/SFSymbol.swift",
"CrossPlatform/STImage.swift",
"CrossPlatform/STLyric.swift",
"CrossPlatform/SwiftUI/STLazyView.swift",
"CrossPlatform/UserNotifications/UNUserNotificationCenter.swift",
"CrossPlatform/WebKit/HybridCookieStorage.swift",
"CrossPlatform/WebKit/WebKit+WKWebView.swift",
"STUIKit/RecoverNavigationProtocol/RecoverNavigationProtocol.swift",
"UIKit/Application/UIApplication.swift",
"UIKit/Application/UIWindow.swift",
"UIKit/AttributedString/AttributedString+Attribute.swift",
"UIKit/AttributedString/AttributedString.swift",
"UIKit/AttributedString/MutableAttributedString.swift",
"UIKit/Control/UIButton.swift",
"UIKit/Control/UIControl.swift",
"UIKit/Custom/GestureRecognizer/STGestureRecognizer.swift",
"UIKit/Custom/TapticEngine/TapticEngine.swift",
"UIKit/Font/UIFont.swift",
"UIKit/GestureRecognizer/UIGestureRecognizer+State.swift",
"UIKit/Image/CGImage/CGImage.swift",
"UIKit/Image/CoreImage/CIFilter+Generator.swift",
"UIKit/Image/CoreImage/CIFilter+enum.swift",
"UIKit/Image/CoreImage/CIFilter+protocol.swift",
"UIKit/Image/NSImage/NSImage+Data.swift",
"UIKit/Image/NSImage/NSImage+Resize.swift",
"UIKit/Image/SVG/StemSVG.swift",
"UIKit/Image/UIImage/UIImage+Color.swift",
"UIKit/Image/UIImage/UIImage+CoreImage.swift",
"UIKit/Image/UIImage/UIImage+Edit.swift",
"UIKit/Image/UIImage/UIImage+Format.swift",
"UIKit/Image/UIImage/UIImage+info.swift",
"UIKit/Image/UIImage/UIImage+size.swift",
"UIKit/Image/UIImage/UImage+other.swift",
"UIKit/ImageView/UIImageView.swift",
"UIKit/InputView/UISearchBar.swift",
"UIKit/InputView/UITextField.swift",
"UIKit/InputView/UITextView.swift",
"UIKit/Interface/UINib.swift",
"UIKit/Interface/UIStoryboard.swift",
"UIKit/Keyboard/KeyboardStateManager.swift",
"UIKit/Keyboard/UIKeyCommand.swift",
"UIKit/Label/UILabel.swift",
"UIKit/ListView/UIScrollView.swift",
"UIKit/NSLayoutConstraint/NSLayoutConstraint.swift",
"UIKit/View/CALayer+Stem.swift",
"UIKit/View/STLayerView.swift",
"UIKit/View/STSwitch.swift",
"UIKit/View/UIResponder.swift",
"UIKit/View/UIStackView.swift",
"UIKit/View/UIView.swift",
"UIKit/ViewController/STControllerPreview.swift",
"UIKit/ViewController/UINavigationController.swift",
"UIKit/ViewController/UIViewController.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.