Closed
Description
thread 'rustc' panicked at 'failed to open bitcode file `/Users/xavier/Documents/program/darwinia-network/common/target/debug/wbuild/target/wasm32-unknown-unknown/release/incremental/darwinia_eth_relay-14z60xegabart/s-fn86imq5gn-oskx2p-working/2kbbxxydsp0pt75g.pre-lto.bc`: No such file or directory (os error 2)', /rustc/a08c47310c7d49cbdc5d7afb38408ba519967ecd/src/libstd/macros.rs:16:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.45.0-nightly (a08c47310 2020-05-07) running on x86_64-apple-darwin
note: compiler flags: -C opt-level=3 -C panic=abort -C linker-plugin-lto -C incremental -C link-arg=--export-table -C link-arg=--export=__heap_base -C link-arg=--import-memory --crate-type lib
note: some of the compiler flags provided by cargo are hidden
error: could not compile `darwinia-eth-relay`.
To learn more, run the command again with --verbose.
First compile is ok, after I modify some contents. It failed. I've to cargo clean
. Then works.
Metadata
Metadata
Assignees
Labels
Area: Incremental compilationCategory: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Relevant to the compiler team, which will review and decide on the PR/issue.