error-stack: error building service with error-stack dependency #1512
-
|
Hi, I'm trying to use error-stack in a Shuttle app. Could someone point me in the right direction in regards to the issue below? This might be a build environment misconfigurtion on the shuttle side, but maybe someone here is familiar with the error and able to quickly point out what to look into. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi! You're encountering this error because you currently have a Tip: You can pin the version of your binary/library by including a [toolchain]
channel = "1.63"
components = ["clippy", "rustfmt"]This will ensure that |
Beta Was this translation helpful? Give feedback.
Hi! You're encountering this error because you currently have a☺️
target/folder with packages compiled fornightly-2022-11-01instead of1.63. This might be because your default toolchain isnightly, while shuttle expects1.63. You should be able to fix this by simply runningcargo cleanbefore deploying via shuttleTip: You can pin the version of your binary/library by including a
rust-toolchain.tomlwith the following contents:This will ensure that
cargocommands will (regardless of the default system toolchain) run on1.63, and you won't get that error again in the future.