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 2.4.0 (d3ca16), with Swift 5.8 for macOS (SPM) on 9 Jul 2024 18:11:49 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: 2.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/WindowTreatment
 * tag               2.4.0      -> FETCH_HEAD
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 2.4.0
========================================
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 WindowStateAwareView.swift
[2/16] Compiling WindowTreatment WindowTitlebarAwareView.swift
[3/16] Compiling WindowTreatment NSWindow+Tabbing.swift
[4/16] Compiling WindowTreatment NSWindow+TitlebarTransparency.swift
[5/16] Compiling WindowTreatment NSWindow+Animation.swift
[6/16] Compiling WindowTreatment NSWindow+Sizing.swift
[7/16] Compiling WindowTreatment ApplicationWindowState.swift
[8/16] Compiling WindowTreatment WindowObservingViewModifier.swift
[9/16] Compiling WindowTreatment CustomizableMainKeyWindow.swift
[10/16] Compiling WindowTreatment TitlebarClickAwareWindow.swift
[11/16] Emitting module WindowTreatment
[12/16] Compiling WindowTreatment WindowStateObservingModifier.swift
[13/16] Compiling WindowTreatment NSView+Window.swift
[14/16] Compiling WindowTreatment WindowStateObservingView.swift
[15/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 {
                                ~~~~~~~~~ ^~~~~~~~~~~~~~
[16/16] Compiling WindowTreatment WindowTitlebarAwareViewController.swift
BUILD FAILURE 5.8 macosSpm