https://linen.dev logo
Run local works, but unable to deploy due to... un...
# help
g
I'm getting the following error when deploying:
Copy code
2023-01-07T23:57:25.797435170Z  INFO    Compiling pipe v0.4.0
2023-01-07T23:57:25.843008215Z  INFO    Compiling chrono v0.4.23
2023-01-07T23:57:27.242753165Z  INFO    Compiling crypto-common v0.1.6
2023-01-07T23:57:27.446093729Z  INFO    Compiling rand_chacha v0.3.1
2023-01-07T23:57:27.480138328Z  INFO    Compiling ff v0.12.1
2023-01-07T23:57:27.542543881Z  INFO error: unknown `--json` option `future-incompat`
2023-01-07T23:57:27.542624002Z  INFO 
2023-01-07T23:57:27.561748859Z  INFO error: could not compile `ff`
2023-01-07T23:57:27.569092395Z  INFO warning: build failed, waiting for other jobs to finish...

Deployment crashed
Run the following for more details

cargo shuttle logs a8bce788-7bc0-4068-9bfe-6d127cc48c0a
This started occurring when I updated rusty_paseto to 0.5.0. I've rolled back to 0.4.0 and it works again. Any ideas why the deploy fails even when a local run works fine?
k
I have seen this once before, and while I'm not certain, I believe it was related to a rust toolchain override. Maybe rusty_paseto added a new depedency that has an override? If this is the cause, it should be resolved in our next release. We then set an override in the containers that trumps the
rustup-toolchain.toml
overrides.
g
Fantastic, my Googling came up with something similar. Though I can't claim to have fully understood what was being discussed. I can live with this until then - I just need to reign in dependabot for a bit 🙂
@kind-area-3810 do you have anything in your issue tracker that I can monitor for this?
k
We have actually merged a PR and closed the issue already, but we haven't released it yet. So you could just look out for the next release, which should be this week.
g
Whoop! Thank you.
Do you have a version number for the release?
k
Yes, it will be v0.9.0 🙂
m
Hello, I have that exact same error, is there a workaround?
Oh I see the 0.9.0 is not out yet
Is there an ETA for 0.9.0? Thanks