https://linen.dev logo
Error when deploying because of Rust version misma...
# help
l
I'm getting this error when trying to deploy:
Copy code
ERROR {error="Build error: package `sea-orm v0.10.4` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0"} shuttle_deployer::deployment::queue: service build encountered an error
Running
rustc --version
gives me`1.65.0` and I can build and run locally so the local project is using
1.65.0
. How can I tell shuttle to use
1.65.0
instead of
1.63.0
when deploying? Thanks!
k
Hey dp! You can't do that, since we pin the rust version to 1.63 in our containers. I can't give you an exact time for this, but I am working on upgrading currently. Is it possible for you to use an older version of sea-orm in the meantime that is compatible with 1.63? Version 0.10.1 or lower should work.
l
Thanks for the reply! I can look into using a lower version of sea-orm for right now. And I know you mentioned you don't know an exact time but do you have a guess on magnitude? Days, weeks, or months? Thanks!
k
Should be weeks 🤞
l
Awesome, thank you!