Build Information
Successful build of AAInfographics, reference master (b61e92
), with Swift 6.1 for macOS (SPM) on 6 Jun 2025 11:34:50 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: 4.63.1
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 b61e92f Update MultiXAxesChartComposer.swift
Cloned https://github.com/AAChartModel/AAChartKit-Swift.git
Revision (git rev-parse @):
b61e92f0019fcc1b5d013b8514404efe3e60974a
SUCCESS checkout https://github.com/AAChartModel/AAChartKit-Swift.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "aachartkit-swift",
"name": "AAInfographics",
"url": "https://github.com/AAChartModel/AAChartKit-Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AAChartKit-Swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/AAChartModel/AAChartKit-Swift.git
[1/12363] Fetching aachartkit-swift
Fetched https://github.com/AAChartModel/AAChartKit-Swift.git from cache (1.41s)
Creating working copy for https://github.com/AAChartModel/AAChartKit-Swift.git
Working copy of https://github.com/AAChartModel/AAChartKit-Swift.git resolved at master (b61e92f)
warning: '.resolve-product-dependencies': dependency 'aachartkit-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/AAChartModel/AAChartKit-Swift.git
https://github.com/AAChartModel/AAChartKit-Swift.git
{
"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+API.swift",
"AAChartCreator/AAChartView.swift",
"AAChartCreator/AAChartViewPluginProvider.swift",
"AAChartCreator/AAOptions.swift",
"AAChartCreator/AASerializable.swift",
"AAChartCreator/AASeriesElement.swift",
"AAOptionsModel/AAAnimation.swift",
"AAOptionsModel/AAAxis.swift",
"AAOptionsModel/AABoxplot.swift",
"AAOptionsModel/AABubbleLegend.swift",
"AAOptionsModel/AAButtonTheme.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/AALayoutAlgorithm.swift",
"AAOptionsModel/AALegend.swift",
"AAOptionsModel/AAMarker.swift",
"AAOptionsModel/AAPackedbubble.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"
}
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/3] Write sources
[1/3] Copying AAJSFiles.bundle
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/47] Compiling AAInfographics AALayoutAlgorithm.swift
[5/47] Compiling AAInfographics AALegend.swift
[6/47] Compiling AAInfographics AAMarker.swift
[7/47] Compiling AAInfographics AAPackedbubble.swift
[8/47] Compiling AAInfographics AAPane.swift
[9/51] Compiling AAInfographics AACrosshair.swift
[10/51] Compiling AAInfographics AADataLabels.swift
[11/51] Compiling AAInfographics AALabel.swift
[12/51] Compiling AAInfographics AALabels.swift
[13/51] Compiling AAInfographics AALang.swift
[14/51] Emitting module AAInfographics
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
1 | protocol WKUIDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
4 |
[15/51] Compiling AAInfographics AABubbleLegend.swift
[16/51] Compiling AAInfographics AAButtonTheme.swift
[17/51] Compiling AAInfographics AAChart.swift
[18/51] Compiling AAInfographics AAColumn.swift
[19/51] Compiling AAInfographics AACredits.swift
[20/51] Compiling AAInfographics AAGradientColor+RadialGradient.swift
[21/51] Compiling AAInfographics AAGradientColor.swift
[22/51] Compiling AAInfographics PackageBundlePathLoader.swift
[23/51] Compiling AAInfographics resource_bundle_accessor.swift
[24/51] Compiling AAInfographics AAColor.swift
[25/51] Compiling AAInfographics AAExtension.swift
[26/51] Compiling AAInfographics AAGradientColor+DefaultThemes.swift
[27/51] Compiling AAInfographics AAGradientColor+LinearGradient.swift
[28/51] Compiling AAInfographics AAPie.swift
[29/51] Compiling AAInfographics AAPlotBandsElement.swift
[30/51] Compiling AAInfographics AAPlotLinesElement.swift
[31/51] Compiling AAInfographics AAPlotOptions.swift
[32/51] Compiling AAInfographics AAScatter.swift
[33/51] Compiling AAInfographics AAScrollablePlotArea.swift
[34/51] Compiling AAInfographics AASeries.swift
[35/51] Compiling AAInfographics AAStates.swift
[36/51] Compiling AAInfographics AAStyle.swift
[37/51] Compiling AAInfographics AASubtitle.swift
[38/51] Compiling AAInfographics AATitle.swift
[39/51] Compiling AAInfographics AATooltip.swift
[40/51] Compiling AAInfographics AAXAxis.swift
[41/51] Compiling AAInfographics AAYAxis.swift
[42/51] Compiling AAInfographics AASerializable.swift
[43/51] Compiling AAInfographics AASeriesElement.swift
[44/51] Compiling AAInfographics AAAnimation.swift
[45/51] Compiling AAInfographics AAAxis.swift
[46/51] Compiling AAInfographics AABoxplot.swift
[47/51] Compiling AAInfographics AAChartModel.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
1 | protocol WKUIDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
WebKit.WKUserContentController.removeAllUserScripts:2:22: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func removeAllUserScripts()}
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:512:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:514:9: warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
502 |
503 | //添加一个 debug log 方法, 用于打印一些调试信息
504 | private func debugLog(_ message: String) {
| |- note: calls to instance method 'debugLog' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'WKWebView'
505 | #if DEBUG
506 | print(message)
:
512 | configuration.userContentController.removeAllUserScripts()
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
| `- warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
515 | }
516 | }
[48/51] Compiling AAInfographics AAChartView+API.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
1 | protocol WKUIDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
WebKit.WKUserContentController.removeAllUserScripts:2:22: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func removeAllUserScripts()}
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:512:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:514:9: warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
502 |
503 | //添加一个 debug log 方法, 用于打印一些调试信息
504 | private func debugLog(_ message: String) {
| |- note: calls to instance method 'debugLog' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'WKWebView'
505 | #if DEBUG
506 | print(message)
:
512 | configuration.userContentController.removeAllUserScripts()
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
| `- warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
515 | }
516 | }
[49/51] Compiling AAInfographics AAChartView.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
1 | protocol WKUIDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
WebKit.WKUserContentController.removeAllUserScripts:2:22: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func removeAllUserScripts()}
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:512:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:514:9: warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
502 |
503 | //添加一个 debug log 方法, 用于打印一些调试信息
504 | private func debugLog(_ message: String) {
| |- note: calls to instance method 'debugLog' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'WKWebView'
505 | #if DEBUG
506 | print(message)
:
512 | configuration.userContentController.removeAllUserScripts()
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
| `- warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
515 | }
516 | }
[50/51] Compiling AAInfographics AAChartViewPluginProvider.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
1 | protocol WKUIDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
WebKit.WKUserContentController.removeAllUserScripts:2:22: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func removeAllUserScripts()}
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:512:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:514:9: warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
502 |
503 | //添加一个 debug log 方法, 用于打印一些调试信息
504 | private func debugLog(_ message: String) {
| |- note: calls to instance method 'debugLog' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'WKWebView'
505 | #if DEBUG
506 | print(message)
:
512 | configuration.userContentController.removeAllUserScripts()
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
| `- warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
515 | }
516 | }
[51/51] Compiling AAInfographics AAOptions.swift
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:522:15: warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
520 | @available(iOS 10.0, macCatalyst 13.1, macOS 10.13, *)
521 | extension AAChartView: WKUIDelegate {
522 | open func webView(
| |- warning: instance method 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' nearly matches optional requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' of protocol 'WKUIDelegate'
| |- note: candidate has non-matching type '(WKWebView, String, WKFrameInfo, @escaping () -> Void) -> ()'
| `- note: move 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' to another extension to silence this warning
523 | _ webView: WKWebView,
524 | runJavaScriptAlertPanelWithMessage message: String,
WebKit.WKUIDelegate.webView:3:28: note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
1 | protocol WKUIDelegate {
2 | @available(macOS 10.10, *)
3 | @MainActor optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler: @escaping @MainActor @Sendable () -> Void)}
| `- note: requirement 'webView(_:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:)' declared here
4 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:45: warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: call to main actor-isolated instance method 'removeAllUserScripts()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
WebKit.WKUserContentController.removeAllUserScripts:2:22: note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
1 | class WKUserContentController {
2 | @MainActor open func removeAllUserScripts()}
| `- note: calls to instance method 'removeAllUserScripts()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/AAInfographics/AAChartCreator/AAChartView.swift:512:23: warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'userContentController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:512:9: warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
510 |
511 | deinit {
512 | configuration.userContentController.removeAllUserScripts()
| `- warning: main actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
/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/AAInfographics/AAChartCreator/AAChartView.swift:514:9: warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
502 |
503 | //添加一个 debug log 方法, 用于打印一些调试信息
504 | private func debugLog(_ message: String) {
| |- note: calls to instance method 'debugLog' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'WKWebView'
505 | #if DEBUG
506 | print(message)
:
512 | configuration.userContentController.removeAllUserScripts()
513 | NotificationCenter.default.removeObserver(self)
514 | debugLog("👻👻👻 AAChartView instance \(self) has been destroyed!")
| `- warning: call to main actor-isolated instance method 'debugLog' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
515 | }
516 | }
Build complete! (7.58s)
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+API.swift",
"AAChartCreator/AAChartView.swift",
"AAChartCreator/AAChartViewPluginProvider.swift",
"AAChartCreator/AAOptions.swift",
"AAChartCreator/AASerializable.swift",
"AAChartCreator/AASeriesElement.swift",
"AAOptionsModel/AAAnimation.swift",
"AAOptionsModel/AAAxis.swift",
"AAOptionsModel/AABoxplot.swift",
"AAOptionsModel/AABubbleLegend.swift",
"AAOptionsModel/AAButtonTheme.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/AALayoutAlgorithm.swift",
"AAOptionsModel/AALegend.swift",
"AAOptionsModel/AAMarker.swift",
"AAOptionsModel/AAPackedbubble.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.