The Swift Package Index logo.Swift Package Index

Build Information

Failed to build iModels, reference main (62204e), with Swift 6.3 for Android on 22 Jul 2026 15:07:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
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 62204e3 Change branch name from 'master' to 'main' in workflow
Cloned https://github.com/AnbalaganD/iModels.git
Revision (git rev-parse @):
62204e398abfc92aeee0d1c29c3859ea30a195ea
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-54344849-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:451958f7df55f9af673f8b0851dc526f2aee3222db374ae53b89fa21ad564bc8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-272D24FF697CF451.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