The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLayout, reference 5.0.1 (6f1657), with Swift 6.0 for Linux on 5 Jan 2026 08:28:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ioskrew/SwiftLayout.git
Reference: 5.0.1
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/ioskrew/SwiftLayout
 * tag               5.0.1      -> FETCH_HEAD
HEAD is now at 6f16572 Merge hotfix/5.0.1
Cloned https://github.com/ioskrew/SwiftLayout.git
Revision (git rev-parse @):
6f16572b0c4b69beee8eeb264f108a2839f43c63
SUCCESS checkout https://github.com/ioskrew/SwiftLayout.git at 5.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ioskrew/SwiftLayout.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d9a15f93bf2b54d4a5c29ad13249b33c1decc55763b749502648fc1aee8d297b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Compiling SwiftLayoutPlatform SwiftLayoutPlatform.swift
[5/6] Emitting module SwiftLayoutPlatform
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:25:46: error: cannot find type 'CAMediaTimingFunction' in scope
 23 |     public static let curveLinear = SLAnimationOptions(rawValue: 1 << 3)
 24 |
 25 |     package func toAppKitTimingFunction() -> CAMediaTimingFunction? {
    |                                              `- error: cannot find type 'CAMediaTimingFunction' in scope
 26 |         if contains(.curveEaseIn) {
 27 |             return CAMediaTimingFunction(name: .easeIn)
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:43:51: error: cannot find type 'SLView' in scope
 41 | package enum SwiftLayoutPlatformHelper {
 42 |     @MainActor
 43 |     package static func setViewIdentifier(_ view: SLView, _ identifier: String) {
    |                                                   `- error: cannot find type 'SLView' in scope
 44 |         #if canImport(UIKit)
 45 |         view.accessibilityIdentifier = identifier
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:52:53: error: cannot find type 'SLLayoutGuide' in scope
 50 |
 51 |     @MainActor
 52 |     package static func setGuideIdentifier(_ guide: SLLayoutGuide, _ identifier: String) {
    |                                                     `- error: cannot find type 'SLLayoutGuide' in scope
 53 |         #if canImport(UIKit)
 54 |         guide.identifier = identifier
[6/6] Compiling SwiftLayoutPlatform SwiftLayoutPlatformHelper.swift
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:25:46: error: cannot find type 'CAMediaTimingFunction' in scope
 23 |     public static let curveLinear = SLAnimationOptions(rawValue: 1 << 3)
 24 |
 25 |     package func toAppKitTimingFunction() -> CAMediaTimingFunction? {
    |                                              `- error: cannot find type 'CAMediaTimingFunction' in scope
 26 |         if contains(.curveEaseIn) {
 27 |             return CAMediaTimingFunction(name: .easeIn)
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:43:51: error: cannot find type 'SLView' in scope
 41 | package enum SwiftLayoutPlatformHelper {
 42 |     @MainActor
 43 |     package static func setViewIdentifier(_ view: SLView, _ identifier: String) {
    |                                                   `- error: cannot find type 'SLView' in scope
 44 |         #if canImport(UIKit)
 45 |         view.accessibilityIdentifier = identifier
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:52:53: error: cannot find type 'SLLayoutGuide' in scope
 50 |
 51 |     @MainActor
 52 |     package static func setGuideIdentifier(_ guide: SLLayoutGuide, _ identifier: String) {
    |                                                     `- error: cannot find type 'SLLayoutGuide' in scope
 53 |         #if canImport(UIKit)
 54 |         guide.identifier = identifier
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:56:28: error: cannot find 'NSUserInterfaceItemIdentifier' in scope
 54 |         guide.identifier = identifier
 55 |         #else
 56 |         guide.identifier = NSUserInterfaceItemIdentifier(rawValue: identifier)
    |                            `- error: cannot find 'NSUserInterfaceItemIdentifier' in scope
 57 |         #endif
 58 |     }
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:79:17: error: cannot find 'performMacOSAnimation' in scope
 77 |         if delay > 0 {
 78 |             DispatchQueue.main.asyncAfter(deadline: .now() + delay) {
 79 |                 performMacOSAnimation(duration: duration, options: options, animations: animations, completion: completion)
    |                 `- error: cannot find 'performMacOSAnimation' in scope
 80 |             }
 81 |         } else {
/host/spi-builder-workspace/Sources/SwiftLayoutPlatform/SwiftLayoutPlatformHelper.swift:82:13: error: cannot find 'performMacOSAnimation' in scope
 80 |             }
 81 |         } else {
 82 |             performMacOSAnimation(duration: duration, options: options, animations: animations, completion: completion)
    |             `- error: cannot find 'performMacOSAnimation' in scope
 83 |         }
 84 |         #endif
BUILD FAILURE 6.0 linux