We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Crash on nightly-2023-04-23
error: internal compiler error: compiler/rustc_mir_transform/src/inline.rs:208:17: Closure arguments are not passed as a tuple thread 'rustc' panicked at 'Box<dyn Any>', /rustc/7f94b314cead7059a71a265a8b64905ef2511796/compiler/rustc_errors/src/lib.rs:1643:9 stack backtrace: 0: 0x7f1e2ba65f33 - std::backtrace_rs::backtrace::libunwind::trace::h527d8d64d53ade2d at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 1: 0x7f1e2ba65f33 - std::backtrace_rs::backtrace::trace_unsynchronized::hfb55b01517dd6379 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x7f1e2ba65f33 - std::sys_common::backtrace::_print_fmt::hd134e914eea0bd97 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/sys_common/backtrace.rs:65:5 3: 0x7f1e2ba65f33 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h1480db11ec399d77 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/sys_common/backtrace.rs:44:22 4: 0x7f1e2bac6d4f - core::fmt::write::h67ec4c4171c92b26 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/core/src/fmt/mod.rs:1247:17 5: 0x7f1e2ba58ed1 - std::io::Write::write_fmt::h3b12aef0fff2463b at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/io/mod.rs:1712:15 6: 0x7f1e2ba65d45 - std::sys_common::backtrace::_print::h584400135abdbd51 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/sys_common/backtrace.rs:47:5 7: 0x7f1e2ba65d45 - std::sys_common::backtrace::print::hce41d3c8bd91096b at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/sys_common/backtrace.rs:34:9 8: 0x7f1e2ba6884f - std::panicking::default_hook::{{closure}}::h2043b657a3791225 9: 0x7f1e2ba68507 - std::panicking::default_hook::h99252b8d3dd5719c at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/panicking.rs:293:9 10: 0x7f1e2ecdc915 - <rustc_driver_impl[d30cd2737d9d343a]::DEFAULT_HOOK::{closure#0}::{closure#0} as core[cc19a662f3570270]::ops::function::FnOnce<(&core[cc19a662f3570270]::panic::panic_info::PanicInfo,)>>::call_once::{shim:vtable#0} 11: 0x7f1e2ba69005 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h222a2b674b9f4762 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/alloc/src/boxed.rs:1976:9 12: 0x7f1e2ba69005 - std::panicking::rust_panic_with_hook::h7f49b36bf7f8ff77 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/panicking.rs:704:13 13: 0x7f1e2f1d0931 - std[71a32ca0600a6a04]::panicking::begin_panic::<rustc_errors[6504f979c583f5cb]::ExplicitBug>::{closure#0} 14: 0x7f1e2f1ceef6 - std[71a32ca0600a6a04]::sys_common::backtrace::__rust_end_short_backtrace::<std[71a32ca0600a6a04]::panicking::begin_panic<rustc_errors[6504f979c583f5cb]::ExplicitBug>::{closure#0}, !> 15: 0x7f1e2f1b4816 - std[71a32ca0600a6a04]::panicking::begin_panic::<rustc_errors[6504f979c583f5cb]::ExplicitBug> 16: 0x7f1e2f2377a6 - <rustc_errors[6504f979c583f5cb]::HandlerInner>::bug::<&alloc[31b12c976b8d660]::string::String> 17: 0x7f1e2f237470 - <rustc_errors[6504f979c583f5cb]::Handler>::bug::<&alloc[31b12c976b8d660]::string::String> 18: 0x7f1e2f230acb - rustc_middle[bb083b0d5f0119e4]::util::bug::opt_span_bug_fmt::<rustc_span[9551eaa044f53f4f]::span_encoding::Span>::{closure#0} 19: 0x7f1e2f22e41a - rustc_middle[bb083b0d5f0119e4]::ty::context::tls::with_opt::<rustc_middle[bb083b0d5f0119e4]::util::bug::opt_span_bug_fmt<rustc_span[9551eaa044f53f4f]::span_encoding::Span>::{closure#0}, !>::{closure#0} 20: 0x7f1e2f22e3ea - rustc_middle[bb083b0d5f0119e4]::ty::context::tls::with_context_opt::<rustc_middle[bb083b0d5f0119e4]::ty::context::tls::with_opt<rustc_middle[bb083b0d5f0119e4]::util::bug::opt_span_bug_fmt<rustc_span[9551eaa044f53f4f]::span_encoding: :Span>::{closure#0}, !>::{closure#0}, !> 21: 0x7f1e2cedac5d - rustc_middle[bb083b0d5f0119e4]::util::bug::bug_fmt 22: 0x7f1e2dbff812 - <rustc_mir_transform[64351b74f6b43a55]::inline::Inliner>::try_inlining 23: 0x7f1e2dbf8e34 - <rustc_mir_transform[64351b74f6b43a55]::inline::Inliner>::process_blocks 24: 0x7f1e2dbf871f - <rustc_mir_transform[64351b74f6b43a55]::inline::Inline as rustc_middle[bb083b0d5f0119e4]::mir::MirPass>::run_pass 25: 0x7f1e2e0737c3 - rustc_mir_transform[64351b74f6b43a55]::optimized_mir 26: 0x7f1e2e071950 - rustc_query_system[1a377a8b6f66ffa1]::query::plumbing::try_execute_query::<rustc_query_impl[676b5616e96b3d6b]::queries::optimized_mir, rustc_query_impl[676b5616e96b3d6b]::plumbing::QueryCtxt> 27: 0x7f1e2df4fddc - <rustc_metadata[9b16796d473eaa76]::rmeta::encoder::EncodeContext>::encode_crate_root 28: 0x7f1e2dedb383 - rustc_metadata[9b16796d473eaa76]::rmeta::encoder::encode_metadata_impl 29: 0x7f1e2decfd61 - rustc_data_structures[c2b7e56340b9c22f]::sync::join::<rustc_metadata[9b16796d473eaa76]::rmeta::encoder::encode_metadata::{closure#0}, rustc_metadata[9b16796d473eaa76]::rmeta::encoder::encode_metadata::{closure#1}, (), ()> 30: 0x7f1e2decf98e - rustc_metadata[9b16796d473eaa76]::rmeta::encoder::encode_metadata 31: 0x7f1e2dece30d - rustc_metadata[9b16796d473eaa76]::fs::encode_and_write_metadata 32: 0x7f1e2dec7bc3 - rustc_interface[c2b70c9b1dae0906]::passes::start_codegen 33: 0x7f1e2dec2ce4 - <rustc_middle[bb083b0d5f0119e4]::ty::context::GlobalCtxt>::enter::<<rustc_interface[c2b70c9b1dae0906]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[cc19a662f3570270]::result::Result<alloc[31b12c976b8d660]::boxe d::Box<dyn core[cc19a662f3570270]::any::Any>, rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>> 34: 0x7f1e2dec08b8 - <rustc_interface[c2b70c9b1dae0906]::queries::Queries>::ongoing_codegen 35: 0x7f1e2dec009b - <rustc_interface[c2b70c9b1dae0906]::interface::Compiler>::enter::<rustc_driver_impl[d30cd2737d9d343a]::run_compiler::{closure#1}::{closure#2}, core[cc19a662f3570270]::result::Result<core[cc19a662f3570270]::option::Option<rustc_inter face[c2b70c9b1dae0906]::queries::Linker>, rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>> 36: 0x7f1e2debe08f - rustc_span[9551eaa044f53f4f]::set_source_map::<core[cc19a662f3570270]::result::Result<(), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>, rustc_interface[c2b70c9b1dae0906]::interface::run_compiler<core[cc19a662f3570270]::result::Res ult<(), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>, rustc_driver_impl[d30cd2737d9d343a]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> 37: 0x7f1e2debd720 - std[71a32ca0600a6a04]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[c2b70c9b1dae0906]::util::run_in_thread_pool_with_globals<rustc_interface[c2b70c9b1dae0906]::interface::run_compiler<core[cc19a662f3570270]: :result::Result<(), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>, rustc_driver_impl[d30cd2737d9d343a]::run_compiler::{closure#1}>::{closure#0}, core[cc19a662f3570270]::result::Result<(), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>>::{closure#0}::{closure #0}, core[cc19a662f3570270]::result::Result<(), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>> 38: 0x7f1e2debd041 - <<std[71a32ca0600a6a04]::thread::Builder>::spawn_unchecked_<rustc_interface[c2b70c9b1dae0906]::util::run_in_thread_pool_with_globals<rustc_interface[c2b70c9b1dae0906]::interface::run_compiler<core[cc19a662f3570270]::result::Result<( ), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>, rustc_driver_impl[d30cd2737d9d343a]::run_compiler::{closure#1}>::{closure#0}, core[cc19a662f3570270]::result::Result<(), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[cc19a66 2f3570270]::result::Result<(), rustc_span[9551eaa044f53f4f]::ErrorGuaranteed>>::{closure#1} as core[cc19a662f3570270]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 39: 0x7f1e2ba733e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf15d802f31f86225 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/alloc/src/boxed.rs:1962:9 40: 0x7f1e2ba733e5 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hac564355b46c52d6 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/alloc/src/boxed.rs:1962:9 41: 0x7f1e2ba733e5 - std::sys::unix::thread::Thread::new::thread_start::h86fb3aedb7811f07 at /rustc/7f94b314cead7059a71a265a8b64905ef2511796/library/std/src/sys/unix/thread.rs:108:17 42: 0x7f1e2b92a609 - start_thread at /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8 43: 0x7f1e2b84d133 - clone at /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95 44: 0x0 - <unknown> 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.71.0-nightly (7f94b314c 2023-04-23) running on x86_64-unknown-linux-gnu note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [optimized_mir] optimizing MIR for `convenience::<impl at /home/shou/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_traitobject-0.2.8/src/convenience.rs:159:1: 159:51>::call_mut` end of query stack
The text was updated successfully, but these errors were encountered:
Reverting rustc to nightly-2023-04-17 helps resolve the issue.
rustc
nightly-2023-04-17
rustup install nightly-2023-04-17 rustup default nightly-2023-04-17 rustup component add rust-src --toolchain nightly-2023-04-17
I think it's a rustc issue: rust-lang/rust#110829
Sorry, something went wrong.
No branches or pull requests
Crash on nightly-2023-04-23
The text was updated successfully, but these errors were encountered: