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

Most upvoted comments

This seems to be caused by a bad version of opendal: https://github.com/apache/incubator-opendal/issues/2403 They bumped the public reqsign dependency, without doing a major version bump themselves.

try “cargo install sccache --locked”