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
rust-toolchain
[toolchain] channel = "nightly-2023-05-22"
Error:
Compiling proc-macro2 v1.0.66 Compiling unicode-ident v1.0.11 Compiling syn v1.0.109 Compiling quote v1.0.32 Compiling mocktopus_macros v0.7.11 Compiling mocktopus v0.8.0 (/Users/nakul/Desktop/Interlay_Work/node/Mocktopus) error: internal compiler error: compiler/rustc_mir_transform/src/inline.rs:218:17: Closure arguments are not passed as a tuple thread 'rustc' panicked at 'Box<dyn Any>', /rustc/9d871b0617a4b3d6610b7cee0ab5310dcb542c62/compiler/rustc_errors/src/lib.rs:1650:9 stack backtrace: 0: 0x1050658bc - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h84fb7a2eef9fa1d5 1: 0x1050b5440 - core::fmt::write::hb8f162ba79a9c034 2: 0x10505baac - std::io::Write::write_fmt::hdb74d1f604c0d8d5 3: 0x105065710 - std::sys_common::backtrace::print::hc70fdb926c554e1a 4: 0x105068138 - std::panicking::default_hook::{{closure}}::h11360731ad02108a 5: 0x105067f40 - std::panicking::default_hook::h90515361fedf76c0 6: 0x10d4767c0 - rustc_driver_impl[5b12807db965d18]::install_ice_hook::{closure#0} 7: 0x10506874c - std::panicking::rust_panic_with_hook::h461ced5d23076c93 8: 0x11122ca74 - std[4671ad90c8ab6e8a]::panicking::begin_panic::<rustc_errors[2586db2a718e4cc3]::ExplicitBug>::{closure#0} 9: 0x111226bb0 - std[4671ad90c8ab6e8a]::sys_common::backtrace::__rust_end_short_backtrace::<std[4671ad90c8ab6e8a]::panicking::begin_panic<rustc_errors[2586db2a718e4cc3]::ExplicitBug>::{closure#0}, !> 10: 0x1117f48a4 - std[4671ad90c8ab6e8a]::panicking::begin_panic::<rustc_errors[2586db2a718e4cc3]::ExplicitBug> 11: 0x11121c640 - <rustc_errors[2586db2a718e4cc3]::HandlerInner>::bug::<alloc[af67b4eb86e77e50]::string::String> 12: 0x11121c43c - <rustc_errors[2586db2a718e4cc3]::Handler>::bug::<alloc[af67b4eb86e77e50]::string::String> 13: 0x1112e83b0 - rustc_middle[81647bcb7a4fa7ea]::util::bug::opt_span_bug_fmt::<rustc_span[fccf3693f863ba51]::span_encoding::Span>::{closure#0} 14: 0x1112e57c8 - rustc_middle[81647bcb7a4fa7ea]::ty::context::tls::with_opt::<rustc_middle[81647bcb7a4fa7ea]::util::bug::opt_span_bug_fmt<rustc_span[fccf3693f863ba51]::span_encoding::Span>::{closure#0}, !>::{closure#0} 15: 0x1112e5794 - rustc_middle[81647bcb7a4fa7ea]::ty::context::tls::with_context_opt::<rustc_middle[81647bcb7a4fa7ea]::ty::context::tls::with_opt<rustc_middle[81647bcb7a4fa7ea]::util::bug::opt_span_bug_fmt<rustc_span[fccf3693f863ba51]::span_encoding::Span>::{closure#0}, !>::{closure#0}, !> 16: 0x1117f99c8 - rustc_middle[81647bcb7a4fa7ea]::util::bug::bug_fmt 17: 0x10fc9164c - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::try_inlining 18: 0x10fc90564 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::process_blocks 19: 0x10fc8ff78 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inline as rustc_middle[81647bcb7a4fa7ea]::mir::MirPass>::run_pass 20: 0x10fc33090 - <rustc_session[50cc074d29650554]::session::Session>::time::<(), rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner::{closure#3}> 21: 0x10fc8df40 - rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner 22: 0x10fc7f058 - rustc_mir_transform[a54a3a0301c2dfc3]::optimized_mir 23: 0x110736030 - rustc_query_impl[8a3f80555515e63b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>> 24: 0x1106f3ff4 - <rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[515967dce72642d9]::ops::function::FnOnce<(rustc_middle[81647bcb7a4fa7ea]::ty::context::TyCtxt, rustc_span[fccf3693f863ba51]::def_id::DefId)>>::call_once 25: 0x1105c1b80 - rustc_query_system[4b3017a5fd182e2]::query::plumbing::try_execute_query::<rustc_query_impl[8a3f80555515e63b]::DynamicConfig<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[8a3f80555515e63b]::plumbing::QueryCtxt, false> 26: 0x110686460 - rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace 27: 0x1111acb68 - rustc_middle[81647bcb7a4fa7ea]::query::plumbing::query_get_at::<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>> 28: 0x1111b1500 - <rustc_middle[81647bcb7a4fa7ea]::ty::context::TyCtxt>::instance_mir 29: 0x10fc90d48 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::try_inlining 30: 0x10fc90564 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::process_blocks 31: 0x10fc8ff78 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inline as rustc_middle[81647bcb7a4fa7ea]::mir::MirPass>::run_pass 32: 0x10fc33090 - <rustc_session[50cc074d29650554]::session::Session>::time::<(), rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner::{closure#3}> 33: 0x10fc8df40 - rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner 34: 0x10fc7f058 - rustc_mir_transform[a54a3a0301c2dfc3]::optimized_mir 35: 0x110736030 - rustc_query_impl[8a3f80555515e63b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>> 36: 0x1106f3ff4 - <rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[515967dce72642d9]::ops::function::FnOnce<(rustc_middle[81647bcb7a4fa7ea]::ty::context::TyCtxt, rustc_span[fccf3693f863ba51]::def_id::DefId)>>::call_once 37: 0x1105c1b80 - rustc_query_system[4b3017a5fd182e2]::query::plumbing::try_execute_query::<rustc_query_impl[8a3f80555515e63b]::DynamicConfig<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[8a3f80555515e63b]::plumbing::QueryCtxt, false> 38: 0x110686460 - rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace 39: 0x1111acb68 - rustc_middle[81647bcb7a4fa7ea]::query::plumbing::query_get_at::<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>> 40: 0x1111b1500 - <rustc_middle[81647bcb7a4fa7ea]::ty::context::TyCtxt>::instance_mir 41: 0x10fc90d48 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::try_inlining 42: 0x10fc90564 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::process_blocks 43: 0x10fc8ff78 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inline as rustc_middle[81647bcb7a4fa7ea]::mir::MirPass>::run_pass 44: 0x10fc33090 - <rustc_session[50cc074d29650554]::session::Session>::time::<(), rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner::{closure#3}> 45: 0x10fc8df40 - rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner 46: 0x10fc7f058 - rustc_mir_transform[a54a3a0301c2dfc3]::optimized_mir 47: 0x110736030 - rustc_query_impl[8a3f80555515e63b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>> 48: 0x1106f3ff4 - <rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[515967dce72642d9]::ops::function::FnOnce<(rustc_middle[81647bcb7a4fa7ea]::ty::context::TyCtxt, rustc_span[fccf3693f863ba51]::def_id::DefId)>>::call_once 49: 0x1105c1b80 - rustc_query_system[4b3017a5fd182e2]::query::plumbing::try_execute_query::<rustc_query_impl[8a3f80555515e63b]::DynamicConfig<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[8a3f80555515e63b]::plumbing::QueryCtxt, false> 50: 0x110686460 - rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace 51: 0x1111acb68 - rustc_middle[81647bcb7a4fa7ea]::query::plumbing::query_get_at::<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>> 52: 0x1111b1500 - <rustc_middle[81647bcb7a4fa7ea]::ty::context::TyCtxt>::instance_mir 53: 0x10fc90d48 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::try_inlining 54: 0x10fc90564 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inliner>::process_blocks 55: 0x10fc8ff78 - <rustc_mir_transform[a54a3a0301c2dfc3]::inline::Inline as rustc_middle[81647bcb7a4fa7ea]::mir::MirPass>::run_pass 56: 0x10fc33090 - <rustc_session[50cc074d29650554]::session::Session>::time::<(), rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner::{closure#3}> 57: 0x10fc8df40 - rustc_mir_transform[a54a3a0301c2dfc3]::pass_manager::run_passes_inner 58: 0x10fc7f058 - rustc_mir_transform[a54a3a0301c2dfc3]::optimized_mir 59: 0x110736030 - rustc_query_impl[8a3f80555515e63b]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2}::{closure#0}, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>> 60: 0x1106f3ff4 - <rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::dynamic_query::{closure#2} as core[515967dce72642d9]::ops::function::FnOnce<(rustc_middle[81647bcb7a4fa7ea]::ty::context::TyCtxt, rustc_span[fccf3693f863ba51]::def_id::DefId)>>::call_once 61: 0x1105c1b80 - rustc_query_system[4b3017a5fd182e2]::query::plumbing::try_execute_query::<rustc_query_impl[8a3f80555515e63b]::DynamicConfig<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[8a3f80555515e63b]::plumbing::QueryCtxt, false> 62: 0x110686460 - rustc_query_impl[8a3f80555515e63b]::query_impl::optimized_mir::get_query_non_incr::__rust_end_short_backtrace 63: 0x110b30a88 - rustc_middle[81647bcb7a4fa7ea]::query::plumbing::query_get_at::<rustc_query_system[4b3017a5fd182e2]::query::caches::DefaultCache<rustc_span[fccf3693f863ba51]::def_id::DefId, rustc_middle[81647bcb7a4fa7ea]::query::erase::Erased<[u8; 8usize]>>> 64: 0x110b35960 - <rustc_metadata[6b6b06b7de323b6]::rmeta::encoder::EncodeContext>::encode_crate_root 65: 0x110b41744 - rustc_metadata[6b6b06b7de323b6]::rmeta::encoder::encode_metadata_impl 66: 0x110a6d828 - rustc_data_structures[517a11b6e04d802c]::sync::join::<rustc_metadata[6b6b06b7de323b6]::rmeta::encoder::encode_metadata::{closure#0}, rustc_metadata[6b6b06b7de323b6]::rmeta::encoder::encode_metadata::{closure#1}, (), ()> 67: 0x110b40f88 - rustc_metadata[6b6b06b7de323b6]::rmeta::encoder::encode_metadata 68: 0x110b5b46c - rustc_metadata[6b6b06b7de323b6]::fs::encode_and_write_metadata 69: 0x10d538c04 - rustc_interface[b72e651d7d49001d]::passes::start_codegen 70: 0x10d53e6ec - <rustc_middle[81647bcb7a4fa7ea]::ty::context::GlobalCtxt>::enter::<<rustc_interface[b72e651d7d49001d]::queries::Queries>::ongoing_codegen::{closure#0}::{closure#0}, core[515967dce72642d9]::result::Result<alloc[af67b4eb86e77e50]::boxed::Box<dyn core[515967dce72642d9]::any::Any>, rustc_span[fccf3693f863ba51]::ErrorGuaranteed>> 71: 0x10d53c340 - <rustc_interface[b72e651d7d49001d]::queries::Queries>::ongoing_codegen 72: 0x10d477d70 - <rustc_interface[b72e651d7d49001d]::interface::Compiler>::enter::<rustc_driver_impl[5b12807db965d18]::run_compiler::{closure#1}::{closure#2}, core[515967dce72642d9]::result::Result<core[515967dce72642d9]::option::Option<rustc_interface[b72e651d7d49001d]::queries::Linker>, rustc_span[fccf3693f863ba51]::ErrorGuaranteed>> 73: 0x10d426fd4 - rustc_span[fccf3693f863ba51]::set_source_map::<core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>, rustc_interface[b72e651d7d49001d]::interface::run_compiler<core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>, rustc_driver_impl[5b12807db965d18]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> 74: 0x10d430738 - <scoped_tls[6f18bfeac7f82ce3]::ScopedKey<rustc_span[fccf3693f863ba51]::SessionGlobals>>::set::<rustc_interface[b72e651d7d49001d]::interface::run_compiler<core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>, rustc_driver_impl[5b12807db965d18]::run_compiler::{closure#1}>::{closure#0}, core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>> 75: 0x10d42b40c - std[4671ad90c8ab6e8a]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[b72e651d7d49001d]::util::run_in_thread_pool_with_globals<rustc_interface[b72e651d7d49001d]::interface::run_compiler<core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>, rustc_driver_impl[5b12807db965d18]::run_compiler::{closure#1}>::{closure#0}, core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>> 76: 0x10d425b24 - <<std[4671ad90c8ab6e8a]::thread::Builder>::spawn_unchecked_<rustc_interface[b72e651d7d49001d]::util::run_in_thread_pool_with_globals<rustc_interface[b72e651d7d49001d]::interface::run_compiler<core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>, rustc_driver_impl[5b12807db965d18]::run_compiler::{closure#1}>::{closure#0}, core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[515967dce72642d9]::result::Result<(), rustc_span[fccf3693f863ba51]::ErrorGuaranteed>>::{closure#1} as core[515967dce72642d9]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 77: 0x1050710b4 - std::sys::unix::thread::Thread::new::thread_start::h679c8f161818497e 78: 0x180acd06c - __pthread_deallocate 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 (9d871b061 2023-05-21) running on aarch64-apple-darwin 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 `mock_store::<impl at src/mock_store.rs:133:1: 133:35>::call` #1 [optimized_mir] optimizing MIR for `mock_store::<impl at src/mock_store.rs:120:1: 120:22>::call` #2 [optimized_mir] optimizing MIR for `mock_store::<impl at src/mock_store.rs:12:1: 12:15>::call` #3 [optimized_mir] optimizing MIR for `mocking::<impl at src/mocking.rs:100:1: 100:65>::call_mock::{closure#0}` end of query stack
The text was updated successfully, but these errors were encountered:
This should already be fixed on more recent nightlies unless something else is causing issues (rust-lang/rust#110833)
Sorry, something went wrong.
@nakul1010 this can be closed, right?
No branches or pull requests
rust-toolchain
Error:
The text was updated successfully, but these errors were encountered: