Build Information
Successful build of AAInfographics-Pro with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
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-Pro.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AAChartModel/AAChartKit-Swift-Pro
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2cce71e Fix #5
Cloned https://github.com/AAChartModel/AAChartKit-Swift-Pro.git
Revision (git rev-parse @):
2cce71e428cb0306499c5d79f48d18681ab50f96
SUCCESS checkout https://github.com/AAChartModel/AAChartKit-Swift-Pro.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/AAChartModel/AAChartKit-Swift-Pro.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/47] Compiling AAInfographics_Pro AABulletDataElement.swift
[5/47] Compiling AAInfographics_Pro AAColorAxis.swift
[6/47] Compiling AAInfographics_Pro AAData.swift
[7/47] Compiling AAInfographics_Pro AAHeatmap.swift
[8/47] Compiling AAInfographics_Pro AAItem.swift
[9/51] Compiling AAInfographics_Pro AALegend.swift
[10/51] Compiling AAInfographics_Pro AAMarker.swift
[11/51] Compiling AAInfographics_Pro AAPane.swift
[12/51] Compiling AAInfographics_Pro AAPlotBandsElement.swift
[13/51] Compiling AAInfographics_Pro AAPlotLinesElement.swift
[14/51] Compiling AAInfographics_Pro AASolidgauge.swift
[15/51] Compiling AAInfographics_Pro AASolidgaugeDataElement.swift
[16/51] Compiling AAInfographics_Pro AATreemap.swift
[17/51] Compiling AAInfographics_Pro AAColor.swift
[18/51] Compiling AAInfographics_Pro AAAnimation.swift
[19/51] Compiling AAInfographics_Pro AAAxis.swift
[20/51] Compiling AAInfographics_Pro AABoxplot.swift
[21/51] Compiling AAInfographics_Pro AAChart.swift
[22/51] Compiling AAInfographics_Pro AACredits.swift
[23/51] Compiling AAInfographics_Pro AALayoutAlgorithm.swift
[24/51] Compiling AAInfographics_Pro AALevelsElement.swift
[25/51] Compiling AAInfographics_Pro AAPackedbubble.swift
[26/51] Compiling AAInfographics_Pro AAParallelAxes.swift
[27/51] Compiling AAInfographics_Pro AASubtitle.swift
[28/51] Compiling AAInfographics_Pro AATitle.swift
[29/51] Compiling AAInfographics_Pro AATooltip.swift
[30/51] Compiling AAInfographics_Pro AAXAxis.swift
[31/51] Compiling AAInfographics_Pro AAYAxis.swift
[32/51] Emitting module AAInfographics_Pro
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:609: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
606 | // MARK: - WKUIDelegate
607 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
608 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
609 | 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
610 | _ webView: WKWebView,
611 | 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-Pro/AAChartCreator/AAChartView.swift:650: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
647 | // MARK: - WKNavigationDelegate
648 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
649 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
650 | 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
651 | drawChart()
652 | 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-Pro/AAChartCreator/AAChartView.swift:659: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
656 | // MARK: - WKScriptMessageHandler
657 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
658 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
659 | 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
660 | if message.name == kUserContentMessageNameClick {
661 | 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)
[33/51] Compiling AAInfographics_Pro AAPlotOptions.swift
[34/51] Compiling AAInfographics_Pro AAScrollablePlotArea.swift
[35/51] Compiling AAInfographics_Pro AASeries.swift
[36/51] Compiling AAInfographics_Pro AAStates.swift
[37/51] Compiling AAInfographics_Pro AAStyle.swift
[38/51] Compiling AAInfographics_Pro AACrosshair.swift
[39/51] Compiling AAInfographics_Pro AADataLabels.swift
[40/51] Compiling AAInfographics_Pro AALabel.swift
[41/51] Compiling AAInfographics_Pro AALabels.swift
[42/51] Compiling AAInfographics_Pro AALang.swift
[43/51] Compiling AAInfographics_Pro AAExtension.swift
[44/51] Compiling AAInfographics_Pro AAGradientColor.swift
[45/51] Compiling AAInfographics_Pro PackageBundlePathLoader.swift
[46/51] Compiling AAInfographics_Pro resource_bundle_accessor.swift
[47/51] Compiling AAInfographics_Pro AAChartModel.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:609: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
606 | // MARK: - WKUIDelegate
607 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
608 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
609 | 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
610 | _ webView: WKWebView,
611 | 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-Pro/AAChartCreator/AAChartView.swift:650: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
647 | // MARK: - WKNavigationDelegate
648 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
649 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
650 | 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
651 | drawChart()
652 | 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-Pro/AAChartCreator/AAChartView.swift:659: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
656 | // MARK: - WKScriptMessageHandler
657 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
658 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
659 | 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
660 | if message.name == kUserContentMessageNameClick {
661 | 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-Pro/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 }
[48/51] Compiling AAInfographics_Pro AAChartView.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:609: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
606 | // MARK: - WKUIDelegate
607 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
608 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
609 | 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
610 | _ webView: WKWebView,
611 | 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-Pro/AAChartCreator/AAChartView.swift:650: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
647 | // MARK: - WKNavigationDelegate
648 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
649 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
650 | 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
651 | drawChart()
652 | 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-Pro/AAChartCreator/AAChartView.swift:659: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
656 | // MARK: - WKScriptMessageHandler
657 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
658 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
659 | 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
660 | if message.name == kUserContentMessageNameClick {
661 | 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-Pro/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 }
[49/51] Compiling AAInfographics_Pro AAOptions.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:609: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
606 | // MARK: - WKUIDelegate
607 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
608 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
609 | 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
610 | _ webView: WKWebView,
611 | 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-Pro/AAChartCreator/AAChartView.swift:650: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
647 | // MARK: - WKNavigationDelegate
648 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
649 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
650 | 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
651 | drawChart()
652 | 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-Pro/AAChartCreator/AAChartView.swift:659: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
656 | // MARK: - WKScriptMessageHandler
657 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
658 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
659 | 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
660 | if message.name == kUserContentMessageNameClick {
661 | 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-Pro/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 }
[50/51] Compiling AAInfographics_Pro AASerializable.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:609: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
606 | // MARK: - WKUIDelegate
607 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
608 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
609 | 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
610 | _ webView: WKWebView,
611 | 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-Pro/AAChartCreator/AAChartView.swift:650: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
647 | // MARK: - WKNavigationDelegate
648 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
649 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
650 | 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
651 | drawChart()
652 | 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-Pro/AAChartCreator/AAChartView.swift:659: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
656 | // MARK: - WKScriptMessageHandler
657 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
658 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
659 | 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
660 | if message.name == kUserContentMessageNameClick {
661 | 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-Pro/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 }
[51/51] Compiling AAInfographics_Pro AASeriesElement.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/AAChartCreator/AAChartView.swift:609: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
606 | // MARK: - WKUIDelegate
607 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
608 | extension AAChartView: WKUIDelegate {
| `- note: add '@preconcurrency' to the 'WKUIDelegate' conformance to defer isolation checking to run time
609 | 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
610 | _ webView: WKWebView,
611 | 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-Pro/AAChartCreator/AAChartView.swift:650: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
647 | // MARK: - WKNavigationDelegate
648 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
649 | extension AAChartView: WKNavigationDelegate {
| `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
650 | 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
651 | drawChart()
652 | 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-Pro/AAChartCreator/AAChartView.swift:659: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
656 | // MARK: - WKScriptMessageHandler
657 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
658 | extension AAChartView: WKScriptMessageHandler {
| `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
659 | 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
660 | if message.name == kUserContentMessageNameClick {
661 | 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-Pro/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 }
Build complete! (29.96s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/Info.plist': File not found.
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AAInfographics-Pro",
"name" : "AAInfographics-Pro",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "AAInfographics-Pro",
"targets" : [
"AAInfographics-Pro"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AAInfographics_Pro",
"module_type" : "SwiftTarget",
"name" : "AAInfographics-Pro",
"path" : "AAInfographics-Pro",
"product_memberships" : [
"AAInfographics-Pro"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/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/AAChart.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/AAPlotBandsElement.swift",
"AAOptionsModel/AAPlotLinesElement.swift",
"AAOptionsModel/AAPlotOptions.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",
"AAOptionsProModel/AABulletDataElement.swift",
"AAOptionsProModel/AAColorAxis.swift",
"AAOptionsProModel/AAData.swift",
"AAOptionsProModel/AAHeatmap.swift",
"AAOptionsProModel/AAItem.swift",
"AAOptionsProModel/AALayoutAlgorithm.swift",
"AAOptionsProModel/AALevelsElement.swift",
"AAOptionsProModel/AAPackedbubble.swift",
"AAOptionsProModel/AAParallelAxes.swift",
"AAOptionsProModel/AASolidgauge.swift",
"AAOptionsProModel/AASolidgaugeDataElement.swift",
"AAOptionsProModel/AATreemap.swift",
"AATool/AAColor.swift",
"AATool/AAExtension.swift",
"AATool/AAGradientColor.swift",
"PackageBundlePathLoader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/AAInfographics-Pro/Info.plist': File not found.
Done.