Build Information
Failed to build WindowTreatment, reference 2.4.0 (d3ca16
), with Swift 5.9 for Linux on 10 Jul 2024 19:07:04 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.9-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: 2.4.0
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
* 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: linux
Swift version: 5.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:94c03ecf5df463051a5b8bdec5d09f635a7b31b1b290e2ba09836b1f5f74db71
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/15] Compiling WindowTreatment NSWindow+Tabbing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[2/15] Compiling WindowTreatment NSWindow+TitlebarTransparency.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[3/16] Compiling WindowTreatment WindowStateObservingView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[4/16] Compiling WindowTreatment WindowTitlebarAwareView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[5/16] Compiling WindowTreatment WindowTitlebarAwareViewController.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[6/16] Compiling WindowTreatment WindowStateAwareView.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[7/16] Compiling WindowTreatment WindowStateObserver.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[8/16] Compiling WindowTreatment NSWindow+Animation.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[9/16] Compiling WindowTreatment NSWindow+Sizing.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[10/16] Compiling WindowTreatment CustomizableMainKeyWindow.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[11/16] Compiling WindowTreatment TitlebarClickAwareWindow.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)
[12/16] Emitting module WindowTreatment
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[13/16] Compiling WindowTreatment WindowStateObservingModifier.swift
/host/spi-builder-workspace/Sources/WindowTreatment/ApplicationWindowState.swift:9:8: error: no such module 'Cocoa'
import Cocoa
^
[14/16] Compiling WindowTreatment NSView+Window.swift
/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
^
error: fatalError
BUILD FAILURE 5.9 linux