The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WindowTreatment with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/WindowTreatment.git
Reference: 2.3.0
Cloned https://github.com/ChimeHQ/WindowTreatment.git into spi-builder-workspace
SUCCESS checkout https://github.com/ChimeHQ/WindowTreatment.git at 2.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/14] Compiling WindowTreatment WindowTitlebarAwareView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[2/15] Compiling WindowTreatment NSWindow+Sizing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[3/15] Compiling WindowTreatment NSWindow+Tabbing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[4/15] Compiling WindowTreatment WindowTitlebarAwareViewController.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[5/15] Compiling WindowTreatment WindowStateObserver.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[6/15] Compiling WindowTreatment WindowStateObservingView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/15] Compiling WindowTreatment NSWindow+TitlebarTransparency.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/15] Compiling WindowTreatment WindowStateAwareView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/15] Compiling WindowTreatment NSView+Window.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/15] Compiling WindowTreatment NSWindow+Animation.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)
[11/15] Emitting module WindowTreatment
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[12/15] Compiling WindowTreatment WindowObservingViewModifier.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/15] Compiling WindowTreatment WindowStateObservingModifier.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/15] Compiling WindowTreatment ApplicationWindowState.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/15] Compiling WindowTreatment CustomizableMainKeyWindow.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2