yshui / picom-xrdesktop-companion

picom's companion program to bring your desktop to XR
21 stars 4 forks source link

Cargo cannot build; failed to select version for `gio-sys` error #9

Open DaeTheDerg opened 1 year ago

DaeTheDerg commented 1 year ago

when running cargo build --release I get this output:

warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
warning: [build directory]/Cargo.toml: unused manifest key: workspace.workspace
    Updating git repository `https://github.com/gtk-rs/gtk3-rs`
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
    Updating git repository `https://github.com/gtk-rs/gtk-rs-core`
    Skipping git submodule `https://github.com/gtk-rs/gir` due to update strategy in .gitmodules
    Skipping git submodule `https://github.com/gtk-rs/gir-files` due to update strategy in .gitmodules
    Updating crates.io index
error: failed to select a version for `gio-sys`.
    ... required by package `xrd-sys v0.15.0 ([build directory]/xrd/sys)`
    ... which satisfies path dependency `ffi` of package `xrd v0.15.0 [build directory]/xrd)`
versions that meet the requirements `*` are: 0.18.0

the package `xrd-sys` depends on `gio-sys`, with features: `dox` but `gio-sys` does not have these features.

failed to select a version for `gio-sys` which could resolve this conflict