sccache: Version 0.5.1 cannot be compiled
cargo install sccache
=>
[blah]
Compiling sccache v0.5.1
error[E0277]: the trait bound `TaskClusterTokenLoader: reqsign::google::token::TokenLoad` is not satisfied
--> /home/alexey/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sccache-0.5.1/src/cache/gcs.rs:69:43
|
69 | builder.customed_token_loader(Box::new(TaskClusterTokenLoader {
| ___________________________________________^
70 | | scope: rw_mode.to_scope().to_string(),
71 | | url: cred_url.to_string(),
72 | | }));
| |______________^ the trait `reqsign::google::token::TokenLoad` is not implemented for `TaskClusterTokenLoader`
|
= note: required for the cast from `Box<TaskClusterTokenLoader>` to `Box<(dyn reqsign::google::token::TokenLoad + 'static)>`
For more information about this error, try `rustc --explain E0277`.
error: could not compile `sccache` (lib) due to previous error
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 5
- Comments: 18 (2 by maintainers)
Commits related to this issue
- README: Add --locked to the cargo install For #1786 — committed to mozilla/sccache by sylvestre a year ago
- README: Add --locked to the cargo install For #1786 — committed to mozilla/sccache by sylvestre a year ago
- use --locked argument with `cargo install` https://github.com/mozilla/sccache/issues/1786 — committed to Be-ing/cxx-qt by Be-ing a year ago
- use --locked argument with `cargo install` https://github.com/mozilla/sccache/issues/1786 — committed to KDAB/cxx-qt by Be-ing a year ago
This seems to be caused by a bad version of
opendal
: https://github.com/apache/incubator-opendal/issues/2403 They bumped the publicreqsign
dependency, without doing a major version bump themselves.try “cargo install sccache --locked”