Build Information
Failed to build timeui with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/icanzilb/timeui.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/icanzilb/timeui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4cfee8e Merge pull request #5 from icanzilb/marin_todorov/ding
Cloned https://github.com/icanzilb/timeui.git
Revision (git rev-parse @):
4cfee8eb93f5523f1ae95c74e1d4d34049c3db63
SUCCESS checkout https://github.com/icanzilb/timeui.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/icanzilb/timeui.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/24] Compiling timeui TimerWindow.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
^
[5/25] Compiling timeui main.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
^
[6/25] Compiling timeui TimerView.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/25] Emitting module test_app
/host/spi-builder-workspace/Sources/test-app/main.swift:31:8: error: no such module 'os'
import os
^
[8/25] Compiling test_app main.swift
/host/spi-builder-workspace/Sources/test-app/main.swift:31:8: error: no such module 'os'
import os
^
error: fatalError
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
^
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/22] Emitting module test_app
/host/spi-builder-workspace/Sources/test-app/main.swift:31:8: error: no such module 'os'
import os
^
[3/22] Compiling test_app main.swift
/host/spi-builder-workspace/Sources/test-app/main.swift:31:8: error: no such module 'os'
import os
^
[4/22] Compiling timeui TimerWindow.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
^
error: fatalError
BUILD FAILURE 5.10 linux