The Swift Package Index logo.Swift Package Index

Build Information

Successful build of WKWebViewJavascriptBridge, reference master (808302), with Swift 6.1 for macOS (SPM) on 10 Jul 2026 21:29:33 UTC.

Swift 6 data race errors: 0

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

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lision/WKWebViewJavascriptBridge.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Lision/WKWebViewJavascriptBridge
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8083028 docs: document Swift Package Manager support
Cloned https://github.com/Lision/WKWebViewJavascriptBridge.git
Revision (git rev-parse @):
8083028134f91c32647b109a78c36a0187708ad9
SUCCESS checkout https://github.com/Lision/WKWebViewJavascriptBridge.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Lision/WKWebViewJavascriptBridge.git
https://github.com/Lision/WKWebViewJavascriptBridge.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WKWebViewJavascriptBridge",
  "name" : "WKWebViewJavascriptBridge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "WKWebViewJavascriptBridge",
      "targets" : [
        "WKWebViewJavascriptBridge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WKWebViewJavascriptBridge",
      "module_type" : "SwiftTarget",
      "name" : "WKWebViewJavascriptBridge",
      "path" : "WKWebViewJavascriptBridge",
      "product_memberships" : [
        "WKWebViewJavascriptBridge"
      ],
      "sources" : [
        "WKWebViewJavascriptBridge.swift",
        "WKWebViewJavascriptBridgeBase.swift",
        "WKWebViewJavascriptBridgeJS.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling WKWebViewJavascriptBridge WKWebViewJavascriptBridgeJS.swift
[4/6] Compiling WKWebViewJavascriptBridge WKWebViewJavascriptBridgeBase.swift
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridgeBase.swift:138:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
136 |         } else {
137 |             DispatchQueue.main.async {
138 |                 self.delegate?.evaluateJavascript(javascript: javascriptCommand)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
139 |             }
140 |         }
[5/6] Emitting module WKWebViewJavascriptBridge
[6/6] Compiling WKWebViewJavascriptBridge WKWebViewJavascriptBridge.swift
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:60:18: warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 57 |
 58 |     // MARK: - Private Funcs
 59 |     private func flushMessageQueue() {
    |                  `- note: add '@MainActor' to make instance method 'flushMessageQueue()' part of global actor 'MainActor'
 60 |         webView?.evaluateJavaScript("WKWebViewJavascriptBridge._fetchQueue();") { (result, error) in
    |                  `- warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 61 |             if error != nil {
 62 |                 print("WKWebViewJavascriptBridge: WARNING: Error when trying to fetch data from WKWebView: \(String(describing: error))")
WebKit.WKWebView.evaluateJavaScript:2:22: note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)}
  |                      `- note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:71:54: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     private func addScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'addScriptMessageHandlers()' part of global actor 'MainActor'
 71 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_InjectJavascript)
    |                                                      `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_FlushMessageQueue)
 73 |     }
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
  |                      `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:71:32: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     private func addScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'addScriptMessageHandlers()' part of global actor 'MainActor'
 71 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_InjectJavascript)
    |                                `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 72 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_FlushMessageQueue)
 73 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
    |                                                        `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:71:18: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     private func addScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'addScriptMessageHandlers()' part of global actor 'MainActor'
 71 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_InjectJavascript)
    |                  `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 72 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_FlushMessageQueue)
 73 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
 89 | /*! @abstract A copy of the configuration with which the web view was
 90 |  initialized. */
 91 | @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
    |                                                               `- note: property declared here
 92 |
 93 | /*! @abstract The web view's navigation delegate. */
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:72:54: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     private func addScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'addScriptMessageHandlers()' part of global actor 'MainActor'
 71 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_InjectJavascript)
 72 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_FlushMessageQueue)
    |                                                      `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
WebKit.WKUserContentController.add:2:22: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)}
  |                      `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:72:32: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     private func addScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'addScriptMessageHandlers()' part of global actor 'MainActor'
 71 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_InjectJavascript)
 72 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_FlushMessageQueue)
    |                                `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
    |                                                        `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:72:18: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 68 |     }
 69 |
 70 |     private func addScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'addScriptMessageHandlers()' part of global actor 'MainActor'
 71 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_InjectJavascript)
 72 |         webView?.configuration.userContentController.add(LeakAvoider(delegate: self), name: iOS_Native_FlushMessageQueue)
    |                  `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
 89 | /*! @abstract A copy of the configuration with which the web view was
 90 |  initialized. */
 91 | @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
    |                                                               `- note: property declared here
 92 |
 93 | /*! @abstract The web view's navigation delegate. */
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:76:54: warning: call to main actor-isolated instance method 'removeScriptMessageHandler(forName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
 75 |     private func removeScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'removeScriptMessageHandlers()' part of global actor 'MainActor'
 76 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_InjectJavascript)
    |                                                      `- warning: call to main actor-isolated instance method 'removeScriptMessageHandler(forName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 77 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_FlushMessageQueue)
 78 |     }
WebKit.WKUserContentController.removeScriptMessageHandler:2:22: note: calls to instance method 'removeScriptMessageHandler(forName:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func removeScriptMessageHandler(forName name: String)}
  |                      `- note: calls to instance method 'removeScriptMessageHandler(forName:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:76:32: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
 75 |     private func removeScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'removeScriptMessageHandlers()' part of global actor 'MainActor'
 76 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_InjectJavascript)
    |                                `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 77 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_FlushMessageQueue)
 78 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
    |                                                        `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:76:18: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
 75 |     private func removeScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'removeScriptMessageHandlers()' part of global actor 'MainActor'
 76 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_InjectJavascript)
    |                  `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 77 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_FlushMessageQueue)
 78 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
 89 | /*! @abstract A copy of the configuration with which the web view was
 90 |  initialized. */
 91 | @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
    |                                                               `- note: property declared here
 92 |
 93 | /*! @abstract The web view's navigation delegate. */
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:77:54: warning: call to main actor-isolated instance method 'removeScriptMessageHandler(forName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
 75 |     private func removeScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'removeScriptMessageHandlers()' part of global actor 'MainActor'
 76 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_InjectJavascript)
 77 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_FlushMessageQueue)
    |                                                      `- warning: call to main actor-isolated instance method 'removeScriptMessageHandler(forName:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 78 |     }
 79 | }
WebKit.WKUserContentController.removeScriptMessageHandler:2:22: note: calls to instance method 'removeScriptMessageHandler(forName:)' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func removeScriptMessageHandler(forName name: String)}
  |                      `- note: calls to instance method 'removeScriptMessageHandler(forName:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:77:32: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
 75 |     private func removeScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'removeScriptMessageHandlers()' part of global actor 'MainActor'
 76 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_InjectJavascript)
 77 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_FlushMessageQueue)
    |                                `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 78 |     }
 79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:118:56: note: property declared here
116 | /*! @abstract The user content controller to associate with the web view.
117 | */
118 | @property (nonatomic, strong) WKUserContentController *userContentController;
    |                                                        `- note: property declared here
119 |
120 | /*! @abstract The web extension controller to associate with the web view.
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:77:18: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
 75 |     private func removeScriptMessageHandlers() {
    |                  `- note: add '@MainActor' to make instance method 'removeScriptMessageHandlers()' part of global actor 'MainActor'
 76 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_InjectJavascript)
 77 |         webView?.configuration.userContentController.removeScriptMessageHandler(forName: iOS_Native_FlushMessageQueue)
    |                  `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 78 |     }
 79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:91:63: note: property declared here
 89 | /*! @abstract A copy of the configuration with which the web view was
 90 |  initialized. */
 91 | @property (nonatomic, readonly, copy) WKWebViewConfiguration *configuration;
    |                                                               `- note: property declared here
 92 |
 93 | /*! @abstract The web view's navigation delegate. */
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:83:68: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
 80 |
 81 | extension WKWebViewJavascriptBridge: WKWebViewJavascriptBridgeBaseDelegate {
 82 |     func evaluateJavascript(javascript: String, completion: CompletionHandler) {
    |                                                 `- note: parameter 'completion' is implicitly non-sendable
 83 |         webView?.evaluateJavaScript(javascript, completionHandler: completion)
    |                                                                    `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
 84 |     }
 85 | }
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:83:18: warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 80 |
 81 | extension WKWebViewJavascriptBridge: WKWebViewJavascriptBridgeBaseDelegate {
 82 |     func evaluateJavascript(javascript: String, completion: CompletionHandler) {
    |          `- note: add '@MainActor' to make instance method 'evaluateJavascript(javascript:completion:)' part of global actor 'MainActor'
 83 |         webView?.evaluateJavaScript(javascript, completionHandler: completion)
    |                  `- warning: call to main actor-isolated instance method 'evaluateJavaScript(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 84 |     }
 85 | }
WebKit.WKWebView.evaluateJavaScript:2:22: note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func evaluateJavaScript(_ javaScriptString: String, completionHandler: (@MainActor @Sendable (Any?, (any Error)?) -> Void)? = nil)}
  |                      `- note: calls to instance method 'evaluateJavaScript(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/WKWebViewJavascriptBridge/WKWebViewJavascriptBridge.swift:66:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 64 |
 65 |             guard let resultStr = result as? String else { return }
 66 |             self.base.flush(messageQueueString: resultStr)
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 67 |         }
 68 |     }
Build complete! (6.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WKWebViewJavascriptBridge",
  "name" : "WKWebViewJavascriptBridge",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "WKWebViewJavascriptBridge",
      "targets" : [
        "WKWebViewJavascriptBridge"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WKWebViewJavascriptBridge",
      "module_type" : "SwiftTarget",
      "name" : "WKWebViewJavascriptBridge",
      "path" : "WKWebViewJavascriptBridge",
      "product_memberships" : [
        "WKWebViewJavascriptBridge"
      ],
      "sources" : [
        "WKWebViewJavascriptBridge.swift",
        "WKWebViewJavascriptBridgeBase.swift",
        "WKWebViewJavascriptBridgeJS.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.