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 device-input, reference main (82b962), with Swift 6.2 for Android on 23 Sep 2025 15:40:19 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/device-input.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/sersoft-gmbh/device-input
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 82b962b Fix build on older Swift versions
Cloned https://github.com/sersoft-gmbh/device-input.git
Revision (git rev-parse @):
82b962baf5e96b1af9d3b6fe79b4a7a1541bdaaf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/device-input.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sersoft-gmbh/device-input.git
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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-docc-plugin
[1/1894] Fetching swift-filestreamer
[1858/3988] Fetching swift-filestreamer, swift-docc-plugin
[2126/8996] Fetching swift-filestreamer, swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-system from cache (0.45s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.48s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.48s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.11.1 (0.82s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3532] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.82s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.39s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/sersoft-gmbh/swift-filestreamer
Working copy of https://github.com/sersoft-gmbh/swift-filestreamer resolved at 0.11.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[5/9] Compiling CInput input.c
[6/9] Compiling CInput grabdevice.c
[7/9] Compiling CSystem shims.c
[8/9] Write swift-version--11D90AFD9DD3AB2.txt
[10/40] Emitting module SystemPackage
[11/44] Compiling SystemPackage SystemString.swift
[12/44] Compiling SystemPackage Util+StringArray.swift
[13/44] Compiling SystemPackage Util.swift
[14/44] Compiling SystemPackage UtilConsumers.swift
[15/44] Compiling SystemPackage FilePathSyntax.swift
[16/44] Compiling SystemPackage FilePathTemp.swift
[17/44] Compiling SystemPackage FilePathTempPosix.swift
[18/44] Compiling SystemPackage FilePathTempWindows.swift
[19/44] Compiling SystemPackage FilePath.swift
[20/44] Compiling SystemPackage FilePathComponentView.swift
[21/44] Compiling SystemPackage FilePathComponents.swift
[22/44] Compiling SystemPackage FilePathParsing.swift
[23/44] Compiling SystemPackage FilePathString.swift
[24/44] Compiling SystemPackage Errno.swift
[25/44] Compiling SystemPackage ErrnoWindows.swift
[26/44] Compiling SystemPackage FileDescriptor.swift
[27/44] Compiling SystemPackage FileHelpers.swift
[28/44] Compiling SystemPackage FileOperations.swift
[29/44] Compiling SystemPackage IORing.swift
[30/44] Compiling SystemPackage RawIORequest.swift
[31/44] Compiling SystemPackage Backcompat.swift
[32/44] Compiling SystemPackage CInterop.swift
[33/44] Compiling SystemPackage Constants.swift
[34/44] Compiling SystemPackage Exports.swift
[35/44] Compiling SystemPackage Mocking.swift
[36/44] Compiling SystemPackage RawBuffer.swift
[37/44] Compiling SystemPackage Syscalls.swift
[38/44] Compiling SystemPackage WindowsSyscallAdapters.swift
[39/44] Compiling SystemPackage MachPort.swift
[40/44] Compiling SystemPackage PlatformString.swift
[41/44] Compiling SystemPackage FilePathWindows.swift
[42/44] Compiling SystemPackage FilePermissions.swift
[43/44] Compiling SystemPackage IOCompletion.swift
[44/44] Compiling SystemPackage IORequest.swift
[46/48] Compiling FileStreamer FileStream.swift
[47/48] Compiling FileStreamer AnyAsyncStream.swift
[48/48] Emitting module FileStreamer
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/56] Emitting module DeviceInput
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:13:8: error: Unknown platform
11 | internal import ucrt
12 | #else
13 | #error("Unknown platform")
   |        `- error: Unknown platform
14 | #endif
15 |
[51/56] Compiling DeviceInput InputDevice.swift
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:13:8: error: Unknown platform
11 | internal import ucrt
12 | #else
13 | #error("Unknown platform")
   |        `- error: Unknown platform
14 | #endif
15 |
[52/56] Compiling DeviceInput InputEvent.swift
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:13:8: error: Unknown platform
11 | internal import ucrt
12 | #else
13 | #error("Unknown platform")
   |        `- error: Unknown platform
14 | #endif
15 |
[53/56] Compiling DeviceInput InputEventValue.swift
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:13:8: error: Unknown platform
11 | internal import ucrt
12 | #else
13 | #error("Unknown platform")
   |        `- error: Unknown platform
14 | #endif
15 |
[54/56] Compiling DeviceInput FileHandle+Grab.swift
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:13:8: error: Unknown platform
11 | internal import ucrt
12 | #else
13 | #error("Unknown platform")
   |        `- error: Unknown platform
14 | #endif
15 |
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:18:40: error: cannot find 'errno' in scope
16 | // Results in errno if i == -1
17 | fileprivate func valueOrErrno<I: FixedWidthInteger>(_ i: I) -> Result<I, Errno> {
18 |     i == -1 ? .failure(Errno(rawValue: errno)) : .success(i)
   |                                        `- error: cannot find 'errno' in scope
19 | }
20 |
[55/56] Compiling DeviceInput InputEventKind.swift
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:13:8: error: Unknown platform
11 | internal import ucrt
12 | #else
13 | #error("Unknown platform")
   |        `- error: Unknown platform
14 | #endif
15 |
[56/56] Compiling DeviceInput InputEventCode.swift
/host/spi-builder-workspace/Sources/DeviceInput/FileHandle+Grab.swift:13:8: error: Unknown platform
11 | internal import ucrt
12 | #else
13 | #error("Unknown platform")
   |        `- error: Unknown platform
14 | #endif
15 |
BUILD FAILURE 6.2 android