The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AAInfographics, reference master (d46f00), with Swift 6.1 for macOS (SPM) on 20 Nov 2025 08:50:36 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.68.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 d46f004 Fix line breaks in badge links in README.md
Cloned https://github.com/AAChartModel/AAChartKit-Swift.git
Revision (git rev-parse @):
d46f004fe26e09482e0b7a2706a4a93a7c42fc8d
SUCCESS checkout https://github.com/AAChartModel/AAChartKit-Swift.git at master
========================================
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] 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 |
[5/51] Compiling AAInfographics AALayoutAlgorithm.swift
[6/51] Compiling AAInfographics AALegend.swift
[7/51] Compiling AAInfographics AAMarker.swift
[8/51] Compiling AAInfographics AAPackedbubble.swift
[9/51] Compiling AAInfographics AAPane.swift
[10/51] Compiling AAInfographics AACrosshair.swift
[11/51] Compiling AAInfographics AADataLabels.swift
[12/51] Compiling AAInfographics AALabel.swift
[13/51] Compiling AAInfographics AALabels.swift
[14/51] Compiling AAInfographics AALang.swift
[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 AAScrollablePlotArea.swift
[25/51] Compiling AAInfographics AASeries.swift
[26/51] Compiling AAInfographics AAStates.swift
[27/51] Compiling AAInfographics AAStyle.swift
[28/51] Compiling AAInfographics AASubtitle.swift
[29/51] Compiling AAInfographics AAPie.swift
[30/51] Compiling AAInfographics AAPlotBandsElement.swift
[31/51] Compiling AAInfographics AAPlotLinesElement.swift
[32/51] Compiling AAInfographics AAPlotOptions.swift
[33/51] Compiling AAInfographics AAScatter.swift
[34/51] Compiling AAInfographics AATitle.swift
[35/51] Compiling AAInfographics AATooltip.swift
[36/51] Compiling AAInfographics AAXAxis.swift
[37/51] Compiling AAInfographics AAYAxis.swift
[38/51] Compiling AAInfographics AAColor.swift
[39/51] Compiling AAInfographics AAExtension.swift
[40/51] Compiling AAInfographics AAGradientColor+DefaultThemes.swift
[41/51] Compiling AAInfographics AAGradientColor+LinearGradient.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.43s)
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.