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

[WIP] Use static linking for compiling rustc in CI #97154

Closed
wants to merge 1 commit into from

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented May 18, 2022

I noticed that rustc was (probably) being compiled only with thin-local crate LTO (according to https://doc.rust-lang.org/rustc/codegen-options/index.html#lto). Let's see what happens if we compile it with full thin/fat LTO.

Current status:

r? @ghost

@Kobzol
Copy link
Contributor Author

Kobzol commented May 18, 2022

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label May 18, 2022
@bors
Copy link
Contributor

bors commented May 18, 2022

⌛ Trying commit fae59708ce35cf3c5d73eb288d6f1e0c5aac546a with merge 5c22ec7abed954d09c1f8726f66edc9e8173f918...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented May 18, 2022

💔 Test failed - checks-actions

@bors bors added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label May 18, 2022
@rust-log-analyzer

This comment has been minimized.

@Kobzol
Copy link
Contributor Author

Kobzol commented May 19, 2022

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@bors
Copy link
Contributor

bors commented May 19, 2022

⌛ Trying commit 7811e21b019c83921b74d3a2c74c5d31ba9b8200 with merge 6b2bb5ee1378aa8d489d0eff1da01da0f9aa8818...

@bors
Copy link
Contributor

bors commented May 19, 2022

💔 Test failed - checks-actions

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@Kobzol
Copy link
Contributor Author

Kobzol commented May 20, 2022

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@bors
Copy link
Contributor

bors commented May 20, 2022

⌛ Trying commit b102ee0ad53a9bd005dcf33ec937d6cba40ca7e5 with merge fdf1a1206ce846c514c1902ab8f9d492612432ec...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented May 20, 2022

☀️ Try build successful - checks-actions
Build commit: fdf1a1206ce846c514c1902ab8f9d492612432ec (fdf1a1206ce846c514c1902ab8f9d492612432ec)

@rust-timer
Copy link
Collaborator

Queued fdf1a1206ce846c514c1902ab8f9d492612432ec with parent b5caa5a, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (fdf1a1206ce846c514c1902ab8f9d492612432ec): comparison url.

Instruction count

  • Primary benchmarks: mixed results
  • Secondary benchmarks: mixed results
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 172 159 13 34 185
mean2 1.5% 3.0% -1.1% -1.0% 1.3%
max 8.4% 18.9% -3.0% -3.2% 8.4%

Max RSS (memory usage)

Results
  • Primary benchmarks: 🎉 relevant improvements found
  • Secondary benchmarks: 🎉 relevant improvements found
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 0 0 177 214 177
mean2 N/A N/A -2.2% -3.3% -2.2%
max N/A N/A -6.1% -7.6% -6.1%

Cycles

Results
  • Primary benchmarks: mixed results
  • Secondary benchmarks: mixed results
Regressions 😿
(primary)
Regressions 😿
(secondary)
Improvements 🎉
(primary)
Improvements 🎉
(secondary)
All 😿 🎉
(primary)
count1 8 48 45 45 53
mean2 2.0% 5.0% -2.1% -3.7% -1.5%
max 4.5% 13.9% -4.5% -11.7% -4.5%

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: +S-waiting-on-review -S-waiting-on-perf +perf-regression

Footnotes

  1. number of relevant changes 2 3

  2. the arithmetic mean of the percent change 2 3

@rustbot rustbot added perf-regression Performance regression. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels May 21, 2022
@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label May 21, 2022
@Kobzol
Copy link
Contributor Author

Kobzol commented May 21, 2022

@bors try @rust-timer queue

@Kobzol Kobzol changed the title [WIP] Use Thin LTO for compiling rustc in CI [WIP] Use static linking for compiling rustc in CI Oct 6, 2022
albertlarsan68 added a commit to albertlarsan68/rust that referenced this pull request Oct 14, 2022
[PERF] Enable LTO for rustc_driver.so

Alternative to rust-lang#97154

This enables LTO'ing dylibs behind a feature flag and uses this feature for compiling rustc_driver.so.
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 23, 2022
Enable LTO for rustc_driver.so

Alternative to rust-lang#97154

This enables LTO'ing dylibs behind a feature flag and uses this feature for compiling rustc_driver.so.
@bors
Copy link
Contributor

bors commented Oct 23, 2022

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

@Kobzol
Copy link
Contributor Author

Kobzol commented Oct 24, 2022

I think that we got enough information out of this one. Static linking brings nontrivial improvements for small-ish crates thanks to removing dynamic function resolution, but otherwise it doesn't seem that beneficial now that we can do LTO on librustc_driver.so. And using a static build of rustc is quite problematic because of e.g. codegen backends, which are loaded as dynamic libraries directly into the rustc process. Closing.

@Kobzol Kobzol closed this Oct 24, 2022
@Kobzol Kobzol reopened this Nov 4, 2022
@Kobzol
Copy link
Contributor Author

Kobzol commented Nov 4, 2022

Reopening to test performance after LTO.

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@bors
Copy link
Contributor

bors commented Nov 4, 2022

⌛ Trying commit 67160f1 with merge 5305dffdea152e2e6a82f9d20d37392d1e5e051e...

@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-13 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
Copying stage2 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Check compiletest suite=ui-fulldeps mode=ui (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)

running 71 tests
.......................i..............F...FF.FFFFFFF..F........FF.....F

---- [ui] src/test/ui-fulldeps/issue-40001.rs stdout ----

error: test compilation failed although it shouldn't!
error: test compilation failed although it shouldn't!
status: exit status: 101
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/issue-40001.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/issue-40001/a" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/issue-40001/auxiliary"
stdout: none
--- stderr -------------------------------
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
   |
   |
LL | #![plugin(issue_40001_plugin)] //~ WARNING compiler plugins are deprecated
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
   = note: `#[warn(deprecated)]` on by default


thread 'rustc' panicked at 'cannot access a scoped thread local variable without calling `set` first', /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:168:9
   0:     0x7f23017135fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7f230177c3d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7f2301705061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7f2301713401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   3:     0x7f2301713401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7f2301716794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7f2301716459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x560cdc5e3014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7f2301716ee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7f22f2b4d3ab - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>::{closure#0}
   9:     0x7f22f2b4cd14 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_end_short_backtrace::<std[8bf0c2b38bc32b15]::panicking::begin_panic<&str>::{closure#0}, !>
  10:     0x7f22ef99141a - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>
  11:     0x7f22f2b36a94 - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::with::<<rustc_span[d8cb4efd67ab003f]::symbol::Symbol>::as_str::{closure#0}, &str>
  12:     0x7f22f2b4921d - <rustc_span[d8cb4efd67ab003f]::symbol::IdentPrinter as core[edf145382d4e304a]::fmt::Display>::fmt
  13:     0x7f22f2a8d814 - <rustc_ast_pretty[83cfe44800d17b02]::pprust::state::State as rustc_ast_pretty[83cfe44800d17b02]::pprust::state::PrintState>::print_ident
  14:     0x7f22f2a8b621 - <rustc_ast_pretty[83cfe44800d17b02]::pprust::state::State as rustc_ast_pretty[83cfe44800d17b02]::pprust::state::PrintState>::print_path
  15:     0x7f22f2a8ac17 - <rustc_ast_pretty[83cfe44800d17b02]::pprust::state::State as rustc_ast_pretty[83cfe44800d17b02]::pprust::state::PrintState>::print_attr_item
  16:     0x7f22f2a8ab2d - <rustc_ast_pretty[83cfe44800d17b02]::pprust::state::State as rustc_ast_pretty[83cfe44800d17b02]::pprust::state::PrintState>::print_attribute_inline
  17:     0x7f22f2a8d347 - <rustc_ast_pretty[83cfe44800d17b02]::pprust::state::State as rustc_ast_pretty[83cfe44800d17b02]::pprust::state::PrintState>::attribute_to_string
  18:     0x7f22f2a9396e - rustc_ast_pretty[83cfe44800d17b02]::pprust::attribute_to_string
  19:     0x7f22ef9ab73f - <issue_40001_plugin::MissingAllowedAttrPass as rustc_lint::passes::LateLintPass>::check_fn::{{closure}}::h5701c8acf67d2b98
  20:     0x7f22ef9aa07a - <core::slice::iter::Iter<T> as core::iter::traits::iterator::Iterator>::any::hcd0616558db3ea0e
  21:     0x7f22ef9ab6e5 - <issue_40001_plugin::MissingAllowedAttrPass as rustc_lint::passes::LateLintPass>::check_fn::hccdd82d1d54f8f09
  22:     0x560cdeafb2fb - <rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects as rustc_lint[55fbe33e1e514b77]::passes::LateLintPass>::check_fn
  23:     0x560cdc772806 - <rustc_lint[55fbe33e1e514b77]::late::LateContextAndPass<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects> as rustc_hir[dd4918cf7e0d7c09]::intravisit::Visitor>::visit_fn
  24:     0x560cdc7dc68d - rustc_hir[dd4918cf7e0d7c09]::intravisit::walk_item::<rustc_lint[55fbe33e1e514b77]::late::LateContextAndPass<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects>>
  25:     0x560cdc77482f - <rustc_lint[55fbe33e1e514b77]::late::LateContextAndPass<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects> as rustc_hir[dd4918cf7e0d7c09]::intravisit::Visitor>::visit_nested_item
  26:     0x560cdc7db32c - rustc_hir[dd4918cf7e0d7c09]::intravisit::walk_mod::<rustc_lint[55fbe33e1e514b77]::late::LateContextAndPass<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects>>
  27:     0x560cdc7704a2 - rustc_lint[55fbe33e1e514b77]::late::late_lint_pass_crate::<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects>
  28:     0x560cdc76f87b - rustc_lint[55fbe33e1e514b77]::late::late_lint_crate::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass>
  29:     0x560cdc702848 - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_lint[55fbe33e1e514b77]::late::check_crate<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass, rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
  30:     0x560cdc7e03b2 - rustc_data_structures[89190822ddb5cf65]::sync::join::<rustc_lint[55fbe33e1e514b77]::late::check_crate<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass, rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}, rustc_lint[55fbe33e1e514b77]::late::check_crate<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass, rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#1}, (), ()>
  31:     0x560cdc702bd0 - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}>
  32:     0x560cdc7e0415 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}>, ()>
  33:     0x560cdc7a8035 - <core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}> as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once
  34:     0x560cdc7e0536 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}>, ()>
  35:     0x560cdc7049e6 - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}>
  36:     0x560cdc73cb8c - rustc_interface[ceb14389fff6693f]::passes::analysis
  37:     0x560cde19bdaf - rustc_query_system[bd03f4fdde5b9a3f]::query::plumbing::try_execute_query::<rustc_query_impl[e708f9530f911d01]::plumbing::QueryCtxt, rustc_query_system[bd03f4fdde5b9a3f]::query::caches::DefaultCache<(), core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>>
  38:     0x560cde28186b - rustc_query_system[bd03f4fdde5b9a3f]::query::plumbing::get_query::<rustc_query_impl[e708f9530f911d01]::queries::analysis, rustc_query_impl[e708f9530f911d01]::plumbing::QueryCtxt>
  39:     0x560cdde0b6fa - <rustc_query_impl[e708f9530f911d01]::Queries as rustc_middle[6987f77c70cb23c]::ty::query::QueryEngine>::analysis
  40:     0x560cdc5f8f77 - <rustc_interface[ceb14389fff6693f]::passes::QueryContext>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  41:     0x560cdc652baa - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  42:     0x560cdc5e460e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  43:     0x560cdc64627c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  44:     0x560cdc603559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  45:     0x560cdc647bb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  46:     0x560cdc5f45fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  47:     0x7f23017232fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  48:     0x7f22fb412b43 - <unknown>
  49:     0x7f22fb4a4a00 - <unknown>
  50:                0x0 - <unknown>
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.67.0-nightly (95de57cca 2022-11-04) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [analysis] running analysis passes on this crate
warning: 1 warning emitted
------------------------------------------



---- [ui] src/test/ui-fulldeps/lint-plugin-deny-attr.rs stdout ----

error: Error: expected failure status (Some(1)) but received status None.
status: signal: 6 (SIGABRT) (core dumped)
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/lint-plugin-deny-attr.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-plugin-deny-attr" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-plugin-deny-attr/auxiliary"
stdout: none
--- stderr -------------------------------
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
   |
   |
LL | #![plugin(lint_plugin_test)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
   = note: `#[warn(deprecated)]` on by default


thread 'rustc' panicked at 'cannot access a scoped thread local variable without calling `set` first', /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:168:9
   0:     0x7fab42d3e5fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7fab42da73d8 - core::fmt::write::h1fa32bc050aa08e1
   1:     0x7fab42da73d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7fab42d30061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7fab42d3e401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7fab42d41794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7fab42d41459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x562a71f79014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7fab42d41ee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7fab32b4e34b - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>::{closure#0}
   9:     0x7fab32b4dcb4 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_end_short_backtrace::<std[8bf0c2b38bc32b15]::panicking::begin_panic<&str>::{closure#0}, !>
  10:     0x7fab2f99541a - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>
  11:     0x7fab32b37a34 - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::with::<<rustc_span[d8cb4efd67ab003f]::symbol::Symbol>::as_str::{closure#0}, &str>
  12:     0x7fab2f9ac663 - <lint_plugin_test::Pass as rustc_lint::passes::EarlyLintPass>::check_item::h5fa5fbf073a4fab9
  13:     0x562a744bd230 - <rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects as rustc_lint[55fbe33e1e514b77]::passes::EarlyLintPass>::check_item
  14:     0x562a7214e6ed - <rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects> as rustc_ast[3a970f4a03f92596]::visit::Visitor>::visit_item
  15:     0x562a7210d98f - rustc_ast[3a970f4a03f92596]::visit::walk_crate::<rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects>>
  16:     0x562a7214c548 - rustc_lint[55fbe33e1e514b77]::early::early_lint_node::<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  17:     0x562a72149457 - rustc_lint[55fbe33e1e514b77]::early::check_ast_node::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedEarlyLintPass, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  18:     0x562a72099a4d - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::configure_and_expand::{closure#8}>
  19:     0x562a720ce25c - <rustc_interface[ceb14389fff6693f]::passes::boxed_resolver::BoxedResolver>::access::<<rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<rustc_ast[3a970f4a03f92596]::ast::Crate, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  20:     0x562a720b4208 - <rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion
  21:     0x562a71fe8aa3 - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  22:     0x562a71f7a60e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  23:     0x562a71fdc27c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  24:     0x562a71f99559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  25:     0x562a71fddbb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  26:     0x562a71f8a5fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  27:     0x7fab42d4e2fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  28:     0x7fab3ca3db43 - <unknown>
  29:     0x7fab3cacfa00 - <unknown>
  30:                0x0 - <unknown>
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.67.0-nightly (95de57cca 2022-11-04) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
end of query stack
end of query stack
thread 'rustc' panicked at 'Found a `push` without a `pop`.', compiler/rustc_lint/src/levels.rs:504:9
   0:     0x7fab42d3e5fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7fab42da73d8 - core::fmt::write::h1fa32bc050aa08e1
   1:     0x7fab42da73d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7fab42d30061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7fab42d3e401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7fab42d41794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7fab42d41459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x562a71f79014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7fab42d41ee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7fab42d41c09 - std::panicking::begin_panic_handler::{{closure}}::h53caaf684eca1f77
   9:     0x7fab42d3eb34 - std::sys_common::backtrace::__rust_end_short_backtrace::h3ed1202632b2e813
  10:     0x7fab42d41912 - rust_begin_unwind
  11:     0x7fab42cf3903 - core::panicking::panic_fmt::h767d08fff6da1476
  12:     0x562a7446ea89 - <rustc_lint[55fbe33e1e514b77]::levels::BuilderPush as core[edf145382d4e304a]::ops::drop::Drop>::drop
  13:     0x562a7214ece9 - <rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects> as rustc_ast[3a970f4a03f92596]::visit::Visitor>::visit_item
  14:     0x562a7210d98f - rustc_ast[3a970f4a03f92596]::visit::walk_crate::<rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects>>
  15:     0x562a7214c548 - rustc_lint[55fbe33e1e514b77]::early::early_lint_node::<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  16:     0x562a72149457 - rustc_lint[55fbe33e1e514b77]::early::check_ast_node::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedEarlyLintPass, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  17:     0x562a72099a4d - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::configure_and_expand::{closure#8}>
  18:     0x562a720ce25c - <rustc_interface[ceb14389fff6693f]::passes::boxed_resolver::BoxedResolver>::access::<<rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<rustc_ast[3a970f4a03f92596]::ast::Crate, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  19:     0x562a720b4208 - <rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion
  20:     0x562a71fe8aa3 - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  21:     0x562a71f7a60e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  22:     0x562a71fdc27c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  23:     0x562a71f99559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  24:     0x562a71fddbb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  25:     0x562a71f8a5fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  26:     0x7fab42d4e2fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  27:     0x7fab3ca3db43 - <unknown>
  28:     0x7fab3cacfa00 - <unknown>
  29:                0x0 - <unknown>
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.67.0-nightly (95de57cca 2022-11-04) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
end of query stack
thread panicked while panicking. aborting.
------------------------------------------
------------------------------------------


---- [ui] src/test/ui-fulldeps/lint-plugin-forbid-cmdline.rs stdout ----

error: Error: expected failure status (Some(1)) but received status None.
status: signal: 6 (SIGABRT) (core dumped)
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/lint-plugin-forbid-cmdline.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-plugin-forbid-cmdline" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-F" "test-lint" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-plugin-forbid-cmdline/auxiliary"
stdout: none
--- stderr -------------------------------
error[E0453]: allow(test_lint) incompatible with previous forbid
   |
   |
LL | #[allow(test_lint)] //~ ERROR allow(test_lint) incompatible
   |         ^^^^^^^^^ overruled by previous forbid
   |
   = note: `forbid` lint level was set on command line

error[E0453]: allow(test_lint) incompatible with previous forbid
   |
   |
LL | #[allow(test_lint)] //~ ERROR allow(test_lint) incompatible
   |         ^^^^^^^^^ overruled by previous forbid
   |
   = note: `forbid` lint level was set on command line

warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
   |
   |
LL | #![plugin(lint_plugin_test)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
   = note: `#[warn(deprecated)]` on by default


thread 'rustc' panicked at 'cannot access a scoped thread local variable without calling `set` first', /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:168:9
   0:     0x7fa10a2d65fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7fa10a33f3d8 - core::fmt::write::h1fa32bc050aa08e1
   1:     0x7fa10a33f3d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7fa10a2c8061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7fa10a2d6401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7fa10a2d9794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7fa10a2d9459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x559829a85014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7fa10a2d9ee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7fa0fab4e34b - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>::{closure#0}
   9:     0x7fa0fab4dcb4 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_end_short_backtrace::<std[8bf0c2b38bc32b15]::panicking::begin_panic<&str>::{closure#0}, !>
  10:     0x7fa0f799541a - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>
  11:     0x7fa0fab37a34 - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::with::<<rustc_span[d8cb4efd67ab003f]::symbol::Symbol>::as_str::{closure#0}, &str>
  12:     0x7fa0f79ac663 - <lint_plugin_test::Pass as rustc_lint::passes::EarlyLintPass>::check_item::h5fa5fbf073a4fab9
  13:     0x55982bfc9230 - <rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects as rustc_lint[55fbe33e1e514b77]::passes::EarlyLintPass>::check_item
  14:     0x559829c5a6ed - <rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects> as rustc_ast[3a970f4a03f92596]::visit::Visitor>::visit_item
  15:     0x559829c1998f - rustc_ast[3a970f4a03f92596]::visit::walk_crate::<rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects>>
  16:     0x559829c58548 - rustc_lint[55fbe33e1e514b77]::early::early_lint_node::<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  17:     0x559829c55457 - rustc_lint[55fbe33e1e514b77]::early::check_ast_node::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedEarlyLintPass, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  18:     0x559829ba5a4d - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::configure_and_expand::{closure#8}>
  19:     0x559829bda25c - <rustc_interface[ceb14389fff6693f]::passes::boxed_resolver::BoxedResolver>::access::<<rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<rustc_ast[3a970f4a03f92596]::ast::Crate, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  20:     0x559829bc0208 - <rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion
  21:     0x559829af4aa3 - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  22:     0x559829a8660e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  23:     0x559829ae827c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  24:     0x559829aa5559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  25:     0x559829ae9bb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  26:     0x559829a965fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  27:     0x7fa10a2e62fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  28:     0x7fa103fd5b43 - <unknown>
  29:     0x7fa104067a00 - <unknown>
  30:                0x0 - <unknown>
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.67.0-nightly (95de57cca 2022-11-04) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
end of query stack
end of query stack
thread 'rustc' panicked at 'Found a `push` without a `pop`.', compiler/rustc_lint/src/levels.rs:504:9
   0:     0x7fa10a2d65fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7fa10a33f3d8 - core::fmt::write::h1fa32bc050aa08e1
   1:     0x7fa10a33f3d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7fa10a2c8061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7fa10a2d6401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7fa10a2d9794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7fa10a2d9459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x559829a85014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7fa10a2d9ee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7fa10a2d9c09 - std::panicking::begin_panic_handler::{{closure}}::h53caaf684eca1f77
   9:     0x7fa10a2d6b34 - std::sys_common::backtrace::__rust_end_short_backtrace::h3ed1202632b2e813
  10:     0x7fa10a2d9912 - rust_begin_unwind
  11:     0x7fa10a28b903 - core::panicking::panic_fmt::h767d08fff6da1476
  12:     0x55982bf7aa89 - <rustc_lint[55fbe33e1e514b77]::levels::BuilderPush as core[edf145382d4e304a]::ops::drop::Drop>::drop
  13:     0x559829c5ace9 - <rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects> as rustc_ast[3a970f4a03f92596]::visit::Visitor>::visit_item
  14:     0x559829c1998f - rustc_ast[3a970f4a03f92596]::visit::walk_crate::<rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects>>
  15:     0x559829c58548 - rustc_lint[55fbe33e1e514b77]::early::early_lint_node::<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  16:     0x559829c55457 - rustc_lint[55fbe33e1e514b77]::early::check_ast_node::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedEarlyLintPass, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  17:     0x559829ba5a4d - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::configure_and_expand::{closure#8}>
  18:     0x559829bda25c - <rustc_interface[ceb14389fff6693f]::passes::boxed_resolver::BoxedResolver>::access::<<rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<rustc_ast[3a970f4a03f92596]::ast::Crate, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  19:     0x559829bc0208 - <rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion
  20:     0x559829af4aa3 - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  21:     0x559829a8660e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  22:     0x559829ae827c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  23:     0x559829aa5559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  24:     0x559829ae9bb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  25:     0x559829a965fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  26:     0x7fa10a2e62fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  27:     0x7fa103fd5b43 - <unknown>
  28:     0x7fa104067a00 - <unknown>
  29:                0x0 - <unknown>
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.67.0-nightly (95de57cca 2022-11-04) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
end of query stack
thread panicked while panicking. aborting.
------------------------------------------
------------------------------------------


---- [ui] src/test/ui-fulldeps/lint-group-plugin-deny-cmdline.rs stdout ----

error: Error: expected failure status (Some(1)) but received status Some(101).
status: exit status: 101
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/lint-group-plugin-deny-cmdline.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "--emit" "metadata" "-C" "prefer-dynamic" "--out-dir" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-group-plugin-deny-cmdline" "-A" "unused" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-D" "lint-me" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-group-plugin-deny-cmdline/auxiliary"
stdout: none
--- stderr -------------------------------
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
   |
   |
LL | #![plugin(lint_group_plugin_test)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
   = note: `#[warn(deprecated)]` on by default


thread 'rustc' panicked at 'cannot access a scoped thread local variable without calling `set` first', /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:168:9
stack backtrace:
   0:     0x7f1fe6b095fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7f1fe6b723d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7f1fe6afb061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7f1fe6b09401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7f1fe6b0c794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7f1fe6b0c459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x55a982373014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7f1fe6b0cee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7f1fd6b4e1ab - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>::{closure#0}
   9:     0x7f1fd6b4db14 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_end_short_backtrace::<std[8bf0c2b38bc32b15]::panicking::begin_panic<&str>::{closure#0}, !>
  10:     0x7f1fd399441a - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>
  11:     0x7f1fd6b37894 - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::with::<<rustc_span[d8cb4efd67ab003f]::symbol::Symbol>::as_str::{closure#0}, &str>
  12:     0x7f1fd39ac30d - <lint_group_plugin_test::Pass as rustc_lint::passes::LateLintPass>::check_item::h941c50917b63e29c
  13:     0x55a98488ad80 - <rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects as rustc_lint[55fbe33e1e514b77]::passes::LateLintPass>::check_item
  14:     0x55a982504824 - <rustc_lint[55fbe33e1e514b77]::late::LateContextAndPass<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects> as rustc_hir[dd4918cf7e0d7c09]::intravisit::Visitor>::visit_nested_item
  15:     0x55a98256b32c - rustc_hir[dd4918cf7e0d7c09]::intravisit::walk_mod::<rustc_lint[55fbe33e1e514b77]::late::LateContextAndPass<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects>>
  16:     0x55a9825004a2 - rustc_lint[55fbe33e1e514b77]::late::late_lint_pass_crate::<rustc_lint[55fbe33e1e514b77]::late::LateLintPassObjects>
Some tests failed in compiletest suite=ui-fulldeps mode=ui host=x86_64-unknown-linux-gnu target=x86_64-unknown-linux-gnu
  17:     0x55a9824ff87b - rustc_lint[55fbe33e1e514b77]::late::late_lint_crate::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass>
  18:     0x55a982492848 - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_lint[55fbe33e1e514b77]::late::check_crate<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass, rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}>
  19:     0x55a9825703b2 - rustc_data_structures[89190822ddb5cf65]::sync::join::<rustc_lint[55fbe33e1e514b77]::late::check_crate<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass, rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}, rustc_lint[55fbe33e1e514b77]::late::check_crate<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedLateLintPass, rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#1}, (), ()>
  20:     0x55a982492bd0 - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}>
  21:     0x55a982570415 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}>, ()>
  22:     0x55a982538035 - <core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}> as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once
  23:     0x55a982570536 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}::{closure#1}>, ()>
  24:     0x55a9824949e6 - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::analysis::{closure#5}>
  25:     0x55a9824ccb8c - rustc_interface[ceb14389fff6693f]::passes::analysis
  26:     0x55a983f2bdaf - rustc_query_system[bd03f4fdde5b9a3f]::query::plumbing::try_execute_query::<rustc_query_impl[e708f9530f911d01]::plumbing::QueryCtxt, rustc_query_system[bd03f4fdde5b9a3f]::query::caches::DefaultCache<(), core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>>
  27:     0x55a98401186b - rustc_query_system[bd03f4fdde5b9a3f]::query::plumbing::get_query::<rustc_query_impl[e708f9530f911d01]::queries::analysis, rustc_query_impl[e708f9530f911d01]::plumbing::QueryCtxt>
  28:     0x55a983b9b6fa - <rustc_query_impl[e708f9530f911d01]::Queries as rustc_middle[6987f77c70cb23c]::ty::query::QueryEngine>::analysis
  29:     0x55a982388f77 - <rustc_interface[ceb14389fff6693f]::passes::QueryContext>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  30:     0x55a9823e2baa - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  31:     0x55a98237460e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  32:     0x55a9823d627c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  33:     0x55a982393559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  34:     0x55a9823d7bb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  35:     0x55a9823845fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  36:     0x7f1fe6b192fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  37:     0x7f1fe0808b43 - <unknown>
  38:     0x7f1fe089aa00 - <unknown>
  39:                0x0 - <unknown>
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.67.0-nightly (95de57cca 2022-11-04) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
query stack during panic:
#0 [analysis] running analysis passes on this crate
warning: 1 warning emitted
------------------------------------------



---- [ui] src/test/ui-fulldeps/lint-plugin.rs stdout ----

error: test compilation failed although it shouldn't!
status: signal: 6 (SIGABRT) (core dumped)
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "/checkout/src/test/ui-fulldeps/lint-plugin.rs" "-Zthreads=1" "--target=x86_64-unknown-linux-gnu" "-O" "--error-format" "json" "--json" "future-incompat" "-Ccodegen-units=1" "-Zui-testing" "-Zdeduplicate-diagnostics=no" "-Cstrip=debuginfo" "-C" "prefer-dynamic" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-plugin/a" "-Crpath" "-Cdebuginfo=0" "-Lnative=/checkout/obj/build/x86_64-unknown-linux-gnu/native/rust-test-helpers" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/ui-fulldeps/lint-plugin/auxiliary"
stdout: none
--- stderr -------------------------------
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
   |
   |
LL | #![plugin(lint_plugin_test)] //~ WARNING use of deprecated attribute
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
   = note: `#[warn(deprecated)]` on by default


thread 'rustc' panicked at 'cannot access a scoped thread local variable without calling `set` first', /cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:168:9
   0:     0x7f0605f4c5fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   0:     0x7f0605f4c5fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7f0605fb53d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7f0605f3e061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7f0605f4c401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7f0605f4f794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7f0605f4f459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x558f3352f014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7f0605f4fee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7f05f6b4e34b - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>::{closure#0}
   9:     0x7f05f6b4dcb4 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_end_short_backtrace::<std[8bf0c2b38bc32b15]::panicking::begin_panic<&str>::{closure#0}, !>
  10:     0x7f05f399541a - std[8bf0c2b38bc32b15]::panicking::begin_panic::<&str>
  11:     0x7f05f6b37a34 - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::with::<<rustc_span[d8cb4efd67ab003f]::symbol::Symbol>::as_str::{closure#0}, &str>
  12:     0x7f05f39ac663 - <lint_plugin_test::Pass as rustc_lint::passes::EarlyLintPass>::check_item::h5fa5fbf073a4fab9
  13:     0x558f35a73230 - <rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects as rustc_lint[55fbe33e1e514b77]::passes::EarlyLintPass>::check_item
  14:     0x558f337046ed - <rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects> as rustc_ast[3a970f4a03f92596]::visit::Visitor>::visit_item
  15:     0x558f336c398f - rustc_ast[3a970f4a03f92596]::visit::walk_crate::<rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects>>
  16:     0x558f33702548 - rustc_lint[55fbe33e1e514b77]::early::early_lint_node::<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  17:     0x558f336ff457 - rustc_lint[55fbe33e1e514b77]::early::check_ast_node::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedEarlyLintPass, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  18:     0x558f3364fa4d - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::configure_and_expand::{closure#8}>
  19:     0x558f3368425c - <rustc_interface[ceb14389fff6693f]::passes::boxed_resolver::BoxedResolver>::access::<<rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<rustc_ast[3a970f4a03f92596]::ast::Crate, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  20:     0x558f3366a208 - <rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion
  21:     0x558f3359eaa3 - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  22:     0x558f3353060e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  23:     0x558f3359227c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  24:     0x558f3354f559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  25:     0x558f33593bb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  26:     0x558f335405fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  27:     0x7f0605f5c2fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  28:     0x7f05ffc4bb43 - <unknown>
  29:     0x7f05ffcdda00 - <unknown>
  30:                0x0 - <unknown>
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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.67.0-nightly (95de57cca 2022-11-04) running on x86_64-unknown-linux-gnu

note: compiler flags: -Z threads=1 -C codegen-units=1 -Z ui-testing -Z deduplicate-diagnostics=no -C strip=debuginfo -C prefer-dynamic -C rpath -C debuginfo=0
query stack during panic:
end of query stack
end of query stack
thread 'rustc' panicked at 'Found a `push` without a `pop`.', compiler/rustc_lint/src/levels.rs:504:9
   0:     0x7f0605f4c5fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   0:     0x7f0605f4c5fe - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0efd0b548784d506
   1:     0x7f0605fb53d8 - core::fmt::write::h1fa32bc050aa08e1
   2:     0x7f0605f3e061 - std::io::Write::write_fmt::hb3ffeb28b356c2e0
   3:     0x7f0605f4c401 - std::sys_common::backtrace::print::he65e133b3104c8b6
   4:     0x7f0605f4f794 - std::panicking::default_hook::{{closure}}::h1da2c59815696b4d
   5:     0x7f0605f4f459 - std::panicking::default_hook::h47b1bc01d4510c4f
   6:     0x558f3352f014 - rustc_driver[293724f3b3bbcd90]::DEFAULT_HOOK::{closure#0}::{closure#0}
   7:     0x7f0605f4fee4 - std::panicking::rust_panic_with_hook::h39255000dc4bdefc
   8:     0x7f0605f4fc09 - std::panicking::begin_panic_handler::{{closure}}::h53caaf684eca1f77
   9:     0x7f0605f4cb34 - std::sys_common::backtrace::__rust_end_short_backtrace::h3ed1202632b2e813
  10:     0x7f0605f4f912 - rust_begin_unwind
  11:     0x7f0605f01903 - core::panicking::panic_fmt::h767d08fff6da1476
  12:     0x558f35a24a89 - <rustc_lint[55fbe33e1e514b77]::levels::BuilderPush as core[edf145382d4e304a]::ops::drop::Drop>::drop
  13:     0x558f33704ce9 - <rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects> as rustc_ast[3a970f4a03f92596]::visit::Visitor>::visit_item
  14:     0x558f336c398f - rustc_ast[3a970f4a03f92596]::visit::walk_crate::<rustc_lint[55fbe33e1e514b77]::early::EarlyContextAndPass<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects>>
  15:     0x558f33702548 - rustc_lint[55fbe33e1e514b77]::early::early_lint_node::<rustc_lint[55fbe33e1e514b77]::early::EarlyLintPassObjects, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  16:     0x558f336ff457 - rustc_lint[55fbe33e1e514b77]::early::check_ast_node::<rustc_lint[55fbe33e1e514b77]::BuiltinCombinedEarlyLintPass, &rustc_ast[3a970f4a03f92596]::ast::Crate>
  17:     0x558f3364fa4d - <rustc_session[d880b1fe83fc1137]::session::Session>::time::<(), rustc_interface[ceb14389fff6693f]::passes::configure_and_expand::{closure#8}>
  18:     0x558f3368425c - <rustc_interface[ceb14389fff6693f]::passes::boxed_resolver::BoxedResolver>::access::<<rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<rustc_ast[3a970f4a03f92596]::ast::Crate, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  19:     0x558f3366a208 - <rustc_interface[ceb14389fff6693f]::queries::Queries>::expansion
  20:     0x558f3359eaa3 - <rustc_interface[ceb14389fff6693f]::interface::Compiler>::enter::<rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}::{closure#2}, core[edf145382d4e304a]::result::Result<core[edf145382d4e304a]::option::Option<rustc_interface[ceb14389fff6693f]::queries::Linker>, rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  21:     0x558f3353060e - rustc_span[d8cb4efd67ab003f]::with_source_map::<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}::{closure#1}>
  22:     0x558f3359227c - <scoped_tls[6fb07191d197180a]::ScopedKey<rustc_span[d8cb4efd67ab003f]::SessionGlobals>>::set::<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  23:     0x558f3354f559 - std[8bf0c2b38bc32b15]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  24:     0x558f33593bb6 - std[8bf0c2b38bc32b15]::panic::catch_unwind::<core[edf145382d4e304a]::panic::unwind_safe::AssertUnwindSafe<<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>
  25:     0x558f335405fa - <<std[8bf0c2b38bc32b15]::thread::Builder>::spawn_unchecked_<rustc_interface[ceb14389fff6693f]::util::run_in_thread_pool_with_globals<rustc_interface[ceb14389fff6693f]::interface::run_compiler<core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>, rustc_driver[293724f3b3bbcd90]::run_compiler::{closure#1}>::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[edf145382d4e304a]::result::Result<(), rustc_errors[eb855570cd8f5dc8]::ErrorGuaranteed>>::{closure#1} as core[edf145382d4e304a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  26:     0x7f0605f5c2fe - std::sys::unix::thread::Thread::new::thread_start::h0f8ae90549a9a513
  27:     0x7f05ffc4bb43 - <unknown>
  28:     0x7f05ffcdda00 - <unknown>
  29:                0x0 - <unknown>
error: internal compiler error: unexpected panic

@bors
Copy link
Contributor

bors commented Nov 4, 2022

☀️ Try build successful - checks-actions
Build commit: 5305dffdea152e2e6a82f9d20d37392d1e5e051e (5305dffdea152e2e6a82f9d20d37392d1e5e051e)

@rust-timer
Copy link
Collaborator

Queued 5305dffdea152e2e6a82f9d20d37392d1e5e051e with parent 2efb0cd, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (5305dffdea152e2e6a82f9d20d37392d1e5e051e): comparison URL.

Overall result: ❌✅ regressions and improvements - ACTION NEEDED

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: +S-waiting-on-review -S-waiting-on-perf +perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
44.9% [0.4%, 75.6%] 19
Regressions ❌
(secondary)
43.4% [30.5%, 74.3%] 23
Improvements ✅
(primary)
-2.2% [-34.7%, -0.2%] 93
Improvements ✅
(secondary)
-4.8% [-30.9%, -0.2%] 155
All ❌✅ (primary) 5.7% [-34.7%, 75.6%] 112

Max RSS (memory usage)

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-2.5% [-9.9%, -0.5%] 152
Improvements ✅
(secondary)
-5.2% [-10.6%, -1.0%] 231
All ❌✅ (primary) -2.5% [-9.9%, -0.5%] 152

Cycles

Results

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
74.3% [34.0%, 115.0%] 18
Regressions ❌
(secondary)
68.8% [49.4%, 203.9%] 23
Improvements ✅
(primary)
-5.9% [-24.5%, -0.5%] 20
Improvements ✅
(secondary)
-6.6% [-23.5%, -1.3%] 85
All ❌✅ (primary) 32.1% [-24.5%, 115.0%] 38

@rustbot rustbot added perf-regression Performance regression. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Nov 4, 2022
@Kobzol
Copy link
Contributor Author

Kobzol commented Nov 4, 2022

Good, as expected, the gains come mostly from avoiding dynamic linking, but there are not large improvements for larger benchmarks.

(The doc results should be ignored, LTO probably isn't being applied for rustdoc here).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf-regression Performance regression. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants