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 Linux on 10 Jul 2024 19:06:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ChimeHQ/WindowTreatment.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:25ae52e20f56ffaca5cfeeca46731079b0ef67b7dcd7f3dc3e93dc588d498392
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
[1/15] Compiling WindowTreatment WindowStateObservingModifier.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[2/15] Compiling WindowTreatment NSView+Window.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[3/16] Compiling WindowTreatment WindowTitlebarAwareViewController.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[4/16] Compiling WindowTreatment CustomizableMainKeyWindow.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[5/16] Compiling WindowTreatment TitlebarClickAwareWindow.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/16] Compiling WindowTreatment NSWindow+Animation.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/16] Compiling WindowTreatment NSWindow+Sizing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/16] Compiling WindowTreatment WindowStateObservingView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/16] Compiling WindowTreatment WindowTitlebarAwareView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/16] Compiling WindowTreatment NSWindow+Tabbing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[11/16] Compiling WindowTreatment NSWindow+TitlebarTransparency.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[12/16] Compiling WindowTreatment WindowStateAwareView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/16] Compiling WindowTreatment WindowStateObserver.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module WindowTreatment
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/16] Compiling WindowTreatment ApplicationWindowState.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/16] Compiling WindowTreatment WindowObservingViewModifier.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
BUILD FAILURE 5.8 linux