The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MPRIS, reference 1.0.0 (d26710), with Swift 6.1 for Wasm on 29 May 2025 20:32:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/suransea/mpris-swift.git
Reference: 1.0.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/suransea/mpris-swift
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at d26710a Using Observation
Cloned https://github.com/suransea/mpris-swift.git
Revision (git rev-parse @):
d26710a311b7cafc5ea6f448de98f65d8e4badbe
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/suransea/mpris-swift.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/suransea/mpris-swift.git
https://github.com/suransea/mpris-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"
    },
    {
      "identity" : "dbus-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/suransea/dbus-swift"
    }
  ],
  "manifest_display_name" : "MPRIS",
  "name" : "MPRIS",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MPRIS",
      "targets" : [
        "MPRIS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MPRISTests",
      "module_type" : "SwiftTarget",
      "name" : "MPRISTests",
      "path" : "Tests",
      "sources" : [
        "MprisTests/MprisTests.swift"
      ],
      "target_dependencies" : [
        "MPRIS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MPRIS",
      "module_type" : "SwiftTarget",
      "name" : "MPRIS",
      "path" : "Sources/MPRIS",
      "product_dependencies" : [
        "DBus"
      ],
      "product_memberships" : [
        "MPRIS"
      ],
      "sources" : [
        "MediaPlayer.swift",
        "Player.swift",
        "Playlist.swift",
        "SessionManager.swift",
        "TrackList.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 (0.63s)
Fetching https://github.com/suransea/dbus-swift
[1/259] Fetching dbus-swift
Fetched https://github.com/suransea/dbus-swift from cache (0.42s)
Computing version for https://github.com/suransea/dbus-swift
Computed https://github.com/suransea/dbus-swift at 0.0.5 (2.04s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.54s)
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.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.74s)
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.3
Creating working copy for https://github.com/suransea/dbus-swift
Working copy of https://github.com/suransea/dbus-swift resolved at 0.0.5
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/64] Write sources
[5/64] Compiling dbus-address.c
[6/64] Compiling dbus-dataslot.c
[7/64] Compiling dbus-misc.c
[8/64] Compiling dbus-asv-util.c
[9/64] Compiling dbus-credentials.c
/host/spi-builder-workspace/.build/checkouts/dbus-swift/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.
/host/spi-builder-workspace/.build/checkouts/dbus-swift/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/.build/checkouts/dbus-swift/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/.build/checkouts/dbus-swift/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.
[10/64] Compiling dbus-watch.c
[10/64] Compiling dbus-userdb.c
[10/64] Compiling dbus-nonce.c
[10/64] Compiling dbus-uuidgen.c
[10/64] Compiling dbus-connection.c
[10/64] Compiling dbus-userdb-util.c
[10/64] Compiling dbus-transport.c
[10/64] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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...
/host/spi-builder-workspace/.build/checkouts/dbus-swift/Sources/CDBusVendored/dbus/dbus/dbus-userdb-util.c:36:2: error: "This file only makes sense on Unix OSs"
   36 | #error "This file only makes sense on Unix OSs"
      |  ^
1 error generated.
[2/56] Compiling dbus-userdb-util.c
/host/spi-builder-workspace/.build/checkouts/dbus-swift/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/.build/checkouts/dbus-swift/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/.build/checkouts/dbus-swift/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.
[2/56] Compiling dbus-watch.c
[2/56] Compiling dbus-uuidgen.c
[2/56] Compiling dbus-transport.c
[2/56] Compiling dbus-timeout.c
[2/56] Compiling dbus-userdb.c
[2/56] Compiling dbus-transport-socket.c
[2/56] Compiling dbus-transport-unix.c
BUILD FAILURE 6.1 wasm