https://linen.dev logo
rustversion error with serenity
# help
n
I used cargo shuttle init --serenity, I did as instructed, but when I use cargo shuttle run I get the following error. I checked the file path and truly no file with that name exists there, but a folder with a similar name had the file it was looking for. What should I do here? cargo file
Copy code
toml
[package]
name = "stardust"
version = "0.1.0"
edition = "2021"
publish = false

[lib]

[dependencies]
shuttle-service = { version = "0.7.2", features = ["bot-serenity"] }
anyhow = "1.0.66"
serenity = { version = "0.11.5", default-features = false, features = ["client", "gateway", "rustls_backend", "model"] }
shuttle-secrets = "0.7.2"
tracing = "0.1.37"
b
Hey @numerous-crayon-81771 👋 The issue you are experiencing might be caused by a bug in Cargo when building certain crates on Windows. We have an issue for this on GitHub with a few possible workarounds: https://github.com/shuttle-hq/shuttle/issues/258 Iirc, some other members were able to fix it by running cargo build before running/deploying it.
n
After running cargo build it seems to be running now, thanks a bunch :D
b
No worries! 😄