Build Information
Failed to build device-input, reference 8.1.0 (112220), with Swift 6.2 for Android on 25 Mar 2026 20:50:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/device-input.git
Reference: 8.1.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/sersoft-gmbh/device-input
* tag 8.1.0 -> FETCH_HEAD
HEAD is now at 112220b Add support for Swift 6.3
Cloned https://github.com/sersoft-gmbh/device-input.git
Revision (git rev-parse @):
112220bccec88eead44643b5d57ea334c141d3b5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sersoft-gmbh/device-input.git at 8.1.0
========================================
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ddd4edb33d5d885e17caac0b97dcd74ed916c6d1fa6d49f38e53038953d2cc51
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
[1/2171] Fetching swift-docc-plugin
[240/4193] Fetching swift-docc-plugin, swift-filestreamer
[726/9794] Fetching swift-docc-plugin, swift-filestreamer, swift-system
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.61s)
Fetched https://github.com/apple/swift-system from cache (0.62s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.63s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.11.2 (1.01s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (2.21s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.91s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.43s)
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
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.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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.6
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[5/9] Compiling CInput grabdevice.c
[6/9] Compiling CSystem shims.c
[7/9] Write swift-version--11D90AFD9DD3AB2.txt
[7/9] Compiling CInput input.c
[10/40] Emitting module SystemPackage
[11/44] Compiling SystemPackage FilePathWindows.swift
[12/44] Compiling SystemPackage FilePermissions.swift
[13/44] Compiling SystemPackage IOCompletion.swift
[14/44] Compiling SystemPackage IORequest.swift
[15/44] Compiling SystemPackage SystemString.swift
[16/44] Compiling SystemPackage Util+StringArray.swift
[17/44] Compiling SystemPackage Util.swift
[18/44] Compiling SystemPackage UtilConsumers.swift
[19/44] Compiling SystemPackage Errno.swift
[20/44] Compiling SystemPackage ErrnoWindows.swift
[21/44] Compiling SystemPackage FileDescriptor.swift
[22/44] Compiling SystemPackage FileHelpers.swift
[23/44] Compiling SystemPackage FileOperations.swift
[24/44] Compiling SystemPackage FilePathSyntax.swift
[25/44] Compiling SystemPackage FilePathTemp.swift
[26/44] Compiling SystemPackage FilePathTempPosix.swift
[27/44] Compiling SystemPackage FilePathTempWindows.swift
[28/44] Compiling SystemPackage Constants.swift
[29/44] Compiling SystemPackage Exports.swift
[30/44] Compiling SystemPackage Mocking.swift
[31/44] Compiling SystemPackage RawBuffer.swift
[32/44] Compiling SystemPackage FilePath.swift
[33/44] Compiling SystemPackage FilePathComponentView.swift
[34/44] Compiling SystemPackage FilePathComponents.swift
[35/44] Compiling SystemPackage FilePathParsing.swift
[36/44] Compiling SystemPackage FilePathString.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 IORing.swift
[42/44] Compiling SystemPackage RawIORequest.swift
[43/44] Compiling SystemPackage Backcompat.swift
[44/44] Compiling SystemPackage CInterop.swift
[46/48] Compiling FileStreamer AnyAsyncStream.swift
[47/48] Compiling FileStreamer FileStream.swift
[48/48] Emitting module FileStreamer
[50/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 |
[51/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 |
[52/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/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 |
[54/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 |
[55/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 |
[56/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 |
BUILD FAILURE 6.2 android