Build Information
Successful build of FastSpringStore, reference 2.1.0 (01c515
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 23:55:04 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/FastSpringStore.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleanCocoa/FastSpringStore
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 01c5151 add Privacy Manifest files
Cloned https://github.com/CleanCocoa/FastSpringStore.git
Revision (git rev-parse @):
01c515110fb69d3662bb1a5d736b69483dea612d
SUCCESS checkout https://github.com/CleanCocoa/FastSpringStore.git at 2.1.0
Fetching https://github.com/glebd/cocoafob
Fetching https://github.com/CleanCocoa/TrialLicensing.git
[1/745] Fetching triallicensing
[106/2445] Fetching triallicensing, cocoafob
Fetched https://github.com/glebd/cocoafob from cache (0.99s)
Fetched https://github.com/CleanCocoa/TrialLicensing.git from cache (0.99s)
Computing version for https://github.com/CleanCocoa/TrialLicensing.git
Computed https://github.com/CleanCocoa/TrialLicensing.git at 3.3.2 (3.50s)
Computing version for https://github.com/glebd/cocoafob
Computed https://github.com/glebd/cocoafob at 2.4.0 (0.66s)
Creating working copy for https://github.com/CleanCocoa/TrialLicensing.git
Working copy of https://github.com/CleanCocoa/TrialLicensing.git resolved at 3.3.2
Creating working copy for https://github.com/glebd/cocoafob
Working copy of https://github.com/glebd/cocoafob resolved at 2.4.0
[16375/1998034] Downloading https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip
Downloading binary artifact https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip
Downloaded https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip (1.14s)
========================================
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": "fastspringstore",
"name": "FastSpringStore",
"url": "https://github.com/CleanCocoa/FastSpringStore.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FastSpringStore",
"dependencies": [
{
"identity": "triallicensing",
"name": "TrialLicense",
"url": "https://github.com/CleanCocoa/TrialLicensing.git",
"version": "3.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TrialLicensing",
"dependencies": [
{
"identity": "cocoafob",
"name": "CocoaFob",
"url": "https://github.com/glebd/cocoafob",
"version": "2.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cocoafob",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/CleanCocoa/FastSpringStore.git
[1/165] Fetching fastspringstore
Fetched https://github.com/CleanCocoa/FastSpringStore.git from cache (0.86s)
Fetching https://github.com/CleanCocoa/TrialLicensing.git from cache
Fetched https://github.com/CleanCocoa/TrialLicensing.git from cache (0.48s)
Computing version for https://github.com/CleanCocoa/TrialLicensing.git
Computed https://github.com/CleanCocoa/TrialLicensing.git at 3.4.0 (0.64s)
Fetching https://github.com/glebd/cocoafob from cache
Fetched https://github.com/glebd/cocoafob from cache (0.46s)
Computing version for https://github.com/glebd/cocoafob
Computed https://github.com/glebd/cocoafob at 2.4.0 (0.02s)
Creating working copy for https://github.com/glebd/cocoafob
Working copy of https://github.com/glebd/cocoafob resolved at 2.4.0
Creating working copy for https://github.com/CleanCocoa/TrialLicensing.git
Working copy of https://github.com/CleanCocoa/TrialLicensing.git resolved at 3.4.0
Creating working copy for https://github.com/CleanCocoa/FastSpringStore.git
Working copy of https://github.com/CleanCocoa/FastSpringStore.git resolved at 2.1.0 (01c5151)
Fetching binary artifact https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip from cache
Fetched https://github.com/DivineDominion/FsprgEmbeddedStoreMac/releases/download/2.0.0/FsprgEmbeddedStore.xcframework.zip from cache (0.10s)
warning: '.resolve-product-dependencies': dependency 'fastspringstore' is not used by any target
Found 1 product dependencies
- TrialLicense
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/CleanCocoa/FastSpringStore.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/12] Write sources
[4/12] Copying PrivacyInfo.xcprivacy
[6/12] Copying FastSpringStoreWindowController.xib
[8/12] Copying FsprgEmbeddedStore.framework
[9/12] Write swift-version--7754E27361AE5C74.txt
[11/38] Compiling FastSpringStore resource_bundle_accessor.swift
[12/38] Compiling CocoaFob LicenseVerifier.swift
[13/38] Compiling CocoaFob CFUtil.swift
[14/38] Compiling CocoaFob String+CocoaFob.swift
[15/38] Compiling Trial TrialWriter.swift
[16/38] Compiling Trial TrialTimer.swift
[17/38] Compiling Trial TrialProvider.swift
[18/38] Compiling Trial UserDefaultsTrialPeriodReader.swift
[19/38] Compiling Trial Trial.swift
[20/38] Compiling Trial CancelableTimedBlock.swift
[21/38] Compiling Trial Clock.swift
[22/38] Compiling Trial Days.swift
[23/38] Emitting module Trial
[24/38] Compiling Trial TrialPeriod.swift
[25/38] Compiling CocoaFob CocoaFobError.swift
[26/38] Emitting module CocoaFob
[27/38] Compiling CocoaFob LicenseGenerator.swift
[27/38] Write Objects.LinkFileList
[28/38] Archiving libCocoaFob.a
[30/57] Compiling TrialLicense TrialRunner.swift
[31/57] Compiling TrialLicense URLComponents.swift
[32/58] Compiling TrialLicense LicensingScheme.swift
[33/58] Compiling TrialLicense PersonalizedLicenseRegistrationStrategy.swift
[34/58] Compiling TrialLicense LicenseInformationProvider.swift
[35/58] Compiling TrialLicense LicenseVerifier.swift
[36/58] Compiling TrialLicense RegisterApplication.swift
[37/58] Compiling TrialLicense RegistrationPayload.swift
[38/58] Compiling TrialLicense Sequence+mapDictionary.swift
[39/58] Compiling TrialLicense String+replacingCharactersOfnCharacterSetWith.swift
[40/58] Compiling TrialLicense URLQueryLicenseParser.swift
[41/58] Compiling TrialLicense UserDefaultsLicenseProvider.swift
[42/58] Compiling TrialLicense UserDefaultsLicenseWriter.swift
[43/58] Compiling TrialLicense LicenseConfiguration.swift
[44/58] Compiling TrialLicense LicenseInformation.swift
[45/58] Compiling TrialLicense AppLicensing.swift
[46/58] Compiling TrialLicense Collection+safeSubscript.swift
[47/58] Compiling TrialLicense GenericRegistrationStrategy.swift
[48/58] Compiling TrialLicense License.swift
[49/58] Emitting module TrialLicense
[50/66] Compiling FastSpringStore NSView+constrainToSuperviewBounds.swift
[51/66] Compiling FastSpringStore FastSpringStoreWindowController.swift
[52/66] Compiling FastSpringStore NSLayoutConstraint+prioritized.swift
[53/66] Compiling FastSpringStore FastSpringStoreJavaScriptBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreJavaScriptBridge.swift:46:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private lazy var proxy = WeakProxy(bridge: self)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
47 |
48 | let purchaseEventHandler: ([JSON]) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreJavaScriptBridge.swift:55:42: warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
54 | func register(in userContentController: WKUserContentController) {
| `- note: add '@MainActor' to make instance method 'register(in:)' part of global actor 'MainActor'
55 | let callbackInstallationScript = WKUserScript(
| `- warning: call to main actor-isolated initializer 'init(source:injectionTime:forMainFrameOnly:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 | source: """
57 | function fsprg_dataDataCallback(data) {
WebKit.WKUserScript:8:23: note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
6 | @available(swift, obsoleted: 3, renamed: "isForMainFrameOnly")
7 | open var forMainFrameOnly: Bool { get }
8 | @MainActor public init(source: String, injectionTime: WKUserScriptInjectionTime, forMainFrameOnly: Bool)
| `- note: calls to initializer 'init(source:injectionTime:forMainFrameOnly:)' from outside of its actor context are implicitly asynchronous
9 | @available(macOS 11.0, *)
10 | public init(source: String, injectionTime: WKUserScriptInjectionTime, forMainFrameOnly: Bool, in contentWorld: WKContentWorld)
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreJavaScriptBridge.swift:71:31: warning: call to main actor-isolated instance method 'addUserScript' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
54 | func register(in userContentController: WKUserContentController) {
| `- note: add '@MainActor' to make instance method 'register(in:)' part of global actor 'MainActor'
55 | let callbackInstallationScript = WKUserScript(
56 | source: """
:
69 | forMainFrameOnly: false
70 | )
71 | userContentController.addUserScript(callbackInstallationScript)
| `- warning: call to main actor-isolated instance method 'addUserScript' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 | MessageName.allCases
73 | .map(\.rawValue)
WebKit.WKUserContentController:4:26: note: calls to instance method 'addUserScript' from outside of its actor context are implicitly asynchronous
2 | @MainActor open class WKUserContentController : NSObject, NSSecureCoding {
3 | open var userScripts: [WKUserScript] { get }
4 | @MainActor open func addUserScript(_ userScript: WKUserScript)
| `- note: calls to instance method 'addUserScript' from outside of its actor context are implicitly asynchronous
5 | open func removeAllUserScripts()
6 | @available(macOS 11.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreJavaScriptBridge.swift:75:46: warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
73 | .map(\.rawValue)
74 | // Warning: creates a strong reference, so make sure you remove the handler again e.g. via `unregister(from:)` to be safe.
75 | .forEach { userContentController.add(proxy, name: $0) }
| `- warning: call to main actor-isolated instance method 'add(_:name:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | }
77 |
WebKit.WKUserContentController:16:26: note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
14 | @available(swift, obsoleted: 3, renamed: "addScriptMessageHandler(_:contentWorld:name:)")
15 | open func addScriptMessageHandlerWithReply(_ scriptMessageHandlerWithReply: any WKScriptMessageHandlerWithReply, contentWorld: WKContentWorld, name: String)
16 | @MainActor open func add(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)
| `- note: calls to instance method 'add(_:name:)' from outside of its actor context are implicitly asynchronous
17 | @available(swift, obsoleted: 3, renamed: "add(_:name:)")
18 | open func addScriptMessageHandler(_ scriptMessageHandler: any WKScriptMessageHandler, name: String)
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreJavaScriptBridge.swift:81:44: warning: converting function value of type '@MainActor (String) -> Void' to '(String) throws -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
79 | MessageName.allCases
80 | .map(\.rawValue)
81 | .forEach(userContentController.removeScriptMessageHandler(forName:))
| `- warning: converting function value of type '@MainActor (String) -> Void' to '(String) throws -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
82 | }
83 |
[54/66] Compiling FastSpringStore FastSpringStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStore.swift:9:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | public let purchaseCallback: (FastSpringStore, [FastSpringPurchase]) -> Void
8 |
9 | lazy var windowController = FastSpringStoreWindowController(
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
10 | storeURL: storeURL,
11 | purchaseCallback: { [unowned self] purchase in
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStore.swift:24:26: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public func showStore(title: String) {
| `- note: add '@MainActor' to make instance method 'showStore(title:)' part of global actor 'MainActor'
24 | windowController.title = title
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
25 | windowController.showWindow(self)
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreWindowController.swift:10:9: note: mutation of this property is only permitted within the actor
8 | let storeViewController: FastSpringStoreViewController
9 |
10 | var title: String = "" {
| `- note: mutation of this property is only permitted within the actor
11 | didSet {
12 | self.window?.title = title
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStore.swift:25:26: warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public func showStore(title: String) {
| `- note: add '@MainActor' to make instance method 'showStore(title:)' part of global actor 'MainActor'
24 | windowController.title = title
25 | windowController.showWindow(self)
| `- warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreWindowController.swift:38:19: note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
36 | required init?(coder: NSCoder) { fatalError("not implemented") }
37 |
38 | override func showWindow(_ sender: Any?) {
| `- note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
39 | super.showWindow(sender)
40 | window?.center()
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStore.swift:29:26: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
29 | windowController.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 | }
31 | }
AppKit.NSWindowController:30:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
28 | open func windowDidLoad()
29 | open func loadWindow()
30 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
31 | @IBAction @MainActor open func showWindow(_ sender: Any?)
32 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStore.swift:25:26: warning: sending task-isolated value of type 'FastSpringStore' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
23 | public func showStore(title: String) {
24 | windowController.title = title
25 | windowController.showWindow(self)
| `- warning: sending task-isolated value of type 'FastSpringStore' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
26 | }
27 |
[55/66] Compiling FastSpringStore FastSpringPurchase.swift
[56/66] Compiling FastSpringStore FastSpringStoreViewController.swift
[57/66] Emitting module FastSpringStore
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStore.swift:9:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | public let purchaseCallback: (FastSpringStore, [FastSpringPurchase]) -> Void
8 |
9 | lazy var windowController = FastSpringStoreWindowController(
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
10 | storeURL: storeURL,
11 | purchaseCallback: { [unowned self] purchase in
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/FastSpringStoreJavaScriptBridge.swift:46:22: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
44 | }
45 |
46 | private lazy var proxy = WeakProxy(bridge: self)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
47 |
48 | let purchaseEventHandler: ([JSON]) -> Void
[58/66] Compiling FastSpringStore DynamicAppearanceWebView.swift
[59/66] Compiling FastSpringClassicStore resource_bundle_accessor.swift
[60/66] Compiling FastSpringClassicStore FastSpringStoreInfo+Dictionary.swift
[61/66] Compiling FastSpringClassicStore FastSpringStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:23:64: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | public convenience init(storeInfo: FastSpringStoreInfo) {
22 |
23 | self.init(storeInfo: storeInfo, storeWindowController: FastSpringStoreWindowController())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreWindowController.swift:23:21: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 |
22 | public class FastSpringStoreWindowController: NSWindowController {
23 | public required init() {
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
24 | super.init(window: nil)
25 | Bundle.module.loadNibNamed(.fastSpringStoreWindow, owner: self, topLevelObjects: nil)
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:37:35: warning: call to main actor-isolated instance method 'reloadStore' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | var didLoad = false
33 |
34 | public func showStore() {
| `- note: add '@MainActor' to make instance method 'showStore()' part of global actor 'MainActor'
35 |
36 | if didLoad {
37 | storeWindowController.reloadStore(self)
| `- warning: call to main actor-isolated instance method 'reloadStore' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | return
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreWindowController.swift:58:27: note: calls to instance method 'reloadStore' from outside of its actor context are implicitly asynchronous
56 | }
57 |
58 | @IBAction public func reloadStore(_: AnyObject) {
| `- note: calls to instance method 'reloadStore' from outside of its actor context are implicitly asynchronous
59 | storeController.loadStore()
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:41:31: warning: main actor-isolated property 'storeController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
32 | var didLoad = false
33 |
34 | public func showStore() {
| `- note: add '@MainActor' to make instance method 'showStore()' part of global actor 'MainActor'
35 |
36 | if didLoad {
:
39 | }
40 |
41 | storeWindowController.storeController = storeController
| `- warning: main actor-isolated property 'storeController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
42 | storeWindowController.showWindow(self)
43 | storeWindowController.storeDelegate = storeDelegate
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreWindowController.swift:41:30: note: mutation of this property is only permitted within the actor
39 | @IBOutlet weak var loadingIndicator: NSProgressIndicator!
40 |
41 | @objc dynamic public var storeController: FastSpringStoreController!
| `- note: mutation of this property is only permitted within the actor
42 |
43 | public var storeDelegate: FastSpringStoreDelegate? {
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:42:31: warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | var didLoad = false
33 |
34 | public func showStore() {
| `- note: add '@MainActor' to make instance method 'showStore()' part of global actor 'MainActor'
35 |
36 | if didLoad {
:
40 |
41 | storeWindowController.storeController = storeController
42 | storeWindowController.showWindow(self)
| `- warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | storeWindowController.storeDelegate = storeDelegate
44 | didLoad = true
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreWindowController.swift:48:26: note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
46 | }
47 |
48 | public override func showWindow(_ sender: Any?) {
| `- note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
49 | super.showWindow(sender)
50 |
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:43:31: warning: main actor-isolated property 'storeDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
32 | var didLoad = false
33 |
34 | public func showStore() {
| `- note: add '@MainActor' to make instance method 'showStore()' part of global actor 'MainActor'
35 |
36 | if didLoad {
:
41 | storeWindowController.storeController = storeController
42 | storeWindowController.showWindow(self)
43 | storeWindowController.storeDelegate = storeDelegate
| `- warning: main actor-isolated property 'storeDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
44 | didLoad = true
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreWindowController.swift:43:16: note: mutation of this property is only permitted within the actor
41 | @objc dynamic public var storeController: FastSpringStoreController!
42 |
43 | public var storeDelegate: FastSpringStoreDelegate? {
| `- note: mutation of this property is only permitted within the actor
44 | get { storeController.storeDelegate }
45 | set { storeController.storeDelegate = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:49:31: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | }
46 |
47 | public func closeStore() {
| `- note: add '@MainActor' to make instance method 'closeStore()' part of global actor 'MainActor'
48 |
49 | storeWindowController.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 | }
AppKit.NSWindowController:30:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
28 | open func windowDidLoad()
29 | open func loadWindow()
30 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
31 | @IBAction @MainActor open func showWindow(_ sender: Any?)
32 | @MainActor public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:37:35: warning: sending task-isolated value of type 'FastSpringStore' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
35 |
36 | if didLoad {
37 | storeWindowController.reloadStore(self)
| `- warning: sending task-isolated value of type 'FastSpringStore' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
38 | return
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStore.swift:42:31: warning: sending task-isolated value of type 'FastSpringStore' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
40 |
41 | storeWindowController.storeController = storeController
42 | storeWindowController.showWindow(self)
| `- warning: sending task-isolated value of type 'FastSpringStore' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
43 | storeWindowController.storeDelegate = storeDelegate
44 | didLoad = true
[62/66] Compiling FastSpringClassicStore Me.swift
[63/66] Compiling FastSpringClassicStore FastSpringStoreInfo.swift
[64/66] Compiling FastSpringClassicStore FastSpringStoreController.swift
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreController.swift:117:31: warning: call to main actor-isolated instance method 'displayLicenseCode(licenseCode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | // MARK: Thank-you view
111 |
112 | public func view(withFrame frame: NSRect, for order: FsprgOrder!) -> NSView! {
| `- note: add '@MainActor' to make instance method 'view(withFrame:for:)' part of global actor 'MainActor'
113 | guard let orderConfirmationView = orderConfirmationView,
114 | let license = license(fromOrder: order)
115 | else { return nil }
116 |
117 | orderConfirmationView.displayLicenseCode(licenseCode: license.licenseCode)
| `- warning: call to main actor-isolated instance method 'displayLicenseCode(licenseCode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |
119 | return orderConfirmationView
/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreWindowController.swift:12:17: note: calls to instance method 'displayLicenseCode(licenseCode:)' from outside of its actor context are implicitly asynchronous
10 | @IBOutlet public var licenseCodeTextField: NSTextField!
11 |
12 | public func displayLicenseCode(licenseCode: String) {
| `- note: calls to instance method 'displayLicenseCode(licenseCode:)' from outside of its actor context are implicitly asynchronous
13 |
14 | licenseCodeTextField.stringValue = licenseCode
[65/66] Compiling FastSpringClassicStore FastSpringStoreWindowController.swift
[66/66] Emitting module FastSpringClassicStore
Build complete! (37.80s)
Build complete.
{
"dependencies" : [
{
"identity" : "triallicensing",
"requirement" : {
"range" : [
{
"lower_bound" : "3.3.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/CleanCocoa/TrialLicensing.git"
}
],
"manifest_display_name" : "FastSpringStore",
"name" : "FastSpringStore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "FastSpringStore",
"targets" : [
"FastSpringStore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FastSpringClassicStore",
"targets" : [
"FastSpringClassicStore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FsprgEmbeddedStore",
"module_type" : "BinaryTarget",
"name" : "FsprgEmbeddedStore",
"path" : "remote/archive/FsprgEmbeddedStore.xcframework.zip",
"product_memberships" : [
"FastSpringClassicStore"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "FastSpringStoreTests",
"module_type" : "SwiftTarget",
"name" : "FastSpringStoreTests",
"path" : "Tests/FastSpringStoreTests",
"sources" : [
"FastSpringPurchaseTests.swift"
],
"target_dependencies" : [
"FastSpringStore"
],
"type" : "test"
},
{
"c99name" : "FastSpringStore",
"module_type" : "SwiftTarget",
"name" : "FastSpringStore",
"path" : "Sources/FastSpringStore",
"product_memberships" : [
"FastSpringStore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/FastSpringStore/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DynamicAppearanceWebView.swift",
"FastSpringPurchase.swift",
"FastSpringStore.swift",
"FastSpringStoreJavaScriptBridge.swift",
"FastSpringStoreViewController.swift",
"FastSpringStoreWindowController.swift",
"NSLayoutConstraint+prioritized.swift",
"NSView+constrainToSuperviewBounds.swift"
],
"type" : "library"
},
{
"c99name" : "FastSpringClassicStore",
"module_type" : "SwiftTarget",
"name" : "FastSpringClassicStore",
"path" : "Sources/FastSpringClassicStore",
"product_dependencies" : [
"TrialLicense"
],
"product_memberships" : [
"FastSpringClassicStore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/FastSpringStoreWindowController.xib",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/FastSpringClassicStore/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"FastSpringStore.swift",
"FastSpringStoreController.swift",
"FastSpringStoreInfo+Dictionary.swift",
"FastSpringStoreInfo.swift",
"FastSpringStoreWindowController.swift",
"Me.swift"
],
"target_dependencies" : [
"FsprgEmbeddedStore"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.