rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
11.46k stars 1.54k forks source link

Compiler panick after applying clippy fixes #8267

Closed oknozor closed 1 year ago

oknozor commented 2 years ago

Hello I stumbled into this today, reporting the bug as suggested :

Reproduce :

  1. clone https://github.com/oknozor/onagre
  2. run cargo clippy --fix
  3. run cargo clippy again
Backtrace ```text Checking onagre v0.1.0 (/home/okno/_Workshop/MyRepos/onagre) thread 'rustc' panicked at 'no entry found for key', compiler/rustc_metadata/src/rmeta/decoder.rs:1640:13 stack backtrace: 0: rust_begin_unwind at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:498:5 1: core::panicking::panic_fmt at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:110:14 2: core::panicking::panic_display at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:65:5 3: core::panicking::panic_str at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:56:5 4: core::option::expect_failed at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/option.rs:1817:5 5: ::expn_hash_to_expn_id 6: >::decode 7: >::decode 8: ::with_position::<>::decode::{closure#0}::{closure#0}, core::result::Result> 9: >::decode 10: >::decode 11: >::decode 12: ::read_seq::, as rustc_serialize::serialize::Decodable>::decode::{closure#0}> 13: >::decode 14: >::decode 15: <&rustc_middle::ty::TyS as rustc_serialize::serialize::Decodable>::decode 16: <&rustc_middle::ty::TyS as rustc_serialize::serialize::Decodable>::decode 17: ::read_map::>, > as rustc_serialize::serialize::Decodable>::decode::{closure#0}> 18: >::decode::{closure#0} 19: <&rustc_middle::ty::context::TypeckResults as rustc_serialize::serialize::Decodable>::decode 20: ::try_load_query_result::<&rustc_middle::ty::context::TypeckResults> 21: ::with_deps::::{closure#0}, core::option::Option<&rustc_middle::ty::context::TypeckResults>> 22: >::with_query_deserialization::::{closure#0}, core::option::Option<&rustc_middle::ty::context::TypeckResults>> 23: rustc_query_system::query::plumbing::try_load_from_disk_and_cache_in_memory:: 24: rustc_query_system::query::plumbing::try_execute_query::> 25: ::typeck 26: ::typeck_body 27: rustc_hir::intravisit::walk_item:: 28: rustc_passes::dead::check_crate 29: as core::ops::function::FnOnce<()>>::call_once 30: as core::ops::function::FnOnce<()>>::call_once 31: ::time::<(), rustc_interface::passes::analysis::{closure#5}> 32: rustc_interface::passes::analysis 33: >::with_task::> 34: rustc_data_structures::stack::ensure_sufficient_stack::<(core::result::Result<(), rustc_errors::ErrorReported>, rustc_query_system::dep_graph::graph::DepNodeIndex), rustc_query_system::query::plumbing::execute_job>::{closure#3}> 35: rustc_query_system::query::plumbing::try_execute_query::>> 36: rustc_query_system::query::plumbing::get_query:: 37: ::enter::, rustc_errors::ErrorReported>> 38: rustc_span::with_source_map::, rustc_interface::interface::create_compiler_and_run, rustc_driver::run_compiler::{closure#1}>::{closure#1}> 39: rustc_interface::interface::create_compiler_and_run::, rustc_driver::run_compiler::{closure#1}> 40: >::set::, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorReported>> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new note: Clippy version: clippy 0.1.59 (092e1c9 2022-01-09) query stack during panic: thread 'rustc' panicked at 'Illegal read of: 1900', /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/compiler/rustc_query_system/src/dep_graph/graph.rs:430:25 stack backtrace: 0: 0x7fc9de799ddc - std::backtrace_rs::backtrace::libunwind::trace::ha3637b3c0a861212 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x7fc9de799ddc - std::backtrace_rs::backtrace::trace_unsynchronized::h2c7dd9005e79db2c at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x7fc9de799ddc - std::sys_common::backtrace::_print_fmt::h535713dd93ee3c4c at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/sys_common/backtrace.rs:67:5 3: 0x7fc9de799ddc - ::fmt::h809b14467d02e889 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/sys_common/backtrace.rs:46:22 4: 0x7fc9de7faacc - core::fmt::write::hfc294fc83dcee4ed at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/fmt/mod.rs:1168:17 5: 0x7fc9de789223 - std::io::Write::write_fmt::hb5e396607431a94e at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/io/mod.rs:1660:15 6: 0x7fc9de79e2a2 - std::sys_common::backtrace::_print::h9bcdf538cc0baa96 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/sys_common/backtrace.rs:49:5 7: 0x7fc9de79e2a2 - std::sys_common::backtrace::print::h1894f7bda2e9749e at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/sys_common/backtrace.rs:36:9 8: 0x7fc9de79e2a2 - std::panicking::default_hook::{{closure}}::h72e7816d2f69f0f3 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:211:50 9: 0x7fc9de79de85 - std::panicking::default_hook::h0f9ba2d0bf41751d at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:228:9 10: 0x557098d1fc71 - clippy_driver[a57d3109d2c88021]::ICE_HOOK::{closure#0}::{closure#0} 11: 0x7fc9bbb36c53 - as core::ops::function::Fn>::call::h46017d5df20d1d94 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/alloc/src/boxed.rs:1868:9 12: 0x7fc9bbb2e8bd - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::h18f2211960119b1b at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/proc_macro/src/bridge/client.rs:320:21 13: 0x7fc9de79ea55 - std::panicking::rust_panic_with_hook::h77b08086e8fd7014 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:610:17 14: 0x7fc9de79e750 - std::panicking::begin_panic_handler::{{closure}}::h86a9fb7321178c78 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:502:13 15: 0x7fc9de79a284 - std::sys_common::backtrace::__rust_end_short_backtrace::hf75ec59528a554e3 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/sys_common/backtrace.rs:139:18 16: 0x7fc9de79e489 - rust_begin_unwind at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:498:5 17: 0x7fc9de766091 - core::panicking::panic_fmt::h0312adda7686837c at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:110:14 18: 0x7fc9e0966ec8 - ::read_deps::<>::read_index::{closure#0}> 19: 0x7fc9dfa2dd17 - ::default_span 20: 0x7fc9dfa2dc65 - ::default_span 21: 0x7fc9df9f4dd8 - rustc_query_impl[ea08178a414b5ba2]::make_query::typeck 22: 0x7fc9df7d7b57 - >::try_collect_active_jobs:: 23: 0x7fc9df889b69 - ::try_collect_active_jobs 24: 0x7fc9df993ae4 - ::try_print_query_stack 25: 0x7fc9df081192 - rustc_interface[f7c79f79624a12a1]::interface::try_print_query_stack 26: 0x557098d20144 - clippy_driver[a57d3109d2c88021]::ICE_HOOK::{closure#0}::{closure#0} 27: 0x7fc9bbb36c53 - as core::ops::function::Fn>::call::h46017d5df20d1d94 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/alloc/src/boxed.rs:1868:9 28: 0x7fc9bbb2e8bd - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::h18f2211960119b1b at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/proc_macro/src/bridge/client.rs:320:21 29: 0x7fc9de79ea55 - std::panicking::rust_panic_with_hook::h77b08086e8fd7014 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:610:17 30: 0x7fc9de79e750 - std::panicking::begin_panic_handler::{{closure}}::h86a9fb7321178c78 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:502:13 31: 0x7fc9de79a284 - std::sys_common::backtrace::__rust_end_short_backtrace::hf75ec59528a554e3 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/sys_common/backtrace.rs:139:18 32: 0x7fc9de79e489 - rust_begin_unwind at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/panicking.rs:498:5 33: 0x7fc9de766091 - core::panicking::panic_fmt::h0312adda7686837c at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:110:14 34: 0x7fc9de7f78c1 - core::panicking::panic_display::h75f31532ffadd574 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:65:5 35: 0x7fc9de7f786b - core::panicking::panic_str::hd2d1afb38e5acd1c at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/panicking.rs:56:5 36: 0x7fc9de765f86 - core::option::expect_failed::h309fd7dd0bd2cfd0 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/core/src/option.rs:1817:5 37: 0x7fc9dfc08478 - ::expn_hash_to_expn_id 38: 0x7fc9e142d9e8 - >::decode 39: 0x7fc9e142dfd5 - >::decode 40: 0x7fc9e092baa1 - ::with_position::<>::decode::{closure#0}::{closure#0}, core[f6f20b0b833b28a5]::result::Result> 41: 0x7fc9e0967be1 - >::decode 42: 0x7fc9e0962fd3 - >::decode 43: 0x7fc9e0962adf - >::decode 44: 0x7fc9e0924f87 - ::read_seq::, as rustc_serialize[eb5d5fc2ae477600]::serialize::Decodable>::decode::{closure#0}> 45: 0x7fc9e13b1337 - >::decode 46: 0x7fc9e090cecb - >::decode 47: 0x7fc9e095b651 - <&rustc_middle[d9ad3b9b3f9b63c]::ty::TyS as rustc_serialize[eb5d5fc2ae477600]::serialize::Decodable>::decode 48: 0x7fc9e095b51b - <&rustc_middle[d9ad3b9b3f9b63c]::ty::TyS as rustc_serialize[eb5d5fc2ae477600]::serialize::Decodable>::decode 49: 0x7fc9e0929e16 - ::read_map::>, > as rustc_serialize[eb5d5fc2ae477600]::serialize::Decodable>::decode::{closure#0}> 50: 0x7fc9e13b15d1 - >::decode::{closure#0} 51: 0x7fc9e13b0616 - <&rustc_middle[d9ad3b9b3f9b63c]::ty::context::TypeckResults as rustc_serialize[eb5d5fc2ae477600]::serialize::Decodable>::decode 52: 0x7fc9e13cf159 - ::try_load_query_result::<&rustc_middle[d9ad3b9b3f9b63c]::ty::context::TypeckResults> 53: 0x7fc9e14472eb - ::with_deps::::{closure#0}, core[f6f20b0b833b28a5]::option::Option<&rustc_middle[d9ad3b9b3f9b63c]::ty::context::TypeckResults>> 54: 0x7fc9e13ea6b6 - >::with_query_deserialization::::{closure#0}, core[f6f20b0b833b28a5]::option::Option<&rustc_middle[d9ad3b9b3f9b63c]::ty::context::TypeckResults>> 55: 0x7fc9e1314378 - rustc_query_system[dcc6614447579642]::query::plumbing::try_load_from_disk_and_cache_in_memory:: 56: 0x7fc9e088fe58 - rustc_query_system[dcc6614447579642]::query::plumbing::try_execute_query::> 57: 0x7fc9e09028dc - ::typeck 58: 0x7fc9e0d0ebb9 - ::typeck_body 59: 0x7fc9e0583afa - rustc_hir[ebdd9bfeeb1adf15]::intravisit::walk_item:: 60: 0x7fc9e05b1a33 - rustc_passes[dcc89b61a571e5ae]::dead::check_crate 61: 0x7fc9e0e842dc - as core[f6f20b0b833b28a5]::ops::function::FnOnce<()>>::call_once 62: 0x7fc9e0e85b88 - as core[f6f20b0b833b28a5]::ops::function::FnOnce<()>>::call_once 63: 0x7fc9e0e81ee8 - ::time::<(), rustc_interface[f7c79f79624a12a1]::passes::analysis::{closure#5}> 64: 0x7fc9e0e5c69c - rustc_interface[f7c79f79624a12a1]::passes::analysis 65: 0x7fc9e1417b96 - >::with_task::> 66: 0x7fc9e137de63 - rustc_data_structures[1a3073cb50ea1b79]::stack::ensure_sufficient_stack::<(core[f6f20b0b833b28a5]::result::Result<(), rustc_errors[485aba9431bcc220]::ErrorReported>, rustc_query_system[dcc6614447579642]::dep_graph::graph::DepNodeIndex), rustc_query_system[dcc6614447579642]::query::plumbing::execute_job>::{closure#3}> 67: 0x7fc9e12ff896 - rustc_query_system[dcc6614447579642]::query::plumbing::try_execute_query::>> 68: 0x7fc9e1358ec5 - rustc_query_system[dcc6614447579642]::query::plumbing::get_query:: 69: 0x7fc9e0e3d5b2 - ::enter::, rustc_errors[485aba9431bcc220]::ErrorReported>> 70: 0x7fc9e0e1f1bc - rustc_span[182ed4cd9b77ad97]::with_source_map::, rustc_interface[f7c79f79624a12a1]::interface::create_compiler_and_run, rustc_driver[ba85af5a3faca1ca]::run_compiler::{closure#1}>::{closure#1}> 71: 0x7fc9e0e3c99e - rustc_interface[f7c79f79624a12a1]::interface::create_compiler_and_run::, rustc_driver[ba85af5a3faca1ca]::run_compiler::{closure#1}> 72: 0x7fc9e0e2071b - >::set::, rustc_driver[ba85af5a3faca1ca]::run_compiler::{closure#1}>::{closure#0}, core[f6f20b0b833b28a5]::result::Result<(), rustc_errors[485aba9431bcc220]::ErrorReported>>::{closure#0}::{closure#0}, core[f6f20b0b833b28a5]::result::Result<(), rustc_errors[485aba9431bcc220]::ErrorReported>> 73: 0x7fc9e0e20515 - std[9432d0c51efaabbd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[ba85af5a3faca1ca]::run_compiler::{closure#1}>::{closure#0}, core[f6f20b0b833b28a5]::result::Result<(), rustc_errors[485aba9431bcc220]::ErrorReported>>::{closure#0}, core[f6f20b0b833b28a5]::result::Result<(), rustc_errors[485aba9431bcc220]::ErrorReported>> 74: 0x7fc9e0e4cf59 - <::spawn_unchecked, rustc_driver[ba85af5a3faca1ca]::run_compiler::{closure#1}>::{closure#0}, core[f6f20b0b833b28a5]::result::Result<(), rustc_errors[485aba9431bcc220]::ErrorReported>>::{closure#0}, core[f6f20b0b833b28a5]::result::Result<(), rustc_errors[485aba9431bcc220]::ErrorReported>>::{closure#1} as core[f6f20b0b833b28a5]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 75: 0x7fc9de7a9fa3 - as core::ops::function::FnOnce>::call_once::h05cfa6de3f0fd517 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/alloc/src/boxed.rs:1854:9 76: 0x7fc9de7a9fa3 - as core::ops::function::FnOnce>::call_once::h7c4cbc94ca7a9672 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/alloc/src/boxed.rs:1854:9 77: 0x7fc9de7a9fa3 - std::sys::unix::thread::Thread::new::thread_start::h0a107fcebf1d0941 at /rustc/092e1c9d23158d81be27bb6f71bdd0c6282478fb/library/std/src/sys/unix/thread.rs:108:17 78: 0x7fc9de696259 - start_thread 79: 0x7fc9de4795e3 - __GI___clone 80: 0x0 - 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-clippy/issues/new note: Clippy version: clippy 0.1.59 (092e1c9 2022-01-09) query stack during panic: end of query stack thread panicked while panicking. aborting. error: could not compile `onagre` Caused by: process didn't exit successfully: `/home/okno/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name onagre --edition=2018 src/bin/onagre.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type bin --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="cli"' --cfg 'feature="default"' --cfg 'feature="structopt"' -C metadata=fe86f096a74d30e7 -C extra-filename=-fe86f096a74d30e7 --out-dir /home/okno/_Workshop/MyRepos/onagre/target/debug/deps -C incremental=/home/okno/_Workshop/MyRepos/onagre/target/debug/incremental -L dependency=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps --extern anyhow=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libanyhow-d8d6b94df8ca867a.rmeta --extern async_process=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libasync_process-2fab36783c4ef6db.rmeta --extern async_std=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libasync_std-08c6787661df1143.rmeta --extern config=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libconfig-6c6615a3976910d2.rmeta --extern dirs=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libdirs-aacd6b6c613dd5a0.rmeta --extern env_logger=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libenv_logger-0bd084ff4b746ce5.rmeta --extern font_kit=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libfont_kit-48ef6565556a67af.rmeta --extern fuzzy_matcher=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libfuzzy_matcher-db8382c875211e86.rmeta --extern glob=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libglob-9e9384b5fe3c4620.rmeta --extern iced=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libiced-2aa9fa1923e37910.rmeta --extern iced_native=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libiced_native-5ad1058d52de6f7d.rmeta --extern iced_style=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libiced_style-18cffc9a0fe36cb4.rmeta --extern ico=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libico-8e46cf08c48fd3a6.rmeta --extern lazy_static=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/liblazy_static-3ab14ef94a1f89cf.rmeta --extern log=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/liblog-371d842a80d5af45.rmeta --extern onagre=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libonagre-96c1681e7f545c21.rmeta --extern palette=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libpalette-609c9ce524e3f977.rmeta --extern pop_launcher=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libpop_launcher-bb113cec51d4853b.rmeta --extern ron=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libron-3bf45b61f56960c8.rmeta --extern serde=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libserde-15b1aa4f4d954160.rmeta --extern serde_ini=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libserde_ini-ab320d3359ac8ec9.rmeta --extern serde_json=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libserde_json-50ed5ce38cfddf36.rmeta --extern shell_words=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libshell_words-af9f5e22fa583173.rmeta --extern skim=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libskim-322cf6ce700217a6.rmeta --extern sled=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libsled-22eb0ab69c93648d.rmeta --extern structopt=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libstructopt-632df0d955077d16.rmeta --extern toml=/home/okno/_Workshop/MyRepos/onagre/target/debug/deps/libtoml-57ae1f7dfed0443d.rmeta -L native=/usr/lib -L native=/usr/lib -L native=/usr/lib` (signal: 4, SIGILL: illegal instruction) ```
digama0 commented 2 years ago

I also ran into this issue today. No small test case yet, my repro:

  1. clone https://github.com/digama0/mm0/tree/clippy_bug
  2. cd mm0-rs
  3. cargo +nightly clippy --all-features
Backtrace ``` warning: unreachable `pub` field --> components/mmcc/src/mir_opt/storage.rs:48:3 | 48 | pub size: u64, | ---^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` | note: the lint level is defined here --> components/mmcc/src/lib.rs:20:3 | 20 | unreachable_pub, | ^^^^^^^^^^^^^^^ warning: unreachable `pub` field --> components/mmcc/src/mir_opt/storage.rs:49:3 | 49 | pub on_stack: bool, | ---^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` warning: unreachable `pub` field --> components/mmcc/src/mir_opt/storage.rs:71:3 | 71 | pub m: Meta, | ---^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` warning: unreachable `pub` field --> components/mmcc/src/mir_opt/storage.rs:72:3 | 72 | pub vars: Vec, | ---^^^^^^^^^^^^^^^^^ | | | help: consider restricting its visibility: `pub(crate)` warning: `mmcc` (lib) generated 4 warnings Checking mm0-rs v0.1.0 (/home/mario/Documents/metamath/metamath0/mm0-rs) thread 'rustc' panicked at 'no entry found for key', compiler/rustc_metadata/src/rmeta/decoder.rs:1640:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new note: Clippy version: clippy 0.1.59 (89b9f7b 2022-01-10) query stack during panic: thread 'rustc' panicked at 'Illegal read of: 34410', /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/compiler/rustc_query_system/src/dep_graph/graph.rs:430:25 stack backtrace: 0: 0x7ff48da1be2c - std::backtrace_rs::backtrace::libunwind::trace::hee56aa883c63acb5 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x7ff48da1be2c - std::backtrace_rs::backtrace::trace_unsynchronized::he7cac0994dc78c4c at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x7ff48da1be2c - std::sys_common::backtrace::_print_fmt::hdc12a102f76753bd at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/sys_common/backtrace.rs:67:5 3: 0x7ff48da1be2c - ::fmt::hf7faa06c147903ce at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/sys_common/backtrace.rs:46:22 4: 0x7ff48da7cb1c - core::fmt::write::h66e8369cb6d370fa at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/core/src/fmt/mod.rs:1168:17 5: 0x7ff48da0b273 - std::io::Write::write_fmt::h74797452eefbc651 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/io/mod.rs:1653:15 6: 0x7ff48da202f2 - std::sys_common::backtrace::_print::h82e64c28f7109909 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/sys_common/backtrace.rs:49:5 7: 0x7ff48da202f2 - std::sys_common::backtrace::print::hef2d97a7e889059a at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/sys_common/backtrace.rs:36:9 8: 0x7ff48da202f2 - std::panicking::default_hook::{{closure}}::hc4f2f631c593350e at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:211:50 9: 0x7ff48da1fed5 - std::panicking::default_hook::he01061695065e502 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:228:9 10: 0x55bf8f8e3a61 - clippy_driver[4696d5b89c4de1d5]::ICE_HOOK::{closure#0}::{closure#0} 11: 0x7ff474449e73 - as core::ops::function::Fn>::call::h09fc8008263806a9 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/alloc/src/boxed.rs:1868:9 12: 0x7ff47444b2bd - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::hf3ab70d46169598c at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/proc_macro/src/bridge/client.rs:320:21 13: 0x7ff48da20aa5 - std::panicking::rust_panic_with_hook::h3ad36e38c2432eec at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:610:17 14: 0x7ff48da207a0 - std::panicking::begin_panic_handler::{{closure}}::hc909e1e15fb3ebac at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:502:13 15: 0x7ff48da1c2d4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfcf0febb37587b3d at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/sys_common/backtrace.rs:139:18 16: 0x7ff48da204d9 - rust_begin_unwind at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:498:5 17: 0x7ff48d9e80e1 - core::panicking::panic_fmt::h6a50bf58d4eb52b4 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/core/src/panicking.rs:110:14 18: 0x7ff48fbeb58c - ::read_deps::<>::read_index::{closure#0}> 19: 0x7ff48fb89432 - ::opt_def_kind 20: 0x7ff48eb38b31 - ::def_kind:: 21: 0x7ff48ec42c35 - >>::with::>::describe::{closure#0}, alloc[fda8cd89518443b]::string::String>::{closure#0}, alloc[fda8cd89518443b]::string::String> 22: 0x7ff48ecbd5c8 - >::describe 23: 0x7ff48ec58437 - >>::with::::{closure#0}, alloc[fda8cd89518443b]::string::String> 24: 0x7ff48ec4d899 - >>::with::::{closure#0}, alloc[fda8cd89518443b]::string::String> 25: 0x7ff48ec6f565 - rustc_query_impl[1a0f6329139f4bdf]::make_query::type_of 26: 0x7ff48ea5b42b - >::try_collect_active_jobs:: 27: 0x7ff48eb0ca0b - ::try_collect_active_jobs 28: 0x7ff48ec17624 - ::try_print_query_stack 29: 0x7ff48e303922 - rustc_interface[11117f0be3129212]::interface::try_print_query_stack 30: 0x55bf8f8e3f34 - clippy_driver[4696d5b89c4de1d5]::ICE_HOOK::{closure#0}::{closure#0} 31: 0x7ff474449e73 - as core::ops::function::Fn>::call::h09fc8008263806a9 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/alloc/src/boxed.rs:1868:9 32: 0x7ff47444b2bd - proc_macro::bridge::client::::enter::{{closure}}::{{closure}}::hf3ab70d46169598c at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/proc_macro/src/bridge/client.rs:320:21 33: 0x7ff48da20aa5 - std::panicking::rust_panic_with_hook::h3ad36e38c2432eec at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:610:17 34: 0x7ff48da207a0 - std::panicking::begin_panic_handler::{{closure}}::hc909e1e15fb3ebac at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:502:13 35: 0x7ff48da1c2d4 - std::sys_common::backtrace::__rust_end_short_backtrace::hfcf0febb37587b3d at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/sys_common/backtrace.rs:139:18 36: 0x7ff48da204d9 - rust_begin_unwind at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/panicking.rs:498:5 37: 0x7ff48d9e80e1 - core::panicking::panic_fmt::h6a50bf58d4eb52b4 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/core/src/panicking.rs:110:14 38: 0x7ff48da79911 - core::panicking::panic_display::h5e1c7590c7b288ad at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/core/src/panicking.rs:65:5 39: 0x7ff48da798bb - core::panicking::panic_str::he1517cd19c9a9397 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/core/src/panicking.rs:56:5 40: 0x7ff48d9e7fd6 - core::option::expect_failed::h50803b3eaf026992 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/core/src/option.rs:1817:5 41: 0x7ff48ee8bb68 - ::expn_hash_to_expn_id 42: 0x7ff49065efc8 - >::decode 43: 0x7ff490662f35 - >::decode 44: 0x7ff48fbb0a11 - ::with_position::<>::decode::{closure#0}::{closure#0}, core[764d4fa4047e6cd7]::result::Result> 45: 0x7ff48fbec2b1 - >::decode 46: 0x7ff48fbe7bc3 - >::decode 47: 0x7ff48fbe76cf - >::decode 48: 0x7ff48fbaa367 - ::read_seq::, as rustc_serialize[7551927e345bc7b0]::serialize::Decodable>::decode::{closure#0}> 49: 0x7ff490638357 - >::decode 50: 0x7ff48fb9254b - >::decode 51: 0x7ff48fbdf3a1 - <&rustc_middle[c28a39089ade0ee0]::ty::TyS as rustc_serialize[7551927e345bc7b0]::serialize::Decodable>::decode 52: 0x7ff48fbdf26b - <&rustc_middle[c28a39089ade0ee0]::ty::TyS as rustc_serialize[7551927e345bc7b0]::serialize::Decodable>::decode 53: 0x7ff490655279 - ::try_load_query_result::<&rustc_middle[c28a39089ade0ee0]::ty::TyS> 54: 0x7ff4906d1c0b - ::with_deps::::{closure#0}, core[764d4fa4047e6cd7]::option::Option<&rustc_middle[c28a39089ade0ee0]::ty::TyS>> 55: 0x7ff490673306 - >::with_query_deserialization::::{closure#0}, core[764d4fa4047e6cd7]::option::Option<&rustc_middle[c28a39089ade0ee0]::ty::TyS>> 56: 0x7ff48fb3319e - rustc_query_system[9128b41c1b585745]::query::plumbing::try_load_from_disk_and_cache_in_memory:: 57: 0x7ff48fb7d77c - ::type_of 58: 0x7ff48f723e71 - ::visit_item 59: 0x7ff48f6f807b - ::visit_all_item_likes:: 60: 0x7ff4903aad57 - rustc_typeck[9aa096f4aef92648]::outlives::inferred_outlives_crate 61: 0x7ff48ec8e300 - ::with_deps::<>::with_task_impl::{closure#0}, rustc_middle[c28a39089ade0ee0]::ty::CratePredicatesMap> 62: 0x7ff48ebdca21 - >::with_task:: 63: 0x7ff48eb06acc - rustc_data_structures[d97a00af90db2ea8]::stack::ensure_sufficient_stack::<(rustc_middle[c28a39089ade0ee0]::ty::CratePredicatesMap, rustc_query_system[9128b41c1b585745]::dep_graph::graph::DepNodeIndex), rustc_query_system[9128b41c1b585745]::query::plumbing::execute_job::{closure#3}> 64: 0x7ff49054c84b - rustc_query_system[9128b41c1b585745]::query::plumbing::try_execute_query::> 65: 0x7ff48eaac67a - rustc_query_system[9128b41c1b585745]::query::plumbing::force_query:: 66: 0x7ff48eb44116 - rustc_query_impl[1a0f6329139f4bdf]::query_callbacks::inferred_outlives_crate::force_from_dep_node 67: 0x7ff490939e41 - ::try_force_from_dep_node 68: 0x7ff48fbc0947 - >::try_mark_previous_green:: 69: 0x7ff48fbc00f6 - >::try_mark_previous_green:: 70: 0x7ff48fbc00f6 - >::try_mark_previous_green:: 71: 0x7ff48fbc00f6 - >::try_mark_previous_green:: 72: 0x7ff48fb33df6 - rustc_query_system[9128b41c1b585745]::query::plumbing::ensure_must_run:: 73: 0x7ff4905d430a - rustc_query_system[9128b41c1b585745]::query::plumbing::get_query:: 74: 0x7ff4903a4612 - ::for_each_module:: 75: 0x7ff49036079a - ::track_errors:: 76: 0x7ff49034bbcd - rustc_typeck[9aa096f4aef92648]::check_crate 77: 0x7ff4900de007 - rustc_interface[11117f0be3129212]::passes::analysis 78: 0x7ff4906a06f6 - >::with_task::> 79: 0x7ff4906052f3 - rustc_data_structures[d97a00af90db2ea8]::stack::ensure_sufficient_stack::<(core[764d4fa4047e6cd7]::result::Result<(), rustc_errors[106e1e27ea6e8b93]::ErrorReported>, rustc_query_system[9128b41c1b585745]::dep_graph::graph::DepNodeIndex), rustc_query_system[9128b41c1b585745]::query::plumbing::execute_job>::{closure#3}> 80: 0x7ff490586de6 - rustc_query_system[9128b41c1b585745]::query::plumbing::try_execute_query::>> 81: 0x7ff4905df885 - rustc_query_system[9128b41c1b585745]::query::plumbing::get_query:: 82: 0x7ff4900bf4e2 - ::enter::, rustc_errors[106e1e27ea6e8b93]::ErrorReported>> 83: 0x7ff4900a110c - rustc_span[e53caedf36619d5c]::with_source_map::, rustc_interface[11117f0be3129212]::interface::create_compiler_and_run, rustc_driver[124b6e8ee7de516c]::run_compiler::{closure#1}>::{closure#1}> 84: 0x7ff4900be8ce - rustc_interface[11117f0be3129212]::interface::create_compiler_and_run::, rustc_driver[124b6e8ee7de516c]::run_compiler::{closure#1}> 85: 0x7ff4900a266b - >::set::, rustc_driver[124b6e8ee7de516c]::run_compiler::{closure#1}>::{closure#0}, core[764d4fa4047e6cd7]::result::Result<(), rustc_errors[106e1e27ea6e8b93]::ErrorReported>>::{closure#0}::{closure#0}, core[764d4fa4047e6cd7]::result::Result<(), rustc_errors[106e1e27ea6e8b93]::ErrorReported>> 86: 0x7ff4900a2465 - std[916c2bf46ef025b0]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver[124b6e8ee7de516c]::run_compiler::{closure#1}>::{closure#0}, core[764d4fa4047e6cd7]::result::Result<(), rustc_errors[106e1e27ea6e8b93]::ErrorReported>>::{closure#0}, core[764d4fa4047e6cd7]::result::Result<(), rustc_errors[106e1e27ea6e8b93]::ErrorReported>> 87: 0x7ff4900cee89 - <::spawn_unchecked, rustc_driver[124b6e8ee7de516c]::run_compiler::{closure#1}>::{closure#0}, core[764d4fa4047e6cd7]::result::Result<(), rustc_errors[106e1e27ea6e8b93]::ErrorReported>>::{closure#0}, core[764d4fa4047e6cd7]::result::Result<(), rustc_errors[106e1e27ea6e8b93]::ErrorReported>>::{closure#1} as core[764d4fa4047e6cd7]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 88: 0x7ff48da2bff3 - as core::ops::function::FnOnce>::call_once::h2bcfd99b08705230 at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/alloc/src/boxed.rs:1854:9 89: 0x7ff48da2bff3 - as core::ops::function::FnOnce>::call_once::h0f130cf6103d60eb at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/alloc/src/boxed.rs:1854:9 90: 0x7ff48da2bff3 - std::sys::unix::thread::Thread::new::thread_start::h6f8833ccf099272e at /rustc/89b9f7b284aacc5f8613438b80e4dd7bdd10549e/library/std/src/sys/unix/thread.rs:108:17 91: 0x7ff48d927609 - start_thread at /build/glibc-eX1tMB/glibc-2.31/nptl/pthread_create.c:477:8 92: 0x7ff48d6fd293 - clone 93: 0x0 - 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-clippy/issues/new note: Clippy version: clippy 0.1.59 (89b9f7b 2022-01-10) query stack during panic: end of query stack thread panicked while panicking. aborting. error: could not compile `mm0-rs` Caused by: process didn't exit successfully: `/home/mario/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name mm0_rs --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,future-incompat --crate-type lib --emit=dep-info,metadata -C opt-level=1 -C embed-bitcode=no -C debuginfo=2 -C debug-assertions=on --cfg 'feature="console_error_panic_hook"' --cfg 'feature="crossbeam"' --cfg 'feature="default"' --cfg 'feature="doc"' --cfg 'feature="im"' --cfg 'feature="log"' --cfg 'feature="lsp-server"' --cfg 'feature="lsp-types"' --cfg 'feature="memory"' --cfg 'feature="mm0_deepsize"' --cfg 'feature="mmc"' --cfg 'feature="mmcc"' --cfg 'feature="pulldown-cmark"' --cfg 'feature="server"' --cfg 'feature="simplelog"' --cfg 'feature="wasm"' --cfg 'feature="wasm-bindgen"' --cfg 'feature="web-sys"' --cfg 'feature="webbrowser"' -C metadata=6bc72f77a701a416 -C extra-filename=-6bc72f77a701a416 --out-dir /home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps -C incremental=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/incremental -L dependency=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps --extern annotate_snippets=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libannotate_snippets-875410ed26dfbf8d.rmeta --extern arrayvec=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libarrayvec-0ad8b0cec5d465d7.rmeta --extern bit_set=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libbit_set-ff10f61be44cedf1.rmeta --extern bitflags=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libbitflags-ee49b3869c090e89.rmeta --extern byteorder=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libbyteorder-f309046b7021481c.rmeta --extern clap=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libclap-8b806bfcbbf16325.rmeta --extern console_error_panic_hook=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libconsole_error_panic_hook-6877ae1170998355.rmeta --extern crossbeam=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libcrossbeam-11982d114607cc57.rmeta --extern debug_derive=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libdebug_derive-52a1e82e34990454.so --extern either=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libeither-5d2ecade070acff7.rmeta --extern futures=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libfutures-4d952f04b6d6742a.rmeta --extern if_chain=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libif_chain-21d7b56eefe7be93.rmeta --extern im=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libim-2c3c9eaadb16a749.rmeta --extern itertools=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libitertools-ad337e1629ab3fd2.rmeta --extern lazy_static=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/liblazy_static-b61a3a0fa73f42a2.rmeta --extern libc=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/liblibc-f1cac1156cac34b6.rmeta --extern log=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/liblog-ea4174e4d99bd5b6.rmeta --extern lsp_server=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/liblsp_server-adf519234cfc191e.rmeta --extern lsp_types=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/liblsp_types-0892b7b9aa0f3d92.rmeta --extern memchr=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmemchr-8472f24c35f7f96a.rmeta --extern memmap=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmemmap-17d206594fdcb258.rmeta --extern mm0_deepsize=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmm0_deepsize-0074986b30949035.rmeta --extern mm0_deepsize_derive=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmm0_deepsize_derive-276704ecfbb44c4d.so --extern mm0_util=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmm0_util-3e5c51f90f907c58.rmeta --extern mm0b_parser=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmm0b_parser-4272487a27cd9157.rmeta --extern mm1_parser=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmm1_parser-49a3541b1e06418a.rmeta --extern mmcc=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libmmcc-ca57761324b5d151.rmeta --extern num=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libnum-68a16c317cb7f302.rmeta --extern owning_ref=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libowning_ref-8508b22a7767e4c8.rmeta --extern pathdiff=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libpathdiff-2cb6afefb8a60555.rmeta --extern pretty=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libpretty-a4d3dabf67ca41e1.rmeta --extern procinfo=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libprocinfo-43a788844c75f90a.rmeta --extern pulldown_cmark=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libpulldown_cmark-5a82b3d9c781c413.rmeta --extern serde=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libserde-a25343cf052ea568.rmeta --extern serde_json=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libserde_json-12fb2ee328c1c724.rmeta --extern serde_repr=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libserde_repr-028e9dd184f736dc.so --extern simplelog=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libsimplelog-e78ea1bd55a8c4ef.rmeta --extern typed_arena=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libtyped_arena-e4e10d0ba11095ce.rmeta --extern wasm_bindgen=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libwasm_bindgen-45122cb13029d8f9.rmeta --extern web_sys=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libweb_sys-24fe80b86b79959a.rmeta --extern webbrowser=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libwebbrowser-f267d03c0bcf8660.rmeta --extern zerocopy=/home/mario/Documents/metamath/metamath0/mm0-rs/target/debug/deps/libzerocopy-ce8ede519d97159b.rmeta` (signal: 4, SIGILL: illegal instruction) ```
digama0 commented 2 years ago

I am having difficulty minimizing the bug. Many small changes that should not change the meaning of the code seem to cause the bug to disappear, and CI has not replicated the bug, although I can reliably trigger it locally, so I would guess it is a memory error of some kind, and hopefully the stack trace will be good enough to track this one down.

Alexendoo commented 2 years ago

This sounds like https://github.com/rust-lang/rust/issues/92667

mohe2015 commented 1 year ago

Maybe close this as the referenced bug is closed? Didn't check though that it's fixed.