improve some diagnostics for ink! lang (#225)

* [cli] fix bugs in the template

* [lang2/macro] improve some diagnostics for #[ink(constructor|message)]

* [lang2/macro] add a decent ton of new failure tests
10 jobs for master in 27 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Check Workspace
failed #268332
linux-docker
cargo-build-nf

00:00:19

failed #268326
linux-docker
cargo-check-af

00:00:19

failed #268327
linux-docker
cargo-check-nf

00:00:18

failed #268329
linux-docker
cargo-clippy-af

00:00:18

failed #268330
linux-docker
cargo-clippy-nf

00:00:20

failed #268328
linux-docker
cargo-fmt

00:00:26

failed #268331
linux-docker
cargo-test-af

00:00:19

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