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 (a645ef), with Swift 6.1 for Android on 4 Aug 2025 09:34:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.65.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 a645efa Bump github.com/apple/swift-system from 1.6.1 to 1.6.2
Cloned https://github.com/sersoft-gmbh/device-input.git
Revision (git rev-parse @):
a645efab415042b096cad5900495c9676e089ed2
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
{
  "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-3":/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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/sersoft-gmbh/swift-filestreamer
Fetching https://github.com/apple/swift-system
[1/1716] Fetching swift-filestreamer
[1031/3810] Fetching swift-filestreamer, swift-docc-plugin
[1180/8641] Fetching swift-filestreamer, swift-docc-plugin, swift-system
Fetched https://github.com/apple/swift-system from cache (0.44s)
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.10.0 (1.01s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3442] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.86s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (1.08s)
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/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.6.2
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 grabdevice.c
[6/9] Compiling CSystem shims.c
[7/9] Compiling CInput input.c
[7/9] Write swift-version-24593BA9C3E375BF.txt
[10/40] Compiling SystemPackage FilePathWindows.swift
[11/40] Compiling SystemPackage FilePermissions.swift
[12/40] Compiling SystemPackage IOCompletion.swift
[13/40] Compiling SystemPackage IORequest.swift
[14/44] Emitting module SystemPackage
[15/44] Compiling SystemPackage FilePath.swift
[16/44] Compiling SystemPackage FilePathComponentView.swift
[17/44] Compiling SystemPackage FilePathComponents.swift
[18/44] Compiling SystemPackage FilePathParsing.swift
[19/44] Compiling SystemPackage FilePathString.swift
[20/44] Compiling SystemPackage FilePathSyntax.swift
[21/44] Compiling SystemPackage FilePathTemp.swift
[22/44] Compiling SystemPackage FilePathTempPosix.swift
[23/44] Compiling SystemPackage FilePathTempWindows.swift
[24/44] Compiling SystemPackage IORing.swift
[25/44] Compiling SystemPackage RawIORequest.swift
[26/44] Compiling SystemPackage Backcompat.swift
[27/44] Compiling SystemPackage CInterop.swift
[28/44] Compiling SystemPackage SystemString.swift
[29/44] Compiling SystemPackage Util+StringArray.swift
[30/44] Compiling SystemPackage Util.swift
[31/44] Compiling SystemPackage UtilConsumers.swift
[32/44] Compiling SystemPackage Syscalls.swift
[33/44] Compiling SystemPackage WindowsSyscallAdapters.swift
[34/44] Compiling SystemPackage MachPort.swift
[35/44] Compiling SystemPackage PlatformString.swift
[36/44] Compiling SystemPackage Constants.swift
[37/44] Compiling SystemPackage Exports.swift
[38/44] Compiling SystemPackage Mocking.swift
[39/44] Compiling SystemPackage RawBuffer.swift
[40/44] Compiling SystemPackage Errno.swift
[41/44] Compiling SystemPackage ErrnoWindows.swift
[42/44] Compiling SystemPackage FileDescriptor.swift
[43/44] Compiling SystemPackage FileHelpers.swift
[44/44] Compiling SystemPackage FileOperations.swift
[46/47] Compiling FileStreamer FileStream.swift
[47/47] Emitting module FileStreamer
[49/55] Compiling DeviceInput InputEventValue.swift
[50/55] Compiling DeviceInput InputEventKind.swift
[51/55] Compiling DeviceInput InputEvent.swift
[52/55] Compiling DeviceInput InputEventCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/55] Compiling DeviceInput InputDevice.swift
[54/55] 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 |
[55/55] 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-3":/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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/34] Compiling SystemPackage Constants.swift
[5/34] Compiling SystemPackage Exports.swift
[6/34] Compiling SystemPackage Mocking.swift
[7/34] Compiling SystemPackage RawBuffer.swift
[8/38] Emitting module SystemPackage
[9/38] Compiling SystemPackage FilePathWindows.swift
[10/38] Compiling SystemPackage FilePermissions.swift
[11/38] Compiling SystemPackage IOCompletion.swift
[12/38] Compiling SystemPackage IORequest.swift
[13/38] Compiling SystemPackage Errno.swift
[14/38] Compiling SystemPackage ErrnoWindows.swift
[15/38] Compiling SystemPackage FileDescriptor.swift
[16/38] Compiling SystemPackage FileHelpers.swift
[17/38] Compiling SystemPackage FileOperations.swift
[18/38] Compiling SystemPackage Syscalls.swift
[19/38] Compiling SystemPackage WindowsSyscallAdapters.swift
[20/38] Compiling SystemPackage MachPort.swift
[21/38] Compiling SystemPackage PlatformString.swift
[22/38] Compiling SystemPackage IORing.swift
[23/38] Compiling SystemPackage RawIORequest.swift
[24/38] Compiling SystemPackage Backcompat.swift
[25/38] Compiling SystemPackage CInterop.swift
[26/38] Compiling SystemPackage FilePathSyntax.swift
[27/38] Compiling SystemPackage FilePathTemp.swift
[28/38] Compiling SystemPackage FilePathTempPosix.swift
[29/38] Compiling SystemPackage FilePathTempWindows.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/41] Compiling FileStreamer FileStream.swift
[41/41] Emitting module FileStreamer
[43/49] Compiling DeviceInput InputEventValue.swift
[44/49] Compiling DeviceInput InputEventCode.swift
[45/49] Compiling DeviceInput InputEventKind.swift
[46/49] Compiling DeviceInput InputEvent.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/49] Compiling DeviceInput InputDevice.swift
[48/49] 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 |
[49/49] 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