Build Information
Failed to build FocusKit, reference main (c9aac0), with Swift 6.2 for Linux on 14 Apr 2026 23:22:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isonka/FocusKit.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/isonka/FocusKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c9aac07 Fix test issues
Cloned https://github.com/isonka/FocusKit.git
Revision (git rev-parse @):
c9aac0756a0aba2b56a302b1c6d545986566c8c6
SUCCESS checkout https://github.com/isonka/FocusKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/isonka/FocusKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling FocusKit FocusKit.swift
[5/12] Emitting module FocusKit
[6/12] Compiling FocusKit FocusConfiguration.swift
[7/12] Compiling FocusKit FocusError.swift
[8/12] Compiling FocusKit FocusScheduler.swift
[9/12] Compiling FocusKit FocusTimer.swift
/host/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:112:28: error: value of type 'FocusTimer' has no member 'setBackgroundedAt'
110 | }
111 | let start = clock.now
112 | await self.setBackgroundedAt(nil)
| `- error: value of type 'FocusTimer' has no member 'setBackgroundedAt'
113 | #if canImport(UIKit)
114 | let center = NotificationCenter.default
/host/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:112:46: error: 'nil' requires a contextual type
110 | }
111 | let start = clock.now
112 | await self.setBackgroundedAt(nil)
| `- error: 'nil' requires a contextual type
113 | #if canImport(UIKit)
114 | let center = NotificationCenter.default
[10/12] Compiling FocusKit FocusSession.swift
[11/12] Compiling FocusKit FocusStatistics.swift
[12/12] Compiling FocusKit FocusStore.swift
BUILD FAILURE 6.2 linux