Build Information
Failed to build device-input, reference main (f66b53), with Swift 6.1 for Android on 28 Apr 2026 10:12:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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 f66b53e Bump github.com/apple/swift-docc-plugin from 1.4.6 to 1.5.0
Cloned https://github.com/sersoft-gmbh/device-input.git
Revision (git rev-parse @):
f66b53e7316f0011cfcc710228bdc605eeebbb3f
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.1
Building package at path: $PWD
https://github.com/sersoft-gmbh/device-input.git
https://github.com/sersoft-gmbh/device-input.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-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/2033] Fetching swift-filestreamer
[977/4320] Fetching swift-filestreamer, swift-docc-plugin
[2263/9921] Fetching swift-filestreamer, swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-docc-plugin from cache (0.51s)
Fetched https://github.com/apple/swift-system from cache (0.54s)
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.54s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.11.2 (1.17s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (3.83s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3677] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.33s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.88s)
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.5.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/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] Write swift-version-24593BA9C3E375BF.txt
[7/9] Compiling CSystem shims.c
[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 FilePathWindows.swift
[16/44] Compiling SystemPackage FilePermissions.swift
[17/44] Compiling SystemPackage IOCompletion.swift
[18/44] Compiling SystemPackage IORequest.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 FilePathSyntax.swift
[30/44] Compiling SystemPackage FilePathTemp.swift
[31/44] Compiling SystemPackage FilePathTempPosix.swift
[32/44] Compiling SystemPackage FilePathTempWindows.swift
[33/44] Compiling SystemPackage IORing.swift
[34/44] Compiling SystemPackage RawIORequest.swift
[35/44] Compiling SystemPackage Backcompat.swift
[36/44] Compiling SystemPackage CInterop.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 Constants.swift
[42/44] Compiling SystemPackage Exports.swift
[43/44] Compiling SystemPackage Mocking.swift
[44/44] Compiling SystemPackage RawBuffer.swift
[46/48] Compiling FileStreamer FileStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/48] Compiling FileStreamer AnyAsyncStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/48] Emitting module FileStreamer
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/56] Compiling DeviceInput InputEventKind.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/56] Compiling DeviceInput InputEventValue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/56] Compiling DeviceInput InputEventCode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/56] Compiling DeviceInput InputEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/56] Compiling DeviceInput InputDevice.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/56] Emitting module DeviceInput
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 FileHandle+Grab.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/34] Emitting module SystemPackage
[5/38] Compiling SystemPackage IORing.swift
[6/38] Compiling SystemPackage RawIORequest.swift
[7/38] Compiling SystemPackage Backcompat.swift
[8/38] Compiling SystemPackage CInterop.swift
[9/38] Compiling SystemPackage FilePathSyntax.swift
[10/38] Compiling SystemPackage FilePathTemp.swift
[11/38] Compiling SystemPackage FilePathTempPosix.swift
[12/38] Compiling SystemPackage FilePathTempWindows.swift
[13/38] Compiling SystemPackage FilePathWindows.swift
[14/38] Compiling SystemPackage FilePermissions.swift
[15/38] Compiling SystemPackage IOCompletion.swift
[16/38] Compiling SystemPackage IORequest.swift
[17/38] Compiling SystemPackage Constants.swift
[18/38] Compiling SystemPackage Exports.swift
[19/38] Compiling SystemPackage Mocking.swift
[20/38] Compiling SystemPackage RawBuffer.swift
[21/38] Compiling SystemPackage Errno.swift
[22/38] Compiling SystemPackage ErrnoWindows.swift
[23/38] Compiling SystemPackage FileDescriptor.swift
[24/38] Compiling SystemPackage FileHelpers.swift
[25/38] Compiling SystemPackage FileOperations.swift
[26/38] Compiling SystemPackage Syscalls.swift
[27/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[28/38] Compiling SystemPackage MachPort.swift
[29/38] Compiling SystemPackage PlatformString.swift
[30/38] Compiling SystemPackage FilePath.swift
[31/38] Compiling SystemPackage FilePathComponentView.swift
[32/38] Compiling SystemPackage FilePathComponents.swift
[33/38] Compiling SystemPackage FilePathParsing.swift
[34/38] Compiling SystemPackage FilePathString.swift
[35/38] Compiling SystemPackage SystemString.swift
[36/38] Compiling SystemPackage Util+StringArray.swift
[37/38] Compiling SystemPackage Util.swift
[38/38] Compiling SystemPackage UtilConsumers.swift
[40/42] Emitting module FileStreamer
[41/42] Compiling FileStreamer AnyAsyncStream.swift
[42/42] Compiling FileStreamer FileStream.swift
[44/50] Compiling DeviceInput InputEventKind.swift
[45/50] Compiling DeviceInput InputEventValue.swift
[46/50] Compiling DeviceInput InputEventCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/50] 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 |
[48/50] Compiling DeviceInput InputEvent.swift
[49/50] Compiling DeviceInput InputDevice.swift
[50/50] 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 |
BUILD FAILURE 6.1 android