The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build iModels, reference master (239b68), with Swift 6.1 for Android on 25 Sep 2025 06:50:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnbalaganD/iModels.git
Reference: master
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            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 239b68d Update the link to direct to the correct location
Cloned https://github.com/AnbalaganD/iModels.git
Revision (git rev-parse @):
239b68ddbcfc929e35ac5a13dab938f9ffc6a305
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AnbalaganD/iModels.git at master
========================================
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-1":/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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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
[3/4] Emitting module iModels
[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-1":/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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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
[2/3] Emitting module iModels
[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