Cargo.lock currently contains reference to proc-macro2 1.0.59, which can't be compiled on newer Rust - rust-lang/rust#113152, dtolnay/proc-macro2#391. As consequence, it's impossible to use cargo install create-tauri-app --locked.
Initially found on URLO.