Build Information
Failed to build SwiftLayout, reference main (6f1657), with Swift 6.2 for Android on 5 Jan 2026 08:29:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ioskrew/SwiftLayout.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/ioskrew/SwiftLayout
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ioskrew/SwiftLayout.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2B04F66FBCF4E350.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.2 android