The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DeviceLookup, reference 2026.11.0 (b21f6b), with Swift 6.4 for Android on 9 Nov 2026 01:33:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/voyager-software/DeviceLookup.git
Reference: 2026.11.0
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/voyager-software/DeviceLookup
 * tag               2026.11.0  -> FETCH_HEAD
HEAD is now at b21f6b0 README: install 2026.11.0
Cloned https://github.com/voyager-software/DeviceLookup.git
Revision (git rev-parse @):
b21f6b0f516c1763ea821e8ed76379bace1cbfd3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/voyager-software/DeviceLookup.git at 2026.11.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/voyager-software/DeviceLookup.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6b43072510b376a3c4064be7d82ef70cb870a485f057a0e40e484dd4ba1d1fe3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/DeviceLookup/Device.swift:96:26: error: cannot find 'utsname' in scope
 94 |     /// In an iPhone or iPad app on a Mac, it's a stand-in iPad such as "iPad8,6".
 95 |     public static let machineIdentifier: String = {
 96 |         var systemInfo = utsname()
    |                          `- error: cannot find 'utsname' in scope
 97 |         uname(&systemInfo)
 98 |         return withUnsafeBytes(of: &systemInfo.machine) { buffer in
/host/spi-builder-workspace/Sources/DeviceLookup/Device.swift:97:9: error: cannot find 'uname' in scope
 95 |     public static let machineIdentifier: String = {
 96 |         var systemInfo = utsname()
 97 |         uname(&systemInfo)
    |         `- error: cannot find 'uname' in scope
 98 |         return withUnsafeBytes(of: &systemInfo.machine) { buffer in
 99 |             String(decoding: buffer.prefix { $0 != 0 }, as: UTF8.self)
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Sources/DeviceLookup/Device+System.swift /host/spi-builder-workspace/Sources/DeviceLookup/Device.swift /host/spi-builder-workspace/Sources/DeviceLookup/DeviceTable.swift /host/spi-builder-workspace/Sources/DeviceLookup/Family.swift /host/spi-builder-workspace/Sources/DeviceLookup/Mac.swift /host/spi-builder-workspace/Sources/DeviceLookup/MacHardware.swift /host/spi-builder-workspace/Sources/DeviceLookup/Screen.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name DeviceLookup -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/Objects-normal/aarch64/DeviceLookup_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/Objects-normal/aarch64/Modules/DeviceLookup.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/Objects-normal/aarch64/Modules/DeviceLookup.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/Objects-normal/aarch64/DeviceLookup-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/Objects-normal/aarch64/DeviceLookup-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/Objects-normal/aarch64/DeviceLookup-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/DeviceLookup.build/Debug-android-aarch64/DeviceLookup-t.build/Objects-normal/aarch64/Modules/DeviceLookup.swiftmodule
[35 / 43] DeviceLookup
error: Build failed
BUILD FAILURE 6.4 android