Build Information
Failed to build SwiftLayout, reference main (6f1657), with Swift 6.1 for Android on 5 Jan 2026 08:29:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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.1
Building package at path: $PWD
https://github.com/ioskrew/SwiftLayout.git
https://github.com/ioskrew/SwiftLayout.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLayout",
"name" : "SwiftLayout",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftLayout",
"targets" : [
"SwiftLayout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "SwiftLayoutTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLayoutTests",
"path" : "Tests/SwiftLayoutTests",
"sources" : [
"ImplementationTests/AnchorsImplementationTests.swift",
"ImplementationTests/HierarchyNodeTests.swift",
"ImplementationTests/ImplementationTests.swift",
"ImplementationTests/ReferenceTests.swift",
"InterfaceTests/AnchorsDSLTests.swift",
"InterfaceTests/ConstraintUpdaterTests.swift",
"InterfaceTests/LayoutDSLTests/ActivationTests.swift",
"InterfaceTests/LayoutDSLTests/ConditionalSyntaxTests.swift",
"InterfaceTests/LayoutDSLTests/LayoutDSLTestsBase.swift",
"InterfaceTests/LayoutDSLTests/LayoutTypeTests.swift",
"InterfaceTests/LayoutDSLTests/TupleLayoutTests.swift",
"InterfaceTests/LayoutDSLTests/VisualEffectViewTests.swift",
"InterfaceTests/LayoutUpdateModeTests.swift",
"InterfaceTests/LayoutableTests.swift",
"Util/ExpectFunction/expectConstraintsEqualFunctions.swift",
"Util/ExpectFunction/expectView.swift",
"Util/Extension/Attribute+CaseIterable.swift",
"Util/Extension/SLView+TestIdentifier.swift",
"Util/View/CallCountView.swift"
],
"target_dependencies" : [
"SwiftLayout"
],
"type" : "test"
},
{
"c99name" : "SwiftLayoutPlatform",
"module_type" : "SwiftTarget",
"name" : "SwiftLayoutPlatform",
"path" : "Sources/SwiftLayoutPlatform",
"product_memberships" : [
"SwiftLayout"
],
"sources" : [
"SwiftLayoutPlatform.swift",
"SwiftLayoutPlatformHelper.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLayout",
"module_type" : "SwiftTarget",
"name" : "SwiftLayout",
"path" : "Sources/SwiftLayout",
"product_memberships" : [
"SwiftLayout"
],
"sources" : [
"Core/Activator/ActivateMode.swift",
"Core/Activator/Activation.swift",
"Core/Activator/Activator.swift",
"Core/Activator/Component/ConstraintUpdater.swift",
"Core/Activator/Component/HierarchyInfo.swift",
"Core/Activator/Component/HierarchyNode.swift",
"Core/Activator/Component/WeakConstraint.swift",
"Core/Activator/Deactivator.swift",
"Core/Anchors/Anchors.swift",
"Core/Anchors/Elements/AnchorsAttribute.swift",
"Core/Anchors/Elements/AnchorsConstraintProperty.swift",
"Core/Anchors/Elements/AnchorsItem.swift",
"Core/Anchors/Elements/Expression/AnchorsExpressionOmitable.swift",
"Core/Anchors/Elements/Expression/AtrributeBase/AnchorsExpression+Dimensions.swift",
"Core/Anchors/Elements/Expression/AtrributeBase/AnchorsExpression+XAxis.swift",
"Core/Anchors/Elements/Expression/AtrributeBase/AnchorsExpression+YAxis.swift",
"Core/Anchors/Elements/Expression/AtrributeBase/AnchorsExpression.swift",
"Core/Anchors/Elements/Expression/Composite/AnchorsCenterExpression.swift",
"Core/Anchors/Elements/Expression/Composite/AnchorsMixedExpression.swift",
"Core/Anchors/Elements/Expression/Composite/AnchorsSizeExpression.swift",
"Core/Builder/AnchorsBuilder.swift",
"Core/Builder/LayoutBuilder.swift",
"Core/Layout/Layout.swift",
"Core/Layout/LayoutComponent.swift",
"Core/Layout/LayoutElements.swift",
"Core/Layout/LayoutOption.swift",
"Core/Layout/Layouts/AnyLayout.swift",
"Core/Layout/Layouts/ArrayLayout.swift",
"Core/Layout/Layouts/ConditionalLayout.swift",
"Core/Layout/Layouts/EmptyLayout.swift",
"Core/Layout/Layouts/GroupLayout.swift",
"Core/Layout/Layouts/GuideLayout.swift",
"Core/Layout/Layouts/ModularLayout.swift",
"Core/Layout/Layouts/OptionalLayout.swift",
"Core/Layout/Layouts/TupleLayout.swift",
"Core/Layout/Layouts/TupleLayoutN.swift",
"Core/Layout/Layouts/ViewLayout.swift",
"Extension/Layoutable+SwiftUI.swift",
"Extension/Set+Activation.swift",
"Layoutable/Layoutable.swift",
"Layoutable/PropertyWrapper/AnimatableLayoutProperty.swift",
"Layoutable/PropertyWrapper/LayoutProperty.swift",
"Wrapper/LayoutMethodAccessible.swift",
"Wrapper/LayoutMethodWrapper+SLLayoutGuide.swift",
"Wrapper/LayoutMethodWrapper+SLView.swift",
"Wrapper/LayoutMethodWrapper.swift"
],
"target_dependencies" : [
"SwiftLayoutPlatform"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
e1a89dea01a6: Already exists
39bc14e52995: Already exists
cc0382103b05: Already exists
084072dee40a: Already exists
eba2335f1fff: Pulling fs layer
eba2335f1fff: Verifying Checksum
eba2335f1fff: Download complete
eba2335f1fff: Pull complete
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:android-6.1-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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling SwiftLayoutPlatform SwiftLayoutPlatform.swift
[3/4] 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
[4/4] 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.1 android