Build Information
Failed to build iModels, reference main (a1c77c), with Swift 6.3 for Android on 18 Apr 2026 11:52:52 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/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/AnbalaganD/iModels.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/AnbalaganD/iModels
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a1c77ca 1. Minor improvement at Device.swift 2. Update .gitignore file 3. Update Example project build settings 4. Update the version at all the places.
Cloned https://github.com/AnbalaganD/iModels.git
Revision (git rev-parse @):
a1c77ca658d038c19a4185bb271a2f74ee1e32b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AnbalaganD/iModels.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/AnbalaganD/iModels.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/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module iModels
/host/spi-builder-workspace/Sources/iModels/Device.swift:55:26: error: cannot find 'utsname' in scope
53 | identifier = ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"]!
54 | #else
55 | var systemInfo = utsname()
| `- error: cannot find 'utsname' in scope
56 | uname(&systemInfo)
57 |
/host/spi-builder-workspace/Sources/iModels/Device.swift:56:9: error: cannot find 'uname' in scope
54 | #else
55 | var systemInfo = utsname()
56 | uname(&systemInfo)
| `- error: cannot find 'uname' in scope
57 |
58 | identifier = withUnsafeBytes(of: &systemInfo.machine) { ptr in
[4/4] Compiling iModels Device.swift
/host/spi-builder-workspace/Sources/iModels/Device.swift:55:26: error: cannot find 'utsname' in scope
53 | identifier = ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"]!
54 | #else
55 | var systemInfo = utsname()
| `- error: cannot find 'utsname' in scope
56 | uname(&systemInfo)
57 |
/host/spi-builder-workspace/Sources/iModels/Device.swift:56:9: error: cannot find 'uname' in scope
54 | #else
55 | var systemInfo = utsname()
56 | uname(&systemInfo)
| `- error: cannot find 'uname' in scope
57 |
58 | identifier = withUnsafeBytes(of: &systemInfo.machine) { ptr in
BUILD FAILURE 6.3 android