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

Failed to build WindowTreatment, reference main (d3ca16), with Swift 5.8 for macOS (SPM) on 10 Jul 2024 02:17:51 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.46.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/WindowTreatment.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/WindowTreatment
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d3ca166 Fix Xcode 15 compatibility
Cloned https://github.com/ChimeHQ/WindowTreatment.git
Revision (git rev-parse @):
d3ca166086388e276f60a66b1fb33048f655dc87
SUCCESS checkout https://github.com/ChimeHQ/WindowTreatment.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ChimeHQ/WindowTreatment.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/15] Compiling WindowTreatment NSWindow+Tabbing.swift
[2/15] Compiling WindowTreatment NSWindow+TitlebarTransparency.swift
[3/16] Compiling WindowTreatment WindowStateAwareView.swift
[4/16] Compiling WindowTreatment WindowStateObservingModifier.swift
[5/16] Compiling WindowTreatment NSView+Window.swift
[6/16] Compiling WindowTreatment WindowTitlebarAwareViewController.swift
[7/16] Compiling WindowTreatment ApplicationWindowState.swift
[8/16] Compiling WindowTreatment WindowObservingViewModifier.swift
[9/16] Compiling WindowTreatment NSWindow+Animation.swift
[10/16] Compiling WindowTreatment NSWindow+Sizing.swift
[11/16] Emitting module WindowTreatment
[12/16] Compiling WindowTreatment CustomizableMainKeyWindow.swift
[13/16] Compiling WindowTreatment TitlebarClickAwareWindow.swift
[14/16] Compiling WindowTreatment WindowTitlebarAwareView.swift
[15/16] Compiling WindowTreatment WindowStateObservingView.swift
[16/16] Compiling WindowTreatment WindowStateObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/WindowTreatment/WindowStateObserver.swift:101:15: error: type 'MainActor' has no member 'assumeIsolated'
                                MainActor.assumeIsolated {
                                ~~~~~~~~~ ^~~~~~~~~~~~~~
BUILD FAILURE 5.8 macosSpm