https://linen.dev logo
Error running `cargo shuttle deploy`, `cargo shutt...
# help
c
I have built a very simple Discord bot (https://github.com/casperstorm/discord-bot-einar) which works fine when running
cargo shuttle run
however running
cargo shuttle deploy
i get the following error:
Copy code
2022-10-21T20:17:59.209675240Z DEBUG error[E0514]: found crate `hashbrown` compiled by an incompatible version of rustc
 --> /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/dashmap-5.4.0/src/iter.rs:9:5
  |
9 | use hashbrown::hash_map;
  |     ^^^^^^^^^
  |
  = help: please recompile that crate using this compiler (rustc 1.59.0 (9d1b2106e 2022-02-23)) (consider running `cargo clean` first)
  = note: the following crate versions were found:
          crate `hashbrown` compiled by rustc 1.63.0 (4b91a6ea7 2022-08-08): /opt/shuttle/shuttle-builds/discord-bot-einar/target/release/deps/libhashbrown-d7a69d1f2379b8ae.rmeta
I've tried a bunch of things, but at this point I have no more ideas left. Any advice?
k
Correct, unfortunately this error occurs when the
cache
feature for serenity is enabled. We have looked into this, but we haven't been able to resolve it yet
c
Alrite thanks.