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 7.3.0 (a253e1), with Swift 6.1 for Android on 31 May 2025 03:55:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sersoft-gmbh/device-input.git
Reference: 7.3.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               7.3.0      -> FETCH_HEAD
HEAD is now at a253e1e Add Swift 6.1 support, drop Swift 5.9 support, update config files
Cloned https://github.com/sersoft-gmbh/device-input.git
Revision (git rev-parse @):
a253e1eebd613ffbb4dd9f97db6ff8f0dff87bf7
SUCCESS checkout https://github.com/sersoft-gmbh/device-input.git at 7.3.0
========================================
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
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    },
    {
      "identity" : "swift-filestreamer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "0.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sersoft-gmbh/swift-filestreamer"
    }
  ],
  "manifest_display_name" : "device-input",
  "name" : "device-input",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "DeviceInput",
      "targets" : [
        "DeviceInput"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeviceInputTests",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInputTests",
      "path" : "Tests/DeviceInputTests",
      "product_dependencies" : [
        "SystemPackage",
        "FileStreamer"
      ],
      "sources" : [
        "InputDeviceTests.swift"
      ],
      "target_dependencies" : [
        "CInput",
        "DeviceInput"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeviceInput",
      "module_type" : "SwiftTarget",
      "name" : "DeviceInput",
      "path" : "Sources/DeviceInput",
      "product_dependencies" : [
        "SystemPackage",
        "FileStreamer"
      ],
      "product_memberships" : [
        "DeviceInput"
      ],
      "sources" : [
        "FileHandle+Grab.swift",
        "InputDevice.swift",
        "InputEvent.swift",
        "InputEventCode.swift",
        "InputEventKind.swift",
        "InputEventValue.swift"
      ],
      "target_dependencies" : [
        "CInput"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CInput",
      "module_type" : "ClangTarget",
      "name" : "CInput",
      "path" : "Sources/CInput",
      "product_memberships" : [
        "DeviceInput"
      ],
      "sources" : [
        "grabdevice.c",
        "input.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-system
[1/1661] Fetching swift-filestreamer
[251/3710] Fetching swift-filestreamer, swift-docc-plugin
[1908/8101] Fetching swift-filestreamer, swift-docc-plugin, swift-system
Fetched https://github.com/sersoft-gmbh/swift-filestreamer from cache (0.52s)
Fetched https://github.com/apple/swift-system from cache (0.52s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.52s)
Computing version for https://github.com/sersoft-gmbh/swift-filestreamer
Computed https://github.com/sersoft-gmbh/swift-filestreamer at 0.10.0 (1.28s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.45s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.90s)
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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.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.10.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 CSystem shims.c
[7/9] Write swift-version-24593BA9C3E375BF.txt
[7/9] Compiling CInput grabdevice.c
[10/37] Emitting module SystemPackage
[11/40] Compiling SystemPackage FileOperations.swift
[12/40] Compiling SystemPackage FilePath.swift
[13/40] Compiling SystemPackage FilePathComponentView.swift
[14/40] Compiling SystemPackage FilePathComponents.swift
[15/40] Compiling SystemPackage Errno.swift
[16/40] Compiling SystemPackage ErrnoWindows.swift
[17/40] Compiling SystemPackage FileDescriptor.swift
[18/40] Compiling SystemPackage FileHelpers.swift
[19/40] Compiling SystemPackage Util+StringArray.swift
[20/40] Compiling SystemPackage Util.swift
[21/40] Compiling SystemPackage UtilConsumers.swift
[22/40] Compiling SystemPackage MachPort.swift
[23/40] Compiling SystemPackage PlatformString.swift
[24/40] Compiling SystemPackage SystemString.swift
[25/40] Compiling SystemPackage FilePathParsing.swift
[26/40] Compiling SystemPackage FilePathString.swift
[27/40] Compiling SystemPackage FilePathSyntax.swift
[28/40] Compiling SystemPackage FilePathTemp.swift
[29/40] Compiling SystemPackage Mocking.swift
[30/40] Compiling SystemPackage RawBuffer.swift
[31/40] Compiling SystemPackage Syscalls.swift
[32/40] Compiling SystemPackage WindowsSyscallAdapters.swift
[33/40] Compiling SystemPackage Backcompat.swift
[34/40] Compiling SystemPackage CInterop.swift
[35/40] Compiling SystemPackage Constants.swift
[36/40] Compiling SystemPackage Exports.swift
[37/40] Compiling SystemPackage FilePathTempPosix.swift
[38/40] Compiling SystemPackage FilePathTempWindows.swift
[39/40] Compiling SystemPackage FilePathWindows.swift
[40/40] Compiling SystemPackage FilePermissions.swift
[42/43] Emitting module FileStreamer
[43/43] Compiling FileStreamer FileStream.swift
[45/51] Compiling DeviceInput InputEventValue.swift
[46/51] Compiling DeviceInput InputEventKind.swift
[47/51] Compiling DeviceInput InputEventCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/51] Compiling DeviceInput InputEvent.swift
[49/51] Compiling DeviceInput InputDevice.swift
[50/51] 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/51] 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/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/31] Emitting module SystemPackage
[5/34] Compiling SystemPackage FilePathTempPosix.swift
[6/34] Compiling SystemPackage FilePathTempWindows.swift
[7/34] Compiling SystemPackage FilePathWindows.swift
[8/34] Compiling SystemPackage FilePermissions.swift
[9/34] Compiling SystemPackage MachPort.swift
[10/34] Compiling SystemPackage PlatformString.swift
[11/34] Compiling SystemPackage SystemString.swift
[12/34] Compiling SystemPackage Mocking.swift
[13/34] Compiling SystemPackage RawBuffer.swift
[14/34] Compiling SystemPackage Syscalls.swift
[15/34] Compiling SystemPackage WindowsSyscallAdapters.swift
[16/34] Compiling SystemPackage Backcompat.swift
[17/34] Compiling SystemPackage CInterop.swift
[18/34] Compiling SystemPackage Constants.swift
[19/34] Compiling SystemPackage Exports.swift
[20/34] Compiling SystemPackage Errno.swift
[21/34] Compiling SystemPackage ErrnoWindows.swift
[22/34] Compiling SystemPackage FileDescriptor.swift
[23/34] Compiling SystemPackage FileHelpers.swift
[24/34] Compiling SystemPackage FileOperations.swift
[25/34] Compiling SystemPackage FilePath.swift
[26/34] Compiling SystemPackage FilePathComponentView.swift
[27/34] Compiling SystemPackage FilePathComponents.swift
[28/34] Compiling SystemPackage FilePathParsing.swift
[29/34] Compiling SystemPackage FilePathString.swift
[30/34] Compiling SystemPackage FilePathSyntax.swift
[31/34] Compiling SystemPackage FilePathTemp.swift
[32/34] Compiling SystemPackage Util+StringArray.swift
[33/34] Compiling SystemPackage Util.swift
[34/34] Compiling SystemPackage UtilConsumers.swift
[36/37] Emitting module FileStreamer
[37/37] Compiling FileStreamer FileStream.swift
[39/45] Compiling DeviceInput InputEventKind.swift
[40/45] Compiling DeviceInput InputEventValue.swift
[41/45] Compiling DeviceInput InputEvent.swift
[42/45] Compiling DeviceInput InputEventCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/45] Compiling DeviceInput InputDevice.swift
[44/45] 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 |
[45/45] 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