Error with building contract with hash brown

Using a MacBook m1 PRO with a fresh installation of cargo and cargo concordium and get this error when building the PiggyBank template contract

Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0463, E0531.
error: could not compile `hashbrown` due to 711 previous errors
Error: Could not build smart contract.

Anyone faced similar issues or knows the solution?

I think this error is a red-herring, and the 711 previous errors is where the issue is.

Did you install the wasm32-unknown-unknown target using rustup? Are you building with cargo-concordium?

Thank you turns out due to the new installation forgot to install wasm32-unknown-unknown