Closed liftoff closed 7 years ago
Definitely a version mismatch, what versions of xcb are in your Cargo.lock
?
[[package]]
name = "xcb"
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
In case it helps:
rustc --version
rustc 1.14.0-nightly (16eeeac78 2016-10-18)
What's the entry for xcb_util
instead?
[[package]]
name = "xcb-util"
version = "0.1.6"
dependencies = [
"libc 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
"xcb 0.7.5 (registry+https://github.com/rust-lang/crates.io-index)",
]
Nevermind... I was able to fix it by removing the "source" line from Cargo.toml (I was using a local copy of the Github code). Apparently Github version of rust-xcb does not work with Github version of rust-xcb-util
Not sure if this is a version mismatch or what but trying to use rust-xcb-util is resulting in the following error:
Am I doing something wrong?