The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DBus, reference main (9b17cc), with Swift 6.1 for Android on 29 May 2025 19:35:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.63.1
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.1
Building package at path:  $PWD
https://github.com/suransea/dbus-swift.git
https://github.com/suransea/dbus-swift.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"
    }
  ],
  "manifest_display_name" : "DBus",
  "name" : "DBus",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DBus",
      "targets" : [
        "DBus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CDBus",
      "targets" : [
        "CDBus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DBusTests",
      "module_type" : "SwiftTarget",
      "name" : "DBusTests",
      "path" : "Tests/DBusTests",
      "sources" : [
        "DBusTests.swift"
      ],
      "target_dependencies" : [
        "DBus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DBus",
      "module_type" : "SwiftTarget",
      "name" : "DBus",
      "path" : "Sources/DBus",
      "product_memberships" : [
        "DBus"
      ],
      "sources" : [
        "Argument.swift",
        "Bus.swift",
        "Connection.swift",
        "Dispatch.swift",
        "Error.swift",
        "Interface.swift",
        "MatchRule.swift",
        "Member.swift",
        "Message.swift",
        "ObjectPath.swift",
        "PendingCall.swift",
        "Proxy.swift",
        "Timeout.swift",
        "Watch.swift"
      ],
      "target_dependencies" : [
        "CDBus"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CDBusVendored",
      "module_type" : "ClangTarget",
      "name" : "CDBusVendored",
      "path" : "Sources/CDBusVendored",
      "product_memberships" : [
        "DBus",
        "CDBus"
      ],
      "sources" : [
        "dbus/dbus/dbus-address.c",
        "dbus/dbus/dbus-asv-util.c",
        "dbus/dbus/dbus-auth.c",
        "dbus/dbus/dbus-bus.c",
        "dbus/dbus/dbus-connection.c",
        "dbus/dbus/dbus-credentials.c",
        "dbus/dbus/dbus-dataslot.c",
        "dbus/dbus/dbus-errors.c",
        "dbus/dbus/dbus-file-unix.c",
        "dbus/dbus/dbus-file.c",
        "dbus/dbus/dbus-hash.c",
        "dbus/dbus/dbus-internals.c",
        "dbus/dbus/dbus-keyring.c",
        "dbus/dbus/dbus-list.c",
        "dbus/dbus/dbus-mainloop.c",
        "dbus/dbus/dbus-marshal-basic.c",
        "dbus/dbus/dbus-marshal-byteswap.c",
        "dbus/dbus/dbus-marshal-header.c",
        "dbus/dbus/dbus-marshal-recursive.c",
        "dbus/dbus/dbus-marshal-validate.c",
        "dbus/dbus/dbus-memory.c",
        "dbus/dbus/dbus-mempool.c",
        "dbus/dbus/dbus-message-util.c",
        "dbus/dbus/dbus-message.c",
        "dbus/dbus/dbus-misc.c",
        "dbus/dbus/dbus-nonce.c",
        "dbus/dbus/dbus-object-tree.c",
        "dbus/dbus/dbus-pending-call.c",
        "dbus/dbus/dbus-pipe-unix.c",
        "dbus/dbus/dbus-pipe.c",
        "dbus/dbus/dbus-pollable-set-epoll.c",
        "dbus/dbus/dbus-pollable-set-poll.c",
        "dbus/dbus/dbus-pollable-set.c",
        "dbus/dbus/dbus-resources.c",
        "dbus/dbus/dbus-server-debug-pipe.c",
        "dbus/dbus/dbus-server-socket.c",
        "dbus/dbus/dbus-server-unix.c",
        "dbus/dbus/dbus-server.c",
        "dbus/dbus/dbus-sha.c",
        "dbus/dbus/dbus-shell.c",
        "dbus/dbus/dbus-signature.c",
        "dbus/dbus/dbus-string-util.c",
        "dbus/dbus/dbus-string.c",
        "dbus/dbus/dbus-syntax.c",
        "dbus/dbus/dbus-sysdeps-pthread.c",
        "dbus/dbus/dbus-sysdeps-unix.c",
        "dbus/dbus/dbus-sysdeps-util-unix.c",
        "dbus/dbus/dbus-sysdeps-util.c",
        "dbus/dbus/dbus-sysdeps.c",
        "dbus/dbus/dbus-threads.c",
        "dbus/dbus/dbus-timeout.c",
        "dbus/dbus/dbus-transport-socket.c",
        "dbus/dbus/dbus-transport-unix.c",
        "dbus/dbus/dbus-transport.c",
        "dbus/dbus/dbus-userdb-util.c",
        "dbus/dbus/dbus-userdb.c",
        "dbus/dbus/dbus-uuidgen.c",
        "dbus/dbus/dbus-watch.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CDBusSystem",
      "module_type" : "SystemLibraryTarget",
      "name" : "CDBusSystem",
      "path" : "Sources/CDBusSystem",
      "product_memberships" : [
        "DBus",
        "CDBus"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "CDBus",
      "module_type" : "SwiftTarget",
      "name" : "CDBus",
      "path" : "Sources/CDBus",
      "product_memberships" : [
        "DBus",
        "CDBus"
      ],
      "sources" : [
        "CDBus.swift"
      ],
      "target_dependencies" : [
        "CDBusVendored",
        "CDBusSystem"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (2.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (5.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.83s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.95s)
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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] Write sources
[3/63] Compiling dbus-uuidgen.c
/host/spi-builder-workspace/Sources/CDBusVendored/dbus/dbus/dbus-userdb.c:37:2: error: "This file only makes sense on Unix OSs"
   37 | #error "This file only makes sense on Unix OSs"
      |  ^
1 error generated.
[4/63] Compiling dbus-userdb.c
[4/63] Compiling dbus-transport-socket.c
[4/63] Compiling dbus-userdb-util.c
[4/63] Compiling dbus-watch.c
[4/63] Compiling dbus-timeout.c
[4/63] Compiling dbus-transport-unix.c
[4/63] Compiling dbus-transport.c
[4/63] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/61] Write sources
/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.
[3/61] Compiling dbus-watch.c
[3/61] Compiling dbus-transport.c
[3/61] Compiling dbus-transport-unix.c
[3/61] Compiling dbus-userdb-util.c
[3/61] Compiling dbus-transport-socket.c
[3/61] Compiling dbus-timeout.c
/host/spi-builder-workspace/Sources/CDBusVendored/dbus/dbus/dbus-userdb.c:37:2: error: "This file only makes sense on Unix OSs"
   37 | #error "This file only makes sense on Unix OSs"
      |  ^
1 error generated.
[3/61] Compiling dbus-userdb.c
[3/61] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android