First, update your rust implementation via:
rustup self update # to update rustup itself
rustup toolchain install stable-$CARGO_BUILD_TARGET
rustup update stable
Now, we can build the project. We offer several ways: one for CI, one for your local machine.
For the local machine, run:
cargo clean
cargo build --workspace --all-targets
cargo test
cargo fmt --all -- --check