-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
C-bugCategory: bugCategory: bugO-macosOS: macOSOS: macOSS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Description
Problem
cargo build intermittently fails for a project or its dependencies and subsequent re-builds succeed. For example, bitfield doesn't have dependencies but this problem is observed for the project itself:
ash@cube ~/git/rust-bitfield % cargo build
Compiling bitfield v0.13.2 (/Users/ash/git/rust-bitfield)
error: could not compile `bitfield`
Caused by:
process didn't exit successfully: `rustc --crate-name bitfield src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=c7b624d34760ee7b -C extra-filename=-c7b624d34760ee7b --out-dir /Users/ash/git/rust-bitfield/target/debug/deps -C incremental=/Users/ash/git/rust-bitfield/target/debug/incremental -L dependency=/Users/ash/git/rust-bitfield/target/debug/deps` (signal: 6, SIGABRT: process abort signal)
ash@cube ~/git/rust-bitfield % cargo build
Compiling bitfield v0.13.2 (/Users/ash/git/rust-bitfield)
Finished dev [unoptimized + debuginfo] target(s) in 0.18sSubsequent rebuilds sometimes don't help and some project continue failing.
Steps
- Try to build a cargo project
Possible Solution(s)
No response
Notes
This problem is observed on:
macOs Monterey
Version 12.0.1
Version
cargo 1.55.0
release: 1.55.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bugO-macosOS: macOSOS: macOSS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.Status: Needs more info, such as a reproduction or more background for a feature request.
Type
Fields
Give feedbackNo fields configured for issues without a type.