Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure MacOS Monterey 12.4 #43

Open
Bubobubobubobubo opened this issue Jul 1, 2022 · 1 comment
Open

Build failure MacOS Monterey 12.4 #43

Bubobubobubobubo opened this issue Jul 1, 2022 · 1 comment

Comments

@Bubobubobubobubo
Copy link

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.

@tloureiro
Copy link

running the installation on an older commit worked for me:
cargo install --git https://github.com/lpil/sonic-pi-tool/ --rev=3f1b64e9f08d6a55fbd9c94e6f5464452f0f1154 --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants