failed to calculate checksum of ref moby, docker error when building rust project
hi
deployment fails for a Rust project of mine with the following error:
14 Replies
Project ID:
91f2781d-e68a-49b0-b238-f9c31ede5b1e
project ID: 91f2781d-e68a-49b0-b238-f9c31ede5b1e
are you using your own dockerfile?
no @Brody I just setup the build and run commands to use cargo
nixpacks should be able work work that stuff out itself, try again but remove any build or start commands you have set yourself
hmmm okay, let me try again, thanks. i thought i had to setup those if it wasn't the default it shows (as yarn run dev for example)
what where the default build and start commands? (as listed in the build plan table at the top of the build)
those were the ones I set up manually (cargo build --release and cargo run --release)
after your suggestion of just removing those, build worked and the project started to run but it had these printed out in the deploy logs
Error: VersionMismatch(1684451354)
And then it crashedthat would be an issue with your app, I don't know what would cause that though
doesn't seem to be an app output though, would nix related logs also be output there?
is that log under the deploy tab?
yes
then that would be an output from your app, or whatever the start command ran, nixpacks stuff is done during build
ohhhh okay, thank you so much @Brody
I got it to build thanks to you