Skip to content

Internal compiler error running ./src/ci/docker/run.sh #46781

Closed
@ScottAbbey

Description

@ScottAbbey

I was attempting to run the ci/docker build.

I set up a machine with Ubuntu 14.04, installed docker and assorted build tools, cloned rust-lang/rust (master -> 3537658), and ran:

./src/ci/docker/run.sh dist-x86_64-linux

The build ran for some time then failed with the following internal compiler error.

Note that I originally had run this yesterday for dist-x86_64-freebsd and had the same or a very similar error that I did not save because I assumed I had done something wrong. I just tried a different one today.

I'm still not sure I'm doing this right so if I am just taking the wrong steps to run this let me know. There is a considerable amount of additional log material I am leaving out that occurs before this point.


error: internal compiler error: /checkout/src/librustc/ty/context.rs:249: node unknown node (id=1) with HirId::owner DefId(0/0:0 ~ core[2633]) cannot be placed in TypeckTables with local_id_root DefId(0/0:1631 ~ core[2633]::panicking[0]::panic_fmt[0])

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.24.0-dev running on x86_64-unknown-linux-gnu

thread 'rustc' panicked at 'Box<Any>', /checkout/src/librustc_errors/lib.rs:502:8
note: Run with `RUST_BACKTRACE=1` for a backtrace.

error: Could not compile `core`.

Caused by:
  process didn't exit successfully: `/checkout/obj/build/bootstrap/debug/rustc --crate-name core /checkout/src/libcore/lib.rs --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 -C metadata=c80c8268f013635d -C extra-filename=-c80c8268f013635d --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/release/deps` (exit code: 101)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions