Skip to content

Specify cargo-chef version to be compatible with rust 1.71

Anthony GRAIGNIC requested to merge fix-ci-build into dev

Fix error in https://gitlab.limos.fr/ecomobicoin/truite/-/jobs/11881

 > [chef 3/3] RUN cargo install cargo-chef:
3.079   Downloaded regex v1.10.3
3.112   Downloaded regex-syntax v0.8.2
3.132   Downloaded bstr v1.9.0
3.156   Downloaded regex-automata v0.4.5
3.196   Downloaded libc v0.2.153
3.323 error: failed to compile `cargo-chef v0.1.63`, intermediate artifacts can be found at `/tmp/cargo-install2M9xib`
3.323 
3.323 Caused by:
3.323   package `clap v4.5.1` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.71.0
3.323   Try re-running cargo install with `--locked`
Edited by Anthony GRAIGNIC

Merge request reports

Loading