Build Information
Failed to build iModels, reference 0.1.8 (a1c77c), with Swift 6.1 for Android on 7 Feb 2026 08:54:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/AnbalaganD/iModels.git
Reference: 0.1.8
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
* tag 0.1.8 -> FETCH_HEAD
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 0.1.8
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/AnbalaganD/iModels.git
https://github.com/AnbalaganD/iModels.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "iModels",
"name" : "iModels",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "iModels",
"targets" : [
"iModels"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "iModelsTests",
"module_type" : "SwiftTarget",
"name" : "iModelsTests",
"path" : "Tests/iModelsTests",
"sources" : [
"DeviceTests.swift"
],
"target_dependencies" : [
"iModels"
],
"type" : "test"
},
{
"c99name" : "iModels",
"module_type" : "SwiftTarget",
"name" : "iModels",
"path" : "Sources/iModels",
"product_memberships" : [
"iModels"
],
"sources" : [
"Device.swift"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/3] 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
[3/3] 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.1 android