Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HirId-ify hir::BodyId #58167

Merged
merged 1 commit into from
Feb 14, 2019
Merged

HirId-ify hir::BodyId #58167

merged 1 commit into from
Feb 14, 2019

Conversation

ljedrz
Copy link
Contributor

@ljedrz ljedrz commented Feb 4, 2019

Another step towards #57578.

@rust-highfive
Copy link
Collaborator

r? @matthewjasper

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 4, 2019
@ljedrz
Copy link
Contributor Author

ljedrz commented Feb 4, 2019

r? @Zoxc

@rust-highfive rust-highfive assigned Zoxc and unassigned matthewjasper Feb 4, 2019
@rust-highfive
Copy link
Collaborator

The job x86_64-gnu-llvm-6.0 of your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.
travis_time:end:15f05658:start=1549307033602728038,finish=1549307035772219093,duration=2169491055
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

Encrypted environment variables have been removed for security reasons.
See https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
$ export SCCACHE_BUCKET=rust-lang-ci-sccache2
$ export SCCACHE_REGION=us-west-1
Setting environment variables from .travis.yml
$ export IMAGE=x86_64-gnu-llvm-6.0
---
travis_time:start:test_codegen-units
Check compiletest suite=codegen-units mode=codegen-units (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
[01:07:14] 
[01:07:14] running 39 tests
[01:07:15] i.......i.................FFFFFiFFFFFFF
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/local-drop-glue.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/local-drop-glue.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-drop-glue/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/local-drop-glue" "-Zinline-in-all-cgus" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-drop-glue/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<(u32, local_drop_glue::Struct[0])> @@ local_drop_glue.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<local_drop_glue::Outer[0]> @@ local_drop_glue.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<local_drop_glue::Struct[0]> @@ local_drop_glue.3a1fbbbh[Internal] local_drop_glue.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<local_drop_glue::mod1[0]::Struct2[0]> @@ local_drop_glue.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn local_drop_glue::mod1[0]::user[0] @@ local_drop_glue.3a1fbbbh-mod1[External]
[01:07:15] MONO_ITEM fn local_drop_glue::user[0] @@ local_drop_glue.3a1fbbbh[External]
[01:07:15] MONO_ITEM fn local_drop_glue::{{impl}}[0]::drop[0] @@ local_drop_glue.3a1fbbbh[External]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=lazy -Z incremental -Z inline-in-all-cgus -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-drop-glue.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-drop-glue.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/extern-drop-glue.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/extern-drop-glue.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/extern-drop-glue/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/extern-drop-glue" "-Zinline-in-all-cgus" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/extern-drop-glue/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<cgu_extern_drop_glue::Struct[0]> @@ extern_drop_glue.3a1fbbbh[Internal] extern_drop_glue.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<extern_drop_glue::LocalStruct[0]> @@ extern_drop_glue.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<extern_drop_glue::mod1[0]::LocalStruct[0]> @@ extern_drop_glue.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn extern_drop_glue::mod1[0]::user[0] @@ extern_drop_glue.3a1fbbbh-mod1[External]
[01:07:15] MONO_ITEM fn extern_drop_glue::user[0] @@ extern_drop_glue.3a1fbbbh[External]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=lazy -Z incremental -Z inline-in-all-cgus -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/extern-drop-glue.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/extern-drop-glue.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/extern-generic.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/extern-generic.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/extern-generic/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=eager" "-Zincremental=tmp/partitioning-tests/extern-generic" "-Zshare-generics=y" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/extern-generic/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn cgu_generic_function::bar[0]<&str> @@ cgu_generic_function.3a1fbbbh-in-extern_generic.3a1fbbbh.volatile[External]
[01:07:15] MONO_ITEM fn cgu_generic_function::foo[0]<&str> @@ cgu_generic_function.3a1fbbbh-in-extern_generic.3a1fbbbh.volatile[External]
[01:07:15] MONO_ITEM fn extern_generic::mod1[0]::mod1[0]::user[0] @@ extern_generic.3a1fbbbh-mod1-mod1[Internal]
[01:07:15] MONO_ITEM fn extern_generic::mod1[0]::user[0] @@ extern_generic.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn extern_generic::mod2[0]::user[0] @@ extern_generic.3a1fbbbh-mod2[Internal]
[01:07:15] MONO_ITEM fn extern_generic::mod3[0]::non_user[0] @@ extern_generic.3a1fbbbh-mod3[Internal]
[01:07:15] MONO_ITEM fn extern_generic::user[0] @@ extern_generic.3a1fbbbh[Internal]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=eager -Z incremental -Z share-generics=y -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/extern-generic.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/extern-generic.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/inlining-from-extern-crate.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/inlining-from-extern-crate.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/inlining-from-extern-crate/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/inlining-from-extern-crate" "-Zinline-in-all-cgus" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/inlining-from-extern-crate/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn cgu_explicit_inlining::always_inlined[0] @@ inlining_from_extern_crate.3a1fbbbh[Internal] inlining_from_extern_crate.3a1fbbbh-mod2[Internal]
[01:07:15] MONO_ITEM fn cgu_explicit_inlining::inlined[0] @@ inlining_from_extern_crate.3a1fbbbh[Internal] inlining_from_extern_crate.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn inlining_from_extern_crate::mod1[0]::user[0] @@ inlining_from_extern_crate.3a1fbbbh-mod1[External]
[01:07:15] MONO_ITEM fn inlining_from_extern_crate::mod2[0]::user[0] @@ inlining_from_extern_crate.3a1fbbbh-mod2[External]
[01:07:15] MONO_ITEM fn inlining_from_extern_crate::user[0] @@ inlining_from_extern_crate.3a1fbbbh[External]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=lazy -Z incremental -Z inline-in-all-cgus -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/inlining-from-extern-crate.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/inlining-from-extern-crate.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/local-generic.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/local-generic.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-generic/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=eager" "-Zincremental=tmp/partitioning-tests/local-generic" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-generic/auxiliary"
[01:07:15] stdout:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn local_generic::generic[0]<&str> @@ local_generic.3a1fbbbh.volatile[External]
[01:07:15] MONO_ITEM fn local_generic::generic[0]<char> @@ local_generic.3a1fbbbh.volatile[External]
[01:07:15] MONO_ITEM fn local_generic::generic[0]<u32> @@ local_generic.3a1fbbbh.volatile[External]
[01:07:15] MONO_ITEM fn local_generic::generic[0]<u64> @@ local_generic.3a1fbbbh.volatile[External]
[01:07:15] MONO_ITEM fn local_generic::mod1[0]::mod1[0]::user[0] @@ local_generic.3a1fbbbh-mod1-mod1[Internal]
[01:07:15] MONO_ITEM fn local_generic::mod1[0]::user[0] @@ local_generic.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn local_generic::mod2[0]::user[0] @@ local_generic.3a1fbbbh-mod2[Internal]
[01:07:15] MONO_ITEM fn local_generic::user[0] @@ local_generic.3a1fbbbh[Internal]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=eager -Z incremental -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-generic.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-generic.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/local-inlining-but-not-all.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/local-inlining-but-not-all.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-inlining-but-not-all/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/local-inlining-but-not-all" "-Zinline-in-all-cgus=no" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-inlining-but-not-all/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn local_inlining_but_not_all::inline[0]::inlined_function[0] @@ local_inlining_but_not_all.3a1fbbbh-inline[External]
[01:07:15] MONO_ITEM fn local_inlining_but_not_all::non_user[0]::baz[0] @@ local_inlining_but_not_all.3a1fbbbh-non_user[External]
[01:07:15] MONO_ITEM fn local_inlining_but_not_all::user1[0]::foo[0] @@ local_inlining_but_not_all.3a1fbbbh-user1[External]
[01:07:15] MONO_ITEM fn local_inlining_but_not_all::user2[0]::bar[0] @@ local_inlining_but_not_all.3a1fbbbh-user2[External]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=lazy -Z incremental -Z inline-in-all-cgus=no -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-inlining-but-not-all.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-inlining-but-not-all.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/local-inlining.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/local-inlining.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-inlining/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/local-inlining" "-Zinline-in-all-cgus" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-inlining/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn local_inlining::inline[0]::inlined_function[0] @@ local_inlining.3a1fbbbh-user1[Internal] local_inlining.3a1fbbbh-user2[Internal]
[01:07:15] MONO_ITEM fn local_inlining::non_user[0]::baz[0] @@ local_inlining.3a1fbbbh-non_user[External]
[01:07:15] MONO_ITEM fn local_inlining::user1[0]::foo[0] @@ local_inlining.3a1fbbbh-user1[External]
[01:07:15] MONO_ITEM fn local_inlining::user2[0]::bar[0] @@ local_inlining.3a1fbbbh-user2[External]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=lazy -Z incremental -Z inline-in-all-cgus -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-inlining.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-inlining.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/local-transitive-inlining.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/local-transitive-inlining.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-transitive-inlining/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/local-transitive-inlining" "-Zinline-in-all-cgus" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/local-transitive-inlining/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn local_transitive_inlining::direct_user[0]::foo[0] @@ local_transitive_inlining.3a1fbbbh-indirect_user[Internal]
[01:07:15] MONO_ITEM fn local_transitive_inlining::indirect_user[0]::bar[0] @@ local_transitive_inlining.3a1fbbbh-indirect_user[External]
[01:07:15] MONO_ITEM fn local_transitive_inlining::inline[0]::inlined_function[0] @@ local_transitive_inlining.3a1fbbbh-indirect_user[Internal]
[01:07:15] MONO_ITEM fn local_transitive_inlining::non_user[0]::baz[0] @@ local_transitive_inlining.3a1fbbbh-non_user[External]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=lazy -Z incremental -Z inline-in-all-cgus -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-transitive-inlining.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/local-transitive-inlining.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/regular-modules.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/regular-modules.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/regular-modules/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=eager" "-Zincremental=tmp/partitioning-tests/regular-modules" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/regular-modules/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn regular_modules::bar[0] @@ regular_modules.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM fn regular_modules::foo[0] @@ regular_modules.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod1[0]::bar[0] @@ regular_modules.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod1[0]::foo[0] @@ regular_modules.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod1[0]::mod1[0]::bar[0] @@ regular_modules.3a1fbbbh-mod1-mod1[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod1[0]::mod1[0]::foo[0] @@ regular_modules.3a1fbbbh-mod1-mod1[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod1[0]::mod2[0]::bar[0] @@ regular_modules.3a1fbbbh-mod1-mod2[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod1[0]::mod2[0]::foo[0] @@ regular_modules.3a1fbbbh-mod1-mod2[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod2[0]::bar[0] @@ regular_modules.3a1fbbbh-mod2[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod2[0]::foo[0] @@ regular_modules.3a1fbbbh-mod2[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod2[0]::mod1[0]::bar[0] @@ regular_modules.3a1fbbbh-mod2-mod1[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod2[0]::mod1[0]::foo[0] @@ regular_modules.3a1fbbbh-mod2-mod1[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod2[0]::mod2[0]::bar[0] @@ regular_modules.3a1fbbbh-mod2-mod2[Internal]
[01:07:15] MONO_ITEM fn regular_modules::mod2[0]::mod2[0]::foo[0] @@ regular_modules.3a1fbbbh-mod2-mod2[Internal]
[01:07:15] MONO_ITEM static regular_modules::BAZ[0] @@ regular_modules.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM static regular_modules::mod1[0]::BAZ[0] @@ regular_modules.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM static regular_modules::mod1[0]::mod1[0]::BAZ[0] @@ regular_modules.3a1fbbbh-mod1-mod1[Internal]
[01:07:15] MONO_ITEM static regular_modules::mod1[0]::mod2[0]::BAZ[0] @@ regular_modules.3a1fbbbh-mod1-mod2[Internal]
[01:07:15] MONO_ITEM static regular_modules::mod2[0]::BAZ[0] @@ regular_modules.3a1fbbbh-mod2[Internal]
[01:07:15] MONO_ITEM static regular_modules::mod2[0]::mod1[0]::BAZ[0] @@ regular_modules.3a1fbbbh-mod2-mod1[Internal]
[01:07:15] MONO_ITEM static regular_modules::mod2[0]::mod2[0]::BAZ[0] @@ regular_modules.3a1fbbbh-mod2-mod2[Internal]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=eager -Z incremental -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/regular-modules.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/regular-modules.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/statics.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/statics.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/statics/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/statics" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/statics/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn statics::function[0] @@ statics.3a1fbbbh[External]
[01:07:15] MONO_ITEM fn statics::mod1[0]::function[0] @@ statics.3a1fbbbh-mod1[External]
[01:07:15] MONO_ITEM static statics::BAR[0] @@ statics.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM static statics::FOO[0] @@ statics.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM static statics::function[0]::BAR[0] @@ statics.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM static statics::function[0]::FOO[0] @@ statics.3a1fbbbh[Internal]
[01:07:15] MONO_ITEM static statics::mod1[0]::BAR[0] @@ statics.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM static statics::mod1[0]::FOO[0] @@ statics.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM static statics::mod1[0]::function[0]::BAR[0] @@ statics.3a1fbbbh-mod1[Internal]
[01:07:15] MONO_ITEM static statics::mod1[0]::function[0]::FOO[0] @@ statics.3a1fbbbh-mod1[Internal]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] warning: static item is never used: `FOO`
[01:07:15] warning: static item is never used: `FOO`
[01:07:15]  --> /checkout/src/test/codegen-units/partitioning/statics.rs:9:1
[01:07:15]   |
[01:07:15] 9 | static FOO: u32 = 0;
[01:07:15]   |
[01:07:15]   = note: #[warn(dead_code)] on by default
[01:07:15] 
[01:07:15] warning: static item is never used: `BAR`
[01:07:15] warning: static item is never used: `BAR`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/statics.rs:12:1
[01:07:15]    |
[01:07:15] 12 | static BAR: u32 = 0;
[01:07:15] 
[01:07:15] warning: static item is never used: `FOO`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/statics.rs:17:5
[01:07:15]    |
[01:07:15]    |
[01:07:15] 17 |     static FOO: u32 = 0;
[01:07:15] 
[01:07:15] warning: static item is never used: `BAR`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/statics.rs:20:5
[01:07:15]    |
[01:07:15]    |
[01:07:15] 20 |     static BAR: u32 = 0;
[01:07:15] 
[01:07:15] warning: static item is never used: `FOO`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/statics.rs:25:5
[01:07:15]    |
[01:07:15]    |
[01:07:15] 25 |     static FOO: u32 = 0;
[01:07:15] 
[01:07:15] warning: static item is never used: `BAR`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/statics.rs:28:5
[01:07:15]    |
[01:07:15]    |
[01:07:15] 28 |     static BAR: u32 = 0;
[01:07:15] 
[01:07:15] warning: static item is never used: `FOO`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/statics.rs:33:9
[01:07:15]    |
[01:07:15]    |
[01:07:15] 33 |         static FOO: u32 = 0;
[01:07:15] 
[01:07:15] warning: static item is never used: `BAR`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/statics.rs:36:9
[01:07:15]    |
[01:07:15]    |
[01:07:15] 36 |         static BAR: u32 = 0;
[01:07:15] 
[01:07:15] 
[01:07:15] error: internal compiler error: src/librustc/ty/query/on_disk_cache.rs:949: Encoding DefIndex without context.
[01:07:15] thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:605:9
[01:07:15] note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
[01:07:15] thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
[01:07:15]   left: `LLVMing`,
[01:07:15]   left: `LLVMing`,
[01:07:15]  right: `Codegenning`', src/librustc_codegen_ssa/back/write.rs:1414:21
[01:07:15] 
[01:07:15] 
[01:07:15] note: the compiler unexpectedly panicked. this is a bug.
[01:07:15] 
[01:07:15] 
[01:07:15] note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
[01:07:15] 
[01:07:15] note: rustc 1.34.0-dev running on x86_64-unknown-linux-gnu
[01:07:15] 
[01:07:15] note: compiler flags: -Z threads=1 -Z human_readable_cgu_names -Z unstable-options -Z print-mono-items=lazy -Z incremental -C prefer-dynamic -C rpath
[01:07:15] 
[01:07:15] ------------------------------------------
[01:07:15] 
[01:07:15] thread '[codegen-units] codegen-units/partitioning/statics.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] thread '[codegen-units] codegen-units/partitioning/statics.rs' panicked at 'explicit panic', src/tools/compiletest/src/runtest.rs:3295:9
[01:07:15] 
[01:07:15] ---- [codegen-units] codegen-units/partitioning/vtable-through-const.rs stdout ----
[01:07:15] 
[01:07:15] error: compilation failed!
[01:07:15] status: exit code: 101
[01:07:15] command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/codegen-units/partitioning/vtable-through-const.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-Z" "human_readable_cgu_names" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/vtable-through-const/a" "-Crpath" "-O" "-Zunstable-options" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-Zprint-mono-items=lazy" "-Zincremental=tmp/partitioning-tests/vtable-through-const" "-Zinline-in-all-cgus" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units/partitioning/vtable-through-const/auxiliary"
[01:07:15] ------------------------------------------
[01:07:15] ------------------------------------------
[01:07:15] MONO_ITEM fn core::ptr[0]::real_drop_in_place[0]<u32> @@ vtable_through_const.7rcbfp3g[Internal]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::Trait1[0]::do_something[0]<u32> @@ vtable_through_const.7rcbfp3g-mod1.volatile[External]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::Trait1[0]::do_something_else[0]<u32> @@ vtable_through_const.7rcbfp3g-mod1.volatile[External]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::Trait2[0]::do_something[0]<u32> @@ vtable_through_const.7rcbfp3g-mod1.volatile[Internal]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::Trait2[0]::do_something_else[0]<u32> @@ vtable_through_const.7rcbfp3g-mod1.volatile[Internal]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::id[0]<char> @@ vtable_through_const.7rcbfp3g-mod1.volatile[External]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::id[0]<i64> @@ vtable_through_const.7rcbfp3g-mod1.volatile[Internal]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[1]::do_something[0]<u8> @@ vtable_through_const.7rcbfp3g-mod1.volatile[External]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[1]::do_something_else[0]<u8> @@ vtable_through_const.7rcbfp3g-mod1.volatile[External]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[3]::do_something[0]<u8> @@ vtable_through_const.7rcbfp3g-mod1.volatile[Internal]
[01:07:15] MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[3]::do_something_else[0]<u8> @@ vtable_through_const.7rcbfp3g-mod1.volatile[Internal]
[01:07:15] MONO_ITEM fn vtable_through_const::start[0] @@ vtable_through_const.7rcbfp3g[Internal]
[01:07:15] ------------------------------------------
[01:07:15] stderr:
[01:07:15] ------------------------------------------
[01:07:15] warning: constant item is never used: `TRAIT2_REF`
[01:07:15] warning: constant item is never used: `TRAIT2_REF`
[01:07:15]   --> /checkout/src/test/codegen-units/partitioning/vtable-through-const.rs:61:5
[01:07:15]    |
---
[01:07:15] test result: FAILED. 24 passed; 12 failed; 3 ignored; 0 measured; 0 filtered out
[01:07:15] 
[01:07:15] 
[01:07:15] 
[01:07:15] command did not execute successfully: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-tools-bin/compiletest" "--compile-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" "--run-lib-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "--rustc-path" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "--src-base" "/checkout/src/test/codegen-units" "--build-base" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/codegen-units" "--stage-id" "stage2-x86_64-unknown-linux-gnu" "--mode" "codegen-units" "--target" "x86_64-unknown-linux-gnu" "--host" "x86_64-unknown-linux-gnu" "--llvm-filecheck" "/usr/lib/llvm-6.0/bin/FileCheck" "--host-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--target-rustcflags" "-Crpath -O -Zunstable-options  -Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "--docck-python" "/usr/bin/python2.7" "--lldb-python" "/usr/bin/python2.7" "--gdb" "/usr/bin/gdb" "--quiet" "--llvm-version" "6.0.0\n" "--system-llvm" "--cc" "" "--cxx" "" "--cflags" "" "--llvm-components" "" "--llvm-cxxflags" "" "--adb-path" "adb" "--adb-test-dir" "/data/tmp/work" "--android-cross-path" "" "--color" "always"
[01:07:15] 
[01:07:15] 
[01:07:15] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap test
[01:07:15] Build completed unsuccessfully in 0:11:02
[01:07:15] Build completed unsuccessfully in 0:11:02
[01:07:15] make: *** [check] Error 1
[01:07:15] Makefile:48: recipe for target 'check' failed
The command "stamp sh -x -c "$RUN_SCRIPT"" exited with 2.
travis_time:start:0acdd802
$ date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
Mon Feb  4 20:11:22 UTC 2019
---
travis_time:end:0c744f6f:start=1549311084471973913,finish=1549311084476762455,duration=4788542
travis_fold:end:after_failure.3
travis_fold:start:after_failure.4
travis_time:start:1ad4c490
$ ln -s . checkout &&

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@ljedrz
Copy link
Contributor Author

ljedrz commented Feb 5, 2019

@Zoxc I've looked at stack traces, but I'm not too savvy with codegen; any suggestions on how I could tackle this?

@Zoxc
Copy link
Contributor

Zoxc commented Feb 5, 2019

Mind posting a stack trace? =P

src/librustc/hir/mod.rs Outdated Show resolved Hide resolved
@ljedrz

This comment has been minimized.

body: &'gcx hir::Body,
span: Span,
) {
// When we enter a function, we can derive
debug!("visit_fn_body(id={})", id);
debug!("visit_fn_body(id={:?})", id);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you should add a Display impl for HirId?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd probably prefer to do it in a separate PR, but sure, why not; how would you suggest it should look like?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can probably just call the Debug impl for now, and then just revert the changes to use {:?}

@Zoxc
Copy link
Contributor

Zoxc commented Feb 5, 2019

I've looked over this and didn't spot anything else that is wrong.

@ljedrz
Copy link
Contributor Author

ljedrz commented Feb 5, 2019

@Zoxc derive fixed.

Since now the extra HirId methods are merged, are these last PRs still compatible or should I drop that commit from them?

@Zoxc
Copy link
Contributor

Zoxc commented Feb 5, 2019

@ljedrz Just rebase them to remove the commit. I like to use git pull --rebase upstream master for that.

@ljedrz
Copy link
Contributor Author

ljedrz commented Feb 5, 2019

Rebased.

@ljedrz ljedrz mentioned this pull request Feb 6, 2019
@Zoxc
Copy link
Contributor

Zoxc commented Feb 7, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Feb 7, 2019

📌 Commit 07cc606574052298394f41387a18d3912fc4599b has been approved by Zoxc

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 7, 2019
@bors
Copy link
Contributor

bors commented Feb 7, 2019

☔ The latest upstream changes (presumably #58254) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 7, 2019
@ljedrz
Copy link
Contributor Author

ljedrz commented Feb 7, 2019

Rebased.

@Zoxc
Copy link
Contributor

Zoxc commented Feb 7, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Feb 7, 2019

📌 Commit 221b1c3 has been approved by Zoxc

@bors
Copy link
Contributor

bors commented Feb 12, 2019

📌 Commit 932d7e40f7b54d302dd3695f8324663912654d11 has been approved by Zoxc

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 12, 2019
@bors
Copy link
Contributor

bors commented Feb 12, 2019

☔ The latest upstream changes (presumably #58341) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Feb 12, 2019
@ljedrz
Copy link
Contributor Author

ljedrz commented Feb 13, 2019

Rebased.

@Zoxc
Copy link
Contributor

Zoxc commented Feb 13, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Feb 13, 2019

📌 Commit eac43cc has been approved by Zoxc

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Feb 13, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 13, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 13, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 13, 2019
bors added a commit that referenced this pull request Feb 13, 2019
Rollup of 10 pull requests

Successful merges:

 - #58110 (libpanic_unwind => 2018)
 - #58167 (HirId-ify hir::BodyId)
 - #58202 (Ignore future deprecations in #[deprecated])
 - #58272 (Cut down on number formating code size)
 - #58276 (Improve the error messages for missing stability attributes)
 - #58354 (Fix ICE and invalid filenames in MIR printing code)
 - #58381 (Only suggest imports if not imported.)
 - #58386 (Fix #54242)
 - #58400 (Fix rustc_driver swallowing errors when compilation is stopped)
 - #58420 (target/uefi: clarify documentation)

Failed merges:

r? @ghost
@bors bors merged commit eac43cc into rust-lang:master Feb 14, 2019
@ljedrz ljedrz deleted the HirIdify_body_id branch February 14, 2019 06:36
bors added a commit to rust-lang/rust-clippy that referenced this pull request Feb 14, 2019
rasendubi added a commit to rasendubi/rustc-guide that referenced this pull request Apr 18, 2019
It is now a newtype'd HirId, not NodeId.

See rust-lang/rust#58167.
mark-i-m pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Apr 20, 2019
It is now a newtype'd HirId, not NodeId.

See rust-lang/rust#58167.
mark-i-m pushed a commit to spastorino/rustc-dev-guide that referenced this pull request Jan 2, 2020
It is now a newtype'd HirId, not NodeId.

See rust-lang/rust#58167.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants