I'm following this tutorial (yes it's way above my skill level, but I'm bored) and when I get to the step for installing xbuild, I get an error:
tre@pop-os ~/D/P/R/t_os> cargo install cargo-xbuild master?
Updating crates.io index
Installing cargo-xbuild v0.5.12
Compiling proc-macro2 v0.4.30
Compiling unicode-xid v0.1.0
Compiling ryu v1.0.0
Compiling serde v1.0.94
Compiling syn v0.15.39
Compiling libc v0.2.58
Compiling semver-parser v0.7.0
Compiling itoa v0.4.4
Compiling remove_dir_all v0.5.2
Compiling cargo-xbuild v0.5.12
Compiling same-file v0.1.3
Compiling rustc-serialize v0.3.24
Compiling error-chain v0.11.0
Compiling semver v0.1.20
Compiling error-chain v0.7.2
error: failed to run custom build command for `ryu v1.0.0`
Caused by:
process didn't exit successfully: `/tmp/cargo-installR6yzrj/release/build/ryu-1fc49495c25c7078/build-script-build` (signal: 11, SIGSEGV: invalid memory reference)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-xbuild v0.5.12`, intermediate artifacts can be found at `/tmp/cargo-installR6yzrj`
Caused by:
build failed
Sometimes it's not just the ryu package. It kind of just picks a random package and fails to build it. Syn and serde are other common packages it fails to build.
I haven't been able to find anything on Google, so I'm kind of lost.