Build Information
Successful build of AAInfographics with Swift 6.0 (beta) for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AAChartModel/AAChartKit-Swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AAChartModel/AAChartKit-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 222b74a Update JSFunctionForAAChartEventsComposer2.swift
Cloned https://github.com/AAChartModel/AAChartKit-Swift.git
Revision (git rev-parse @):
222b74aa37f06b8dd68a8b178264b4fae34d8d5a
SUCCESS checkout https://github.com/AAChartModel/AAChartKit-Swift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/AAChartModel/AAChartKit-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying AAJSFiles.bundle
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/42] Emitting module AAInfographics
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:612:15: warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | // MARK: - WKUIDelegate
610 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
611 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
612 | open func webView(
| |- warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to make this instance method not isolated to the actor
613 | _ webView: WKWebView,
614 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:19: note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping () -> Void)
| `- note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:666:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
663 | // MARK: - WKNavigationDelegate
664 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
665 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
666 | open func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
| |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
667 | drawChart()
668 | delegate?.aaChartViewDidFinishLoad?(self)
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 | @available(macOS 10.10, *)
32 | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
| `- note: 'webView(_:didFinish:)' declared here
33 | @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:675:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
672 | // MARK: - WKScriptMessageHandler
673 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
674 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
675 | open func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
| |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
676 | if message.name == kUserContentMessageNameClick {
677 | let messageBody = message.body as! [String: Any]
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 | @available(macOS 10.10, *)
3 | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
| `- note: 'userContentController(_:didReceive:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
[5/46] Compiling AAInfographics AAGradientColor+RadialGradient.swift
[6/46] Compiling AAInfographics AAGradientColor.swift
[7/46] Compiling AAInfographics PackageBundlePathLoader.swift
[8/46] Compiling AAInfographics resource_bundle_accessor.swift
[9/46] Compiling AAInfographics AAAnimation.swift
[10/46] Compiling AAInfographics AAAxis.swift
[11/46] Compiling AAInfographics AABoxplot.swift
[12/46] Compiling AAInfographics AABubbleLegend.swift
[13/46] Compiling AAInfographics AAChart.swift
[14/46] Compiling AAInfographics AAColumn.swift
[15/46] Compiling AAInfographics AACredits.swift
[16/46] Compiling AAInfographics AACrosshair.swift
[17/46] Compiling AAInfographics AADataLabels.swift
[18/46] Compiling AAInfographics AAPlotLinesElement.swift
[19/46] Compiling AAInfographics AAPlotOptions.swift
[20/46] Compiling AAInfographics AAScatter.swift
[21/46] Compiling AAInfographics AAScrollablePlotArea.swift
[22/46] Compiling AAInfographics AATitle.swift
[23/46] Compiling AAInfographics AATooltip.swift
[24/46] Compiling AAInfographics AAXAxis.swift
[25/46] Compiling AAInfographics AAYAxis.swift
[26/46] Compiling AAInfographics AASeries.swift
[27/46] Compiling AAInfographics AAStates.swift
[28/46] Compiling AAInfographics AAStyle.swift
[29/46] Compiling AAInfographics AASubtitle.swift
[30/46] Compiling AAInfographics AAColor.swift
[31/46] Compiling AAInfographics AAExtension.swift
[32/46] Compiling AAInfographics AAGradientColor+DefaultThemes.swift
[33/46] Compiling AAInfographics AAGradientColor+LinearGradient.swift
[34/46] Compiling AAInfographics AALabel.swift
[35/46] Compiling AAInfographics AALabels.swift
[36/46] Compiling AAInfographics AALang.swift
[37/46] Compiling AAInfographics AALegend.swift
[38/46] Compiling AAInfographics AAChartModel.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:612:15: warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | // MARK: - WKUIDelegate
610 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
611 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
612 | open func webView(
| |- warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to make this instance method not isolated to the actor
613 | _ webView: WKWebView,
614 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:19: note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping () -> Void)
| `- note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:666:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
663 | // MARK: - WKNavigationDelegate
664 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
665 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
666 | open func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
| |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
667 | drawChart()
668 | delegate?.aaChartViewDidFinishLoad?(self)
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 | @available(macOS 10.10, *)
32 | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
| `- note: 'webView(_:didFinish:)' declared here
33 | @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:675:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
672 | // MARK: - WKScriptMessageHandler
673 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
674 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
675 | open func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
| |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
676 | if message.name == kUserContentMessageNameClick {
677 | let messageBody = message.body as! [String: Any]
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 | @available(macOS 10.10, *)
3 | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
| `- note: 'userContentController(_:didReceive:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:291:9: warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
289 |
290 | deinit {
291 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
292 | NotificationCenter.default.removeObserver(self)
293 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[39/46] Compiling AAInfographics AAChartView.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:612:15: warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | // MARK: - WKUIDelegate
610 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
611 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
612 | open func webView(
| |- warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to make this instance method not isolated to the actor
613 | _ webView: WKWebView,
614 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:19: note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping () -> Void)
| `- note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:666:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
663 | // MARK: - WKNavigationDelegate
664 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
665 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
666 | open func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
| |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
667 | drawChart()
668 | delegate?.aaChartViewDidFinishLoad?(self)
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 | @available(macOS 10.10, *)
32 | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
| `- note: 'webView(_:didFinish:)' declared here
33 | @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:675:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
672 | // MARK: - WKScriptMessageHandler
673 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
674 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
675 | open func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
| |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
676 | if message.name == kUserContentMessageNameClick {
677 | let messageBody = message.body as! [String: Any]
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 | @available(macOS 10.10, *)
3 | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
| `- note: 'userContentController(_:didReceive:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:291:9: warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
289 |
290 | deinit {
291 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
292 | NotificationCenter.default.removeObserver(self)
293 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[40/46] Compiling AAInfographics AAOptions.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:612:15: warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | // MARK: - WKUIDelegate
610 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
611 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
612 | open func webView(
| |- warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to make this instance method not isolated to the actor
613 | _ webView: WKWebView,
614 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:19: note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping () -> Void)
| `- note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:666:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
663 | // MARK: - WKNavigationDelegate
664 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
665 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
666 | open func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
| |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
667 | drawChart()
668 | delegate?.aaChartViewDidFinishLoad?(self)
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 | @available(macOS 10.10, *)
32 | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
| `- note: 'webView(_:didFinish:)' declared here
33 | @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:675:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
672 | // MARK: - WKScriptMessageHandler
673 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
674 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
675 | open func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
| |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
676 | if message.name == kUserContentMessageNameClick {
677 | let messageBody = message.body as! [String: Any]
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 | @available(macOS 10.10, *)
3 | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
| `- note: 'userContentController(_:didReceive:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:291:9: warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
289 |
290 | deinit {
291 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
292 | NotificationCenter.default.removeObserver(self)
293 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[41/46] Compiling AAInfographics AASerializable.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:612:15: warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | // MARK: - WKUIDelegate
610 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
611 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
612 | open func webView(
| |- warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to make this instance method not isolated to the actor
613 | _ webView: WKWebView,
614 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:19: note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping () -> Void)
| `- note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:666:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
663 | // MARK: - WKNavigationDelegate
664 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
665 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
666 | open func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
| |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
667 | drawChart()
668 | delegate?.aaChartViewDidFinishLoad?(self)
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 | @available(macOS 10.10, *)
32 | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
| `- note: 'webView(_:didFinish:)' declared here
33 | @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:675:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
672 | // MARK: - WKScriptMessageHandler
673 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
674 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
675 | open func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
| |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
676 | if message.name == kUserContentMessageNameClick {
677 | let messageBody = message.body as! [String: Any]
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 | @available(macOS 10.10, *)
3 | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
| `- note: 'userContentController(_:didReceive:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:291:9: warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
289 |
290 | deinit {
291 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
292 | NotificationCenter.default.removeObserver(self)
293 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[42/46] Compiling AAInfographics AASeriesElement.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:612:15: warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | // MARK: - WKUIDelegate
610 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
611 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
612 | open func webView(
| |- warning: main actor-isolated instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to make this instance method not isolated to the actor
613 | _ webView: WKWebView,
614 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate:9:19: note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
7 | optional func webViewDidClose(_ webView: WKWebView)
8 | @available(macOS 10.10, *)
9 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping () -> Void)
| `- note: 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
10 | @available(macOS 10.10, *)
11 | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo) async
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:666:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
663 | // MARK: - WKNavigationDelegate
664 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
665 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
666 | open func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
| |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
667 | drawChart()
668 | delegate?.aaChartViewDidFinishLoad?(self)
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 | @available(macOS 10.10, *)
32 | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
| `- note: 'webView(_:didFinish:)' declared here
33 | @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:675:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
672 | // MARK: - WKScriptMessageHandler
673 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
674 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
675 | open func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) {
| |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
676 | if message.name == kUserContentMessageNameClick {
677 | let messageBody = message.body as! [String: Any]
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 | @available(macOS 10.10, *)
3 | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
| `- note: 'userContentController(_:didReceive:)' declared here
4 | @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:291:9: warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
289 |
290 | deinit {
291 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
292 | NotificationCenter.default.removeObserver(self)
293 | #if DEBUG
WebKit.WKWebView:3:36: note: property declared here
1 | @available(macOS 10.10, *)
2 | @MainActor open class WKWebView : NSView {
3 | @NSCopying @MainActor open var configuration: WKWebViewConfiguration { get }
| `- note: property declared here
4 | @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
5 | @MainActor weak open var uiDelegate: (any WKUIDelegate)? { get set }
[43/46] Compiling AAInfographics AAMarker.swift
[44/46] Compiling AAInfographics AAPane.swift
[45/46] Compiling AAInfographics AAPie.swift
[46/46] Compiling AAInfographics AAPlotBandsElement.swift
Build complete! (31.80s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AAInfographics",
"name" : "AAInfographics",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "AAInfographics",
"targets" : [
"AAInfographics"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AAInfographics",
"module_type" : "SwiftTarget",
"name" : "AAInfographics",
"path" : "AAInfographics",
"product_memberships" : [
"AAInfographics"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/AAInfographics/AAJSFiles.bundle",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AAChartCreator/AAChartModel.swift",
"AAChartCreator/AAChartView.swift",
"AAChartCreator/AAOptions.swift",
"AAChartCreator/AASerializable.swift",
"AAChartCreator/AASeriesElement.swift",
"AAOptionsModel/AAAnimation.swift",
"AAOptionsModel/AAAxis.swift",
"AAOptionsModel/AABoxplot.swift",
"AAOptionsModel/AABubbleLegend.swift",
"AAOptionsModel/AAChart.swift",
"AAOptionsModel/AAColumn.swift",
"AAOptionsModel/AACredits.swift",
"AAOptionsModel/AACrosshair.swift",
"AAOptionsModel/AADataLabels.swift",
"AAOptionsModel/AALabel.swift",
"AAOptionsModel/AALabels.swift",
"AAOptionsModel/AALang.swift",
"AAOptionsModel/AALegend.swift",
"AAOptionsModel/AAMarker.swift",
"AAOptionsModel/AAPane.swift",
"AAOptionsModel/AAPie.swift",
"AAOptionsModel/AAPlotBandsElement.swift",
"AAOptionsModel/AAPlotLinesElement.swift",
"AAOptionsModel/AAPlotOptions.swift",
"AAOptionsModel/AAScatter.swift",
"AAOptionsModel/AAScrollablePlotArea.swift",
"AAOptionsModel/AASeries.swift",
"AAOptionsModel/AAStates.swift",
"AAOptionsModel/AAStyle.swift",
"AAOptionsModel/AASubtitle.swift",
"AAOptionsModel/AATitle.swift",
"AAOptionsModel/AATooltip.swift",
"AAOptionsModel/AAXAxis.swift",
"AAOptionsModel/AAYAxis.swift",
"AATool/AAColor.swift",
"AATool/AAExtension.swift",
"AATool/AAGradientColor+DefaultThemes.swift",
"AATool/AAGradientColor+LinearGradient.swift",
"AATool/AAGradientColor+RadialGradient.swift",
"AATool/AAGradientColor.swift",
"PackageBundlePathLoader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.