Skip to content

thread 'rustc' panicked at 'failed to open bitcode file' #72006

Description

@acgxv
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationC-bugCategory: This is a bug.E-needs-mcveCall for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions