The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DBus, reference main (9b17cc), with Swift 6.2 for Android on 22 Jun 2025 06:44:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/suransea/dbus-swift.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/suransea/dbus-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9b17cce Add match rule automatically for signals
Submodule path 'Sources/CDBusVendored/dbus': checked out 'fa05c11a0047f2927e76d08f9fcf6638ded7ff50'
Submodule 'Sources/CDBusVendored/dbus' (https://gitlab.freedesktop.org/dbus/dbus.git) registered for path 'Sources/CDBusVendored/dbus'
Cloning into '/host/spi-builder-workspace/Sources/CDBusVendored/dbus'...
Cloned https://github.com/suransea/dbus-swift.git
Revision (git rev-parse @):
9b17cce66bd67a75a88e5f609bd227dc5069cbb1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/suransea/dbus-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/suransea/dbus-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (3.35s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
warning: you may be able to install dbus-1 using your system-packager:
    apt-get install libdbus-1-dev
warning: you may be able to install dbus-1 using your system-packager:
    apt-get install libdbus-1-dev
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/63] Compiling dbus-file.c
[3/63] Compiling dbus-errors.c
[4/63] Write sources
[5/63] Compiling dbus-dataslot.c
[6/63] Compiling dbus-file-unix.c
[7/63] Compiling dbus-bus.c
[8/63] Compiling dbus-credentials.c
/host/spi-builder-workspace/Sources/CDBusVendored/dbus/dbus/dbus-watch.c:600:32: error: passing 'DBusPollable' (aka 'int') to parameter of incompatible type 'DBusSocket'
  600 |   return _dbus_socket_get_int (watch->fd);
      |                                ^~~~~~~~~
/host/spi-builder-workspace/Sources/CDBusVendored/dbus/dbus/dbus-sysdeps.h:198:34: note: passing argument to parameter 's' here
  198 | _dbus_socket_get_int (DBusSocket s) { return s.fd; }
      |                                  ^
/host/spi-builder-workspace/Sources/CDBusVendored/dbus/dbus/dbus-watch.c:614:5: error: assigning to 'DBusSocket' from incompatible type 'DBusPollable' (aka 'int')
  614 |   s = watch->fd;
      |     ^ ~~~~~~~~~
2 errors generated.
[9/63] Compiling dbus-watch.c
[9/63] Compiling dbus-transport.c
[9/63] Compiling dbus-connection.c
[9/63] Compiling dbus-uuidgen.c
[9/63] Compiling dbus-userdb.c
[9/63] Compiling dbus-auth.c
[9/63] Compiling dbus-userdb-util.c
[9/63] Write swift-version-8C5A4AE7A8CE2BA.txt
BUILD FAILURE 6.2 android