This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of FSCheckoutSheet with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZeeZide/FSCheckoutSheet.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeZide/FSCheckoutSheet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7c95024 Add a GH action
Cloned https://github.com/ZeeZide/FSCheckoutSheet.git
Revision (git rev-parse @):
7c9502439216ebb2148326f08238ec10f877c753
SUCCESS checkout https://github.com/ZeeZide/FSCheckoutSheet.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ZeeZide/FSCheckoutSheet.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Compiling FSCheckoutSheet FindLicenseJavaScript.swift
[4/6] Compiling FSCheckoutSheet FSCheckoutSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:224:8: warning: main actor-isolated instance method 'webView(_:didFailProvisionalNavigation:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
219 | }
220 |
221 | extension FastSpringCheckoutVC: WKNavigationDelegate {
    |                                 `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
222 |
223 |   public
224 |   func webView(_ webView: WKWebView,
    |        |- warning: main actor-isolated instance method 'webView(_:didFailProvisionalNavigation:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |        `- note: add 'nonisolated' to 'webView(_:didFailProvisionalNavigation:withError:)' to make this instance method not isolated to the actor
225 |                didFailProvisionalNavigation navigation: WKNavigation!,
226 |                withError error: Error)
WebKit.WKNavigationDelegate:26:19: note: 'webView(_:didFailProvisionalNavigation:withError:)' declared here
24 |     optional func webView(_ webView: WKWebView, didReceiveServerRedirectForProvisionalNavigation navigation: WKNavigation!)
25 |     @available(macOS 10.10, *)
26 |     optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: any Error)
   |                   `- note: 'webView(_:didFailProvisionalNavigation:withError:)' declared here
27 |     @available(macOS 10.10, *)
28 |     optional func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:238:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
236 |   }
237 |
238 |   public func webView(_ webView: WKWebView, didFinish n: WKNavigation!) {
    |               |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
239 |     if !isBlank() { spinner.stopAnimation(nil) }
240 |   }
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 |     optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 |     @available(macOS 10.10, *)
32 |     optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
   |                   `- note: 'webView(_:didFinish:)' declared here
33 |     @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 |     optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:242:15: warning: main actor-isolated instance method 'webView(_:didFail:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
240 |   }
241 |
242 |   public func webView(_ webView: WKWebView, didFail n: WKNavigation!,
    |               |- warning: main actor-isolated instance method 'webView(_:didFail:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'webView(_:didFail:withError:)' to make this instance method not isolated to the actor
243 |                       withError error: Error)
244 |   {
WebKit.WKNavigationDelegate:36:19: note: 'webView(_:didFail:withError:)' declared here
34 |     optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
35 |     @available(macOS 10.10, *)
36 |     optional func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: any Error)
   |                   `- note: 'webView(_:didFail:withError:)' declared here
37 |     @available(swift, obsoleted: 3, renamed: "webView(_:didFail:withError:)")
38 |     optional func webView(_ webView: WKWebView, didFailNavigation navigation: WKNavigation!, withError error: any Error)
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:254:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
250 | }
251 |
252 | extension FastSpringCheckoutVC: WKScriptMessageHandler {
    |                                 `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
253 |
254 |   public func userContentController(_ ucc: WKUserContentController,
    |               |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
255 |                                     didReceive message: WKScriptMessage)
256 |   {
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 |     @available(macOS 10.10, *)
3 |     func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
  |          `- note: 'userContentController(_:didReceive:)' declared here
4 |     @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 |     func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
[5/6] Compiling FSCheckoutSheet CheckoutPageHTML.swift
[6/6] Emitting module FSCheckoutSheet
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:224:8: warning: main actor-isolated instance method 'webView(_:didFailProvisionalNavigation:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
219 | }
220 |
221 | extension FastSpringCheckoutVC: WKNavigationDelegate {
    |                                 `- note: add '@preconcurrency' to the 'WKNavigationDelegate' conformance to defer isolation checking to run time
222 |
223 |   public
224 |   func webView(_ webView: WKWebView,
    |        |- warning: main actor-isolated instance method 'webView(_:didFailProvisionalNavigation:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |        `- note: add 'nonisolated' to 'webView(_:didFailProvisionalNavigation:withError:)' to make this instance method not isolated to the actor
225 |                didFailProvisionalNavigation navigation: WKNavigation!,
226 |                withError error: Error)
WebKit.WKNavigationDelegate:26:19: note: 'webView(_:didFailProvisionalNavigation:withError:)' declared here
24 |     optional func webView(_ webView: WKWebView, didReceiveServerRedirectForProvisionalNavigation navigation: WKNavigation!)
25 |     @available(macOS 10.10, *)
26 |     optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: any Error)
   |                   `- note: 'webView(_:didFailProvisionalNavigation:withError:)' declared here
27 |     @available(macOS 10.10, *)
28 |     optional func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:238:15: warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
236 |   }
237 |
238 |   public func webView(_ webView: WKWebView, didFinish n: WKNavigation!) {
    |               |- warning: main actor-isolated instance method 'webView(_:didFinish:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'webView(_:didFinish:)' to make this instance method not isolated to the actor
239 |     if !isBlank() { spinner.stopAnimation(nil) }
240 |   }
WebKit.WKNavigationDelegate:32:19: note: 'webView(_:didFinish:)' declared here
30 |     optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!)
31 |     @available(macOS 10.10, *)
32 |     optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!)
   |                   `- note: 'webView(_:didFinish:)' declared here
33 |     @available(swift, obsoleted: 3, renamed: "webView(_:didFinish:)")
34 |     optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:242:15: warning: main actor-isolated instance method 'webView(_:didFail:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
240 |   }
241 |
242 |   public func webView(_ webView: WKWebView, didFail n: WKNavigation!,
    |               |- warning: main actor-isolated instance method 'webView(_:didFail:withError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'webView(_:didFail:withError:)' to make this instance method not isolated to the actor
243 |                       withError error: Error)
244 |   {
WebKit.WKNavigationDelegate:36:19: note: 'webView(_:didFail:withError:)' declared here
34 |     optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!)
35 |     @available(macOS 10.10, *)
36 |     optional func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: any Error)
   |                   `- note: 'webView(_:didFail:withError:)' declared here
37 |     @available(swift, obsoleted: 3, renamed: "webView(_:didFail:withError:)")
38 |     optional func webView(_ webView: WKWebView, didFailNavigation navigation: WKNavigation!, withError error: any Error)
/Users/admin/builder/spi-builder-workspace/Sources/FSCheckoutSheet/FSCheckoutSheet.swift:254:15: warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
250 | }
251 |
252 | extension FastSpringCheckoutVC: WKScriptMessageHandler {
    |                                 `- note: add '@preconcurrency' to the 'WKScriptMessageHandler' conformance to defer isolation checking to run time
253 |
254 |   public func userContentController(_ ucc: WKUserContentController,
    |               |- warning: main actor-isolated instance method 'userContentController(_:didReceive:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |               `- note: add 'nonisolated' to 'userContentController(_:didReceive:)' to make this instance method not isolated to the actor
255 |                                     didReceive message: WKScriptMessage)
256 |   {
WebKit.WKScriptMessageHandler:3:10: note: 'userContentController(_:didReceive:)' declared here
1 | public protocol WKScriptMessageHandler : NSObjectProtocol {
2 |     @available(macOS 10.10, *)
3 |     func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage)
  |          `- note: 'userContentController(_:didReceive:)' declared here
4 |     @available(swift, obsoleted: 3, renamed: "userContentController(_:didReceive:)")
5 |     func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage)
Build complete! (23.42s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FSCheckoutSheet",
  "name" : "FSCheckoutSheet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "FSCheckoutSheet",
      "targets" : [
        "FSCheckoutSheet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FSCheckoutSheet",
      "module_type" : "SwiftTarget",
      "name" : "FSCheckoutSheet",
      "path" : "Sources/FSCheckoutSheet",
      "product_memberships" : [
        "FSCheckoutSheet"
      ],
      "sources" : [
        "CheckoutPageHTML.swift",
        "FSCheckoutSheet.swift",
        "FindLicenseJavaScript.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.