The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FocusKit, reference main (c9aac0), with Swift 6.0 for Linux on 14 Apr 2026 22:20:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.0
Building package at path:  $PWD
https://github.com/isonka/FocusKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:6ccbc5e7995f6c524368c1828f9c677d1727c16390a603fc668217aec5f5123a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.0-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 FocusSession.swift
[9/12] Compiling FocusKit FocusScheduler.swift
[10/12] Compiling FocusKit FocusStore.swift
[11/12] Compiling FocusKit FocusStatistics.swift
[12/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
BUILD FAILURE 6.0 linux