[cli] fix bugs in the template

10 jobs for 224 in 1 minute and 13 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Check Workspace
failed #267455
linux-docker
cargo-build-nf

00:00:28

failed #267449
linux-docker
cargo-check-af

00:00:42

failed #267450
linux-docker
cargo-check-nf

00:00:42

failed #267452
linux-docker
cargo-clippy-af

00:00:41

failed #267453
linux-docker
cargo-clippy-nf

00:00:41

failed #267451
linux-docker
cargo-fmt

00:00:49

failed #267454
linux-docker
cargo-test-af

00:00:29

 
  Examples
skipped #267458
linux-docker
examples-abi
skipped #267457
linux-docker
examples-test
skipped #267456
linux-docker
examples-wasm
 
Name Stage Failure
failed
cargo-test-af Check Workspace
No job log
failed
cargo-build-nf Check Workspace
No job log
failed
cargo-fmt Check Workspace
No job log
failed
cargo-check-nf Check Workspace
No job log
failed
cargo-check-af Check Workspace
No job log
failed
cargo-clippy-af Check Workspace
No job log
failed
cargo-clippy-nf Check Workspace
No job log