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, reference master (3c0699), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 18:27:23 UTC.

Swift 6 data race errors: 0

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/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
Fetching https://github.com/mxcl/PromiseKit
Fetching https://github.com/artman/Signals
Fetching https://github.com/LinusU/JSBridge
[1/1047] Fetching signals
[33/1299] Fetching signals, jsbridge
[1300/18420] Fetching signals, jsbridge, promisekit
Fetched https://github.com/artman/Signals from cache (2.02s)
Fetched https://github.com/mxcl/PromiseKit from cache (2.02s)
Fetched https://github.com/LinusU/JSBridge from cache (2.02s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.8.3 (2.73s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.0.0 (2.65s)
Computing version for https://github.com/LinusU/JSBridge
Computed https://github.com/LinusU/JSBridge at 1.0.0-alpha.15 (0.63s)
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
Creating working copy for https://github.com/LinusU/JSBridge
Working copy of https://github.com/LinusU/JSBridge resolved at 1.0.0-alpha.15
========================================
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": "marionette",
      "name": "Marionette",
      "url": "https://github.com/LinusU/Marionette.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Marionette",
      "dependencies": [
        {
          "identity": "signals",
          "name": "Signals",
          "url": "https://github.com/artman/Signals",
          "version": "6.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Signals",
          "dependencies": [
          ]
        },
        {
          "identity": "jsbridge",
          "name": "JSBridge",
          "url": "https://github.com/LinusU/JSBridge",
          "version": "1.0.0-alpha.16",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/JSBridge",
          "dependencies": [
            {
              "identity": "promisekit",
              "name": "PromiseKit",
              "url": "https://github.com/mxcl/PromiseKit",
              "version": "6.22.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PromiseKit",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "promisekit",
          "name": "PromiseKit",
          "url": "https://github.com/mxcl/PromiseKit",
          "version": "6.22.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PromiseKit",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/LinusU/Marionette.git
[1/139] Fetching marionette
Fetched https://github.com/LinusU/Marionette.git from cache (0.72s)
Fetching https://github.com/LinusU/JSBridge from cache
Fetching https://github.com/mxcl/PromiseKit from cache
Fetching https://github.com/artman/Signals from cache
Fetched https://github.com/LinusU/JSBridge from cache (0.61s)
Fetched https://github.com/mxcl/PromiseKit from cache (0.61s)
Fetched https://github.com/artman/Signals from cache (0.61s)
Computing version for https://github.com/artman/Signals
Computed https://github.com/artman/Signals at 6.1.0 (0.02s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.22.1 (0.62s)
Computing version for https://github.com/LinusU/JSBridge
Computed https://github.com/LinusU/JSBridge at 1.0.0-alpha.16 (0.60s)
Creating working copy for https://github.com/artman/Signals
Working copy of https://github.com/artman/Signals resolved at 6.1.0
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.22.1
Creating working copy for https://github.com/LinusU/JSBridge
Working copy of https://github.com/LinusU/JSBridge resolved at 1.0.0-alpha.16
Creating working copy for https://github.com/LinusU/Marionette.git
Working copy of https://github.com/LinusU/Marionette.git resolved at master (3c0699e)
warning: '.resolve-product-dependencies': dependency 'marionette' is not used by any target
Found 3 product dependencies
  - Signals
  - JSBridge
  - PromiseKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/LinusU/Marionette.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/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/25] Compiling Signals UIBarButtonItem+Signals.swift
[7/25] Compiling Signals AssociatedObject.swift
[8/25] Compiling Signals UIControl+Signals.swift
[9/25] Compiling PromiseKit Resolver.swift
[10/25] Compiling PromiseKit Thenable.swift
[11/26] Compiling PromiseKit LogEvent.swift
[12/26] Compiling PromiseKit Promise.swift
[13/26] Compiling Signals Signal.swift
[14/26] Emitting module Signals
[15/26] Compiling PromiseKit Box.swift
[16/26] Compiling PromiseKit Catchable.swift
[17/26] Compiling PromiseKit Error.swift
[18/26] Compiling PromiseKit Guarantee.swift
[19/26] Emitting module PromiseKit
[20/26] Compiling PromiseKit firstly.swift
[21/26] Compiling PromiseKit after.swift
[22/26] Compiling PromiseKit Configuration.swift
[23/26] Compiling PromiseKit CustomStringConvertible.swift
[24/26] Compiling PromiseKit race.swift
[25/26] Compiling PromiseKit hang.swift
[26/26] Compiling PromiseKit when.swift
[27/29] Compiling JSBridge JSBridge.swift
[28/29] Compiling JSBridge Context.swift
[29/29] Emitting module JSBridge
[30/31] Compiling Marionette Marionette.swift
/Users/admin/builder/spi-builder-workspace/Sources/Marionette.swift:247:95: warning: converting non-sendable function value to '@MainActor @Sendable (NSImage?, (any Error)?) -> Void' may introduce data races
245 |     #if canImport(Cocoa)
246 |     public func screenshot() -> Promise<NSImage> {
247 |         return Promise { seal in self.webView.takeSnapshot(with: nil, completionHandler: seal.resolve) }
    |                                                                                               `- warning: converting non-sendable function value to '@MainActor @Sendable (NSImage?, (any Error)?) -> Void' may introduce data races
248 |     }
249 |     #endif
[31/31] Emitting module Marionette
Build complete! (21.83s)
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.