using dev-lang/rust-1.32.0 I get error[E0407]: method `source` is not a member of trait `error::Error` --> src/bindgen/cargo/cargo_expand.rs:49:5 --> src/bindgen/cargo/cargo_metadata.rs:119:5 --> src/bindgen/cargo/cargo_toml.rs:44:5 --> src/bindgen/error.rs:78:5 and error[E0599]: no method named `trim_start_matches` found for type `&str` in the current scope --> src/bindgen/utilities.rs:270:34 when executing cargo build -j $(makeopts_jobs) $(usex debug "" --release) "$@" || die "cargo build failed" dev-util/cbindgen-0.6.7 works fine. do I need newer rust version? anyway, just mask dev-util/cbindgen-0.7.1 with ** I guess...
Have you selected the latest rust with 'eselect rust'? It sounds like an old version.. See also bug 676914
sorry I didn't think of checking that. in my case I did not notice that I also have dev-lang/rust-bin-1.29.1-r1 installed and just assumed that with rust-1.32.0 being the only version I have, eselect would use the right version. thanks for clearing that up -- guess emerge --depclean will clear that up then. still it's strange that some package installed in 2018-12-28 would drag in rust-bin instead of using the already installed rust...
*** This bug has been marked as a duplicate of bug 676914 ***