Build Information
Failed to build elementary-ui, reference main (ef8387), with Swift 6.3 for Android on 20 Apr 2026 08:23:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elementary-swift/elementary-ui.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/elementary-swift/elementary-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ef83875 Fixes stale state tracking issue (optional unwrap crasher) (#100)
Cloned https://github.com/elementary-swift/elementary-ui.git
Revision (git rev-parse @):
ef83875ba3adb89e84a03309cf4eb3c7d18fa9ab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/elementary-swift/elementary-ui.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/elementary-swift/elementary-ui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/elementary-swift/elementary
[1/1722] Fetching elementary
[1723/25298] Fetching elementary, swift-collections
[10211/100279] Fetching elementary, swift-collections, swift-syntax
[14540/136855] Fetching elementary, swift-collections, swift-syntax, javascriptkit
Fetched https://github.com/elementary-swift/elementary from cache (7.19s)
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (7.22s)
Fetched https://github.com/apple/swift-collections from cache (7.23s)
Fetched https://github.com/swiftlang/swift-syntax from cache (7.25s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (7.95s)
Computing version for https://github.com/elementary-swift/elementary
Computed https://github.com/elementary-swift/elementary at 0.7.1 (0.37s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.50.2 (0.48s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (2.33s)
Creating working copy for https://github.com/elementary-swift/elementary
Working copy of https://github.com/elementary-swift/elementary resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.50.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.46s)
[1/1] Compiling plugin BridgeJSCommandPlugin
[2/2] Compiling plugin BridgeJS
[3/3] Compiling plugin PackageToJS
Building for debugging...
[3/27] Write sources
[16/27] Compiling _CJavaScriptKit _CJavaScriptKit.c
[17/27] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/91] Emitting module _UTF8Internals
/host/spi-builder-workspace/Sources/_UTF8Internals/String+utf8Equals.swift:12:8: error: Unsupported platform
10 | import Glibc
11 | #else
12 | #error("Unsupported platform")
| `- error: Unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/_UTF8Internals/String+utf8Equals.swift:42:12: error: cannot find 'memcmp' in scope
40 | guard lhs.count == rhs.count else { return false }
41 | guard lhs.count > 0 else { return true }
42 | return memcmp(lhs.baseAddress!, rhs.baseAddress!, lhs.count) == 0
| `- error: cannot find 'memcmp' in scope
43 | }
44 |
[20/91] Emitting module InternalCollectionsUtilities
[21/93] Emitting module Elementary
[22/96] Compiling BridgeJSMacros JSMacroSupport.swift
[23/96] Compiling BridgeJSMacros JSSetterMacro.swift
[24/96] Compiling ReactivityMacros ReactivityMacros.swift
[25/96] Compiling ElementaryUIMacros Plugin.swift
[26/96] Compiling BridgeJSMacros JSGetterMacro.swift
[27/96] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[28/96] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[29/96] Compiling _UTF8Internals UTF8Key.swift
/host/spi-builder-workspace/Sources/_UTF8Internals/String+utf8Equals.swift:12:8: error: Unsupported platform
10 | import Glibc
11 | #else
12 | #error("Unsupported platform")
| `- error: Unsupported platform
13 | #endif
14 |
[30/96] Compiling ElementaryUIMacros StorageKeyMacros.swift
[31/96] Compiling InternalCollectionsUtilities Debugging.swift
[32/96] Compiling InternalCollectionsUtilities Descriptions.swift
[33/96] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[34/96] Compiling InternalCollectionsUtilities Integer rank.swift
[35/96] Compiling InternalCollectionsUtilities _SortedCollection.swift
[36/96] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[37/96] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/96] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/96] Compiling InternalCollectionsUtilities String+Padding.swift
[40/96] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[41/96] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/96] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[43/96] Compiling ReactivityMacros Plugin.swift
[44/96] Emitting module ReactivityMacros
[45/96] Compiling BridgeJSMacros BridgeJSMacrosPlugin.swift
[46/96] Compiling ElementaryUIMacros BindingMacro.swift
[47/96] Emitting module BridgeJSMacros
[48/96] Emitting module ElementaryUIMacros
[49/96] Compiling _ElementaryMath exports.swift
[50/96] Emitting module _ElementaryMath
[51/96] Compiling _UTF8Internals String+utf8Equals.swift
/host/spi-builder-workspace/Sources/_UTF8Internals/String+utf8Equals.swift:12:8: error: Unsupported platform
10 | import Glibc
11 | #else
12 | #error("Unsupported platform")
| `- error: Unsupported platform
13 | #endif
14 |
/host/spi-builder-workspace/Sources/_UTF8Internals/String+utf8Equals.swift:42:12: error: cannot find 'memcmp' in scope
40 | guard lhs.count == rhs.count else { return false }
41 | guard lhs.count > 0 else { return true }
42 | return memcmp(lhs.baseAddress!, rhs.baseAddress!, lhs.count) == 0
| `- error: cannot find 'memcmp' in scope
43 | }
44 |
[52/97] Compiling ReactivityMacros Availability.swift
[53/97] Compiling ReactivityMacros Extensions.swift
[54/97] Compiling BridgeJSMacros JSFunctionMacro.swift
[55/97] Compiling ElementaryUIMacros ViewMacro.swift
[56/97] Compiling BridgeJSMacros JSClassMacro.swift
error: cancelled
error: cancelled
[60/98] Compiling InternalCollectionsUtilities Span+Extras.swift
[64/98] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[65/98] Compiling InternalCollectionsUtilities UInt+reversed.swift
BUILD FAILURE 6.3 android