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 (6cf36d), with Swift 5.9 for Linux on 19 Nov 2024 15:25:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.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 6cf36dd Back down to Xcode 16.1
Cloned https://github.com/ChimeHQ/WindowTreatment.git
Revision (git rev-parse @):
6cf36dd6f908aed0dc31aeb27a346303210b2923
SUCCESS checkout https://github.com/ChimeHQ/WindowTreatment.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/ChimeHQ/WindowTreatment.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/15] Compiling WindowTreatment WindowStateObservingView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[2/15] Compiling WindowTreatment WindowTitlebarAwareView.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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] Emitting module WindowTreatment
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[5/16] Compiling WindowTreatment ApplicationWindowState.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/16] Compiling WindowTreatment WindowObservingViewModifier.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/16] Compiling WindowTreatment WindowStateAwareView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/16] Compiling WindowTreatment WindowStateObserver.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/16] Compiling WindowTreatment CustomizableMainKeyWindow.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/16] Compiling WindowTreatment TitlebarClickAwareWindow.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[11/16] Compiling WindowTreatment NSWindow+Animation.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[12/16] Compiling WindowTreatment NSWindow+Sizing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/16] Compiling WindowTreatment NSWindow+Tabbing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/16] Compiling WindowTreatment NSWindow+TitlebarTransparency.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/16] Compiling WindowTreatment WindowStateObservingModifier.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/16] Compiling WindowTreatment NSView+Window.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
BUILD FAILURE 5.9 linux