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 timeui with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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: 0.0.3
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
 * tag               0.0.3      -> FETCH_HEAD
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 0.0.3
========================================
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-1":/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 App.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[7/25] Compiling timeui AppDelegate.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/25] Compiling timeui TimerView.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/25] Compiling timeui Sound.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/25] Compiling timeui DingToggleView.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)
[11/25] Emitting module test_app
/host/spi-builder-workspace/Sources/test-app/main.swift:31:8: error: no such module 'os'
import os
       ^
[12/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: emit-module command failed with exit code 1 (use -v to see invocation)
[13/25] Emitting module timeui
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/25] Compiling timeui Color.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/25] Compiling timeui Notification.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/25] Compiling timeui PerformanceСalculator.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[17/25] Compiling timeui RunnerModel.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[18/25] Compiling timeui Runner.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[19/25] Compiling timeui LogDataSource.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling timeui TimerWindow.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[3/23] Compiling timeui Color.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[4/23] Compiling timeui Notification.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)
[5/23] Emitting module test_app
/host/spi-builder-workspace/Sources/test-app/main.swift:31:8: error: no such module 'os'
import os
       ^
[6/23] Compiling test_app main.swift
/host/spi-builder-workspace/Sources/test-app/main.swift:31:8: error: no such module 'os'
import os
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/23] Emitting module timeui
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[8/23] Compiling timeui App.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[9/23] Compiling timeui AppDelegate.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[10/23] Compiling timeui TimerView.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[11/23] Compiling timeui Sound.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[12/23] Compiling timeui DingToggleView.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
[13/23] Compiling timeui main.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/23] Compiling timeui Runner.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/23] Compiling timeui LogDataSource.swift
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
/host/spi-builder-workspace/Sources/timeui/main.swift:23:8: error: no such module 'Cocoa'
import Cocoa
       ^
BUILD FAILURE 5.10 linux