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 Marionette with Swift 6.0 (beta) for macOS (SPM).

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/LinusU/Marionette.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LinusU/Marionette
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3c0699e 🎉 Add CocoaPods support
Cloned https://github.com/LinusU/Marionette.git
Revision (git rev-parse @):
3c0699e869fdbe13a5d03042884c17d418293a12
SUCCESS checkout https://github.com/LinusU/Marionette.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/LinusU/Marionette.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/5] Write sources
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/25] Compiling PromiseKit race.swift
[7/26] Compiling PromiseKit firstly.swift
[8/26] Compiling PromiseKit when.swift
[9/26] Compiling Signals AssociatedObject.swift
[10/26] Compiling Signals UIControl+Signals.swift
[11/26] Emitting module Signals
[12/26] Compiling Signals UIBarButtonItem+Signals.swift
[13/26] Compiling Signals Signal.swift
[14/26] Compiling PromiseKit LogEvent.swift
[15/26] Compiling PromiseKit Promise.swift
[16/26] Compiling PromiseKit Error.swift
[17/26] Compiling PromiseKit Guarantee.swift
[18/26] Compiling PromiseKit after.swift
[19/26] Compiling PromiseKit Resolver.swift
[20/26] Compiling PromiseKit Thenable.swift
[21/26] Compiling PromiseKit Box.swift
[22/26] Compiling PromiseKit Catchable.swift
[23/26] Emitting module PromiseKit
[24/26] Compiling PromiseKit Configuration.swift
[25/26] Compiling PromiseKit CustomStringConvertible.swift
[26/26] Compiling PromiseKit hang.swift
[27/29] Compiling JSBridge Context.swift
[28/29] Compiling JSBridge JSBridge.swift
[29/29] Emitting module JSBridge
[30/31] Compiling Marionette Marionette.swift
/Users/admin/builder/spi-builder-workspace/Sources/Marionette.swift:183:17: warning: main actor-isolated property 'frame' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
181 |         super.init()
182 |
183 |         webView.frame = CGRect(x: 0, y: 0, width: 1024, height: 768)
    |                 `- warning: main actor-isolated property 'frame' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
184 |         webView.navigationDelegate = self
185 |         webView.customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3624.0 Safari/537.36"
AppKit.NSView:60:25: note: mutation of this property is only permitted within the actor
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     @MainActor open var frame: NSRect { get set }
    |                         `- note: mutation of this property is only permitted within the actor
 61 |     open var frameRotation: CGFloat { get set }
 62 |     @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Marionette.swift:184:17: warning: main actor-isolated property 'navigationDelegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
182 |
183 |         webView.frame = CGRect(x: 0, y: 0, width: 1024, height: 768)
184 |         webView.navigationDelegate = self
    |                 `- warning: main actor-isolated property 'navigationDelegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
185 |         webView.customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3624.0 Safari/537.36"
186 |     }
WebKit.WKWebView:4:30: note: mutation of this property is only permitted within the actor
  2 | @MainActor open class WKWebView : NSView {
  3 |     @NSCopying open var configuration: WKWebViewConfiguration { get }
  4 |     @MainActor weak open var navigationDelegate: (any WKNavigationDelegate)? { get set }
    |                              `- note: mutation of this property is only permitted within the actor
  5 |     weak open var uiDelegate: (any WKUIDelegate)? { get set }
  6 |     @available(swift, obsoleted: 3, renamed: "uiDelegate")
/Users/admin/builder/spi-builder-workspace/Sources/Marionette.swift:185:17: warning: main actor-isolated property 'customUserAgent' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
183 |         webView.frame = CGRect(x: 0, y: 0, width: 1024, height: 768)
184 |         webView.navigationDelegate = self
185 |         webView.customUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3624.0 Safari/537.36"
    |                 `- warning: main actor-isolated property 'customUserAgent' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
186 |     }
187 |
WebKit.WKWebView:124:14: note: mutation of this property is only permitted within the actor
122 |     open var allowsBackForwardNavigationGestures: Bool { get set }
123 |     @available(macOS 10.11, *)
124 |     open var customUserAgent: String? { get set }
    |              `- note: mutation of this property is only permitted within the actor
125 |     @available(macOS 10.11, *)
126 |     open var allowsLinkPreview: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Marionette.swift:209:17: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
205 |     }
206 |
207 |     public func goto(_ url: URL) -> Promise<Void> {
    |                 `- note: add '@MainActor' to make instance method 'goto' part of global actor 'MainActor'
208 |         let promise = self.waitForNavigation()
209 |         webView.load(URLRequest(url: url))
    |                 `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |         return promise
211 |     }
WebKit.WKWebView:11:15: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
  9 |     public init(frame: CGRect, configuration: WKWebViewConfiguration)
 10 |     public init?(coder: NSCoder)
 11 |     open func load(_ request: URLRequest) -> WKNavigation?
    |               `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
 12 |     @available(swift, obsoleted: 3, renamed: "load(_:)")
 13 |     open func loadRequest(_ request: URLRequest) -> WKNavigation?
/Users/admin/builder/spi-builder-workspace/Sources/Marionette.swift:247:47: warning: call to main actor-isolated instance method 'takeSnapshot(with:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
245 |     #if canImport(Cocoa)
246 |     public func screenshot() -> Promise<NSImage> {
247 |         return Promise { seal in self.webView.takeSnapshot(with: nil, completionHandler: seal.resolve) }
    |                                               `- warning: call to main actor-isolated instance method 'takeSnapshot(with:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
248 |     }
249 |     #endif
WebKit.WKWebView:102:15: note: calls to instance method 'takeSnapshot(with:completionHandler:)' from outside of its actor context are implicitly asynchronous
100 |     open func setMicrophoneCaptureState(_ state: WKMediaCaptureState) async
101 |     @available(macOS 10.13, *)
102 |     open func takeSnapshot(with snapshotConfiguration: WKSnapshotConfiguration?, completionHandler: @escaping (NSImage?, (any Error)?) -> Void)
    |               `- note: calls to instance method 'takeSnapshot(with:completionHandler:)' from outside of its actor context are implicitly asynchronous
103 |     @available(macOS 10.13, *)
104 |     open func takeSnapshot(configuration snapshotConfiguration: WKSnapshotConfiguration?) async throws -> NSImage
/Users/admin/builder/spi-builder-workspace/Sources/Marionette.swift:247:47: warning: sending task-isolated value of type '(NSImage?, (any Error)?) -> ()' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
245 |     #if canImport(Cocoa)
246 |     public func screenshot() -> Promise<NSImage> {
247 |         return Promise { seal in self.webView.takeSnapshot(with: nil, completionHandler: seal.resolve) }
    |                                               `- warning: sending task-isolated value of type '(NSImage?, (any Error)?) -> ()' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
248 |     }
249 |     #endif
[31/31] Emitting module Marionette
Build complete! (63.75s)
Fetching https://github.com/mxcl/PromiseKit
Fetching https://github.com/artman/Signals
Fetching https://github.com/LinusU/JSBridge
[1/1047] Fetching signals
[35/1299] Fetching signals, jsbridge
[1300/18262] Fetching signals, jsbridge, promisekit
Fetched https://github.com/LinusU/JSBridge from cache (1.87s)
Fetched https://github.com/mxcl/PromiseKit from cache (1.87s)
Fetched https://github.com/artman/Signals from cache (1.87s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.8.3 (0.77s)
Computing version for https://github.com/LinusU/JSBridge
Computed https://github.com/LinusU/JSBridge at 1.0.0-alpha.15 (0.68s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.0.0 (2.29s)
Creating working copy for https://github.com/LinusU/JSBridge
Working copy of https://github.com/LinusU/JSBridge resolved at 1.0.0-alpha.15
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.8.3
Creating working copy for https://github.com/artman/Signals
Working copy of https://github.com/artman/Signals resolved at 6.0.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "signals",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/artman/Signals"
    },
    {
      "identity" : "jsbridge",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-alpha.15",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/LinusU/JSBridge"
    },
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit"
    }
  ],
  "manifest_display_name" : "Marionette",
  "name" : "Marionette",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Marionette",
      "targets" : [
        "Marionette"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarionetteTests",
      "module_type" : "SwiftTarget",
      "name" : "MarionetteTests",
      "path" : "Tests",
      "sources" : [
        "EvaluationTests.swift",
        "Util/AssetServer.swift",
        "Util/MarionetteTestCase.swift",
        "WaitTests.swift"
      ],
      "target_dependencies" : [
        "Marionette"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Marionette",
      "module_type" : "SwiftTarget",
      "name" : "Marionette",
      "path" : "Sources",
      "product_dependencies" : [
        "JSBridge",
        "PromiseKit",
        "Signals"
      ],
      "product_memberships" : [
        "Marionette"
      ],
      "sources" : [
        "Marionette.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.