cargo
cargo copied to clipboard
process didn't exit successfully: (signal: 9, SIGKILL: kill)
Problem

Steps
cargo install xxxx
Possible Solution(s)
No response
Notes
No response
Version
⋊> ~ cargo version --verbose 21:59:57
cargo 1.62.0 (a748cf5a3 2022-06-08)
release: 1.62.0
commit-hash: a748cf5a3e666bc2dcdf54f37adef8ef22196452
commit-date: 2022-06-08
host: x86_64-apple-darwin
libgit2: 1.4.2 (sys:0.14.2 vendored)
libcurl: 7.54.0 (sys:0.4.51+curl-7.80.0 system ssl:LibreSSL/2.6.5)
os: Mac OS 10.14.6 [64-bit]
Why do you think this is a bug with Cargo and not with quote
?
Why do you think this is a bug with Cargo and not with
quote
?

Which method did you install rust with?
SIGKILL is almost always caused by the operating system or something in the environment.
One way to diagnose is to get the logs from Console.app
. With Console.app
open and recording logs, try running cargo again, and then look through and see if there are any entries that look relevant. Typically they would be from the kernel, taskgated, syspolicyd, or something similar.
I also notice that it is reporting as running on 10.14. Can you say more about what hardware you are running on? That version is quite old, so I'm wondering if it is related.
Other information that could be helpful:
-
xcodebuild -version
-
xcode-select -p
-
clang --version
console log: nw_path_close_fd Failed to close guarded necp fd 5 [9: Bad file descriptor]
Which method did you install rust with?
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Without more information, I'm going to close since I don't think we'll be able to help.
I tested on High Sierra (10.13) with Command Line Tools 10.1 and building seems to work fine.
Console.app
is your best bet for discovering why the process is being killed.
If you have some more details to share or ways someone else can reproduce, feel free to share them here. If you are having general problems using Rust, I might suggest one of the user forums like https://users.rust-lang.org/ where people might be able to help you better.