sonic-pi-tool
sonic-pi-tool copied to clipboard
Build failure MacOS Monterey 12.4
Hi,
The build fails on my OS. Cargo 1.56.0, rustc 1.56.1. Here are some logs:
error[E0282]: type annotations needed
--> src/lib.rs:111:13
|
111 | execv(cmd, &[]).unwrap_or_else(|_| panic!("Unable to start {}", *p))
| ^^^^^ cannot infer type for type parameter `S` declared on the function `execv`
For more information about this error, try `rustc --explain E0282`.
error: could not compile `sonic-pi-tool` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `sonic-pi-tool v0.1.0 (https://github.com/lpil/sonic-pi-tool/#48265a12)`, intermediate artifacts can be found at `/var/folders/zq/nwpwzg_s2rq87xq7zggqfvhw0000gn/T/cargo-installtpNTv9`
Caused by:
build failed
I don't really know what can be the cause of it. I think that my rustc and cargo version are pretty standard and I very rarely use these tools.
running the installation on an older commit worked for me:
cargo install --git https://github.com/lpil/sonic-pi-tool/ --rev=3f1b64e9f08d6a55fbd9c94e6f5464452f0f1154 --force