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.9 for macOS (SPM) on 9 Jul 2024 18:11:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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.9
Building package at path:  $workDir
https://github.com/ChimeHQ/WindowTreatment.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/15] Emitting module WindowTreatment
[2/16] Compiling WindowTreatment WindowStateObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/WindowTreatment/WindowStateObserver.swift:101:15: error: 'assumeIsolated(_:file:line:)' is only available in macOS 14.0 or newer
                                MainActor.assumeIsolated {
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/WindowTreatment/WindowStateObserver.swift:101:15: note: add 'if #available' version check
                                MainActor.assumeIsolated {
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/WindowTreatment/WindowStateObserver.swift:64:18: note: add @available attribute to enclosing instance method
    private func registerForWindowNotifications(_ window: NSWindow) {
                 ^
/Users/admin/builder/spi-builder-workspace/Sources/WindowTreatment/WindowStateObserver.swift:8:20: note: add @available attribute to enclosing class
public final class WindowStateObserver {
                   ^
[3/16] Compiling WindowTreatment WindowTitlebarAwareViewController.swift
[4/16] Compiling WindowTreatment WindowStateAwareView.swift
[5/16] Compiling WindowTreatment CustomizableMainKeyWindow.swift
[6/16] Compiling WindowTreatment TitlebarClickAwareWindow.swift
[7/16] Compiling WindowTreatment WindowStateObservingModifier.swift
[8/16] Compiling WindowTreatment NSView+Window.swift
[9/16] Compiling WindowTreatment NSWindow+Animation.swift
[10/16] Compiling WindowTreatment NSWindow+Sizing.swift
[11/16] Compiling WindowTreatment ApplicationWindowState.swift
[12/16] Compiling WindowTreatment WindowObservingViewModifier.swift
[13/16] Compiling WindowTreatment NSWindow+Tabbing.swift
[14/16] Compiling WindowTreatment NSWindow+TitlebarTransparency.swift
[15/16] Compiling WindowTreatment WindowStateObservingView.swift
[16/16] Compiling WindowTreatment WindowTitlebarAwareView.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm