Closed
Description
Code
Unfortunately not open source :(
Meta
rustc --version --verbose
:
rustc 1.65.0-nightly (060e47f74 2022-08-23)
binary: rustc
commit-hash: 060e47f74a91b28c3db28d80a6a9d6841ca51026
commit-date: 2022-08-23
host: x86_64-unknown-linux-gnu
release: 1.65.0-nightly
LLVM version: 15.0.0
Error output
thread 'rustc' panicked at 'index out of bounds: the len is 20 but the index is 21', /cargo/registry/src/github.com-1ecc6299db9ec823/ena-0.14.0/src/snapshot_vec.rs:199:10
Backtrace
stack backtrace:
0: 0x7fbedc6e4750 - std::backtrace_rs::backtrace::libunwind::trace::h18bb8883b170e61e
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
1: 0x7fbedc6e4750 - std::backtrace_rs::backtrace::trace_unsynchronized::hfbfd04778228f53a
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7fbedc6e4750 - std::sys_common::backtrace::_print_fmt::hf014d9c7ceb4c50b
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:66:5
3: 0x7fbedc6e4750 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0cff30d852e41e28
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:45:22
4: 0x7fbedc73fa5e - core::fmt::write::hf3278c297bc3e8c3
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/core/src/fmt/mod.rs:1202:17
5: 0x7fbedc6d54d5 - std::io::Write::write_fmt::hb3fb7e9de918605f
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/io/mod.rs:1672:15
6: 0x7fbedc6e7413 - std::sys_common::backtrace::_print::hb735a2b0aa8c9126
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:48:5
7: 0x7fbedc6e7413 - std::sys_common::backtrace::print::h1d481f5d3b90ee64
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:35:9
8: 0x7fbedc6e7413 - std::panicking::default_hook::{{closure}}::h3cda275262afb117
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:295:22
9: 0x7fbedc6e70ff - std::panicking::default_hook::h2eba6d64b7e32862
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:314:9
10: 0x7fbedef354e4 - <rustc_driver[b627559a5a77e284]::DEFAULT_HOOK::{closure#0}::{closure#0} as core[e3f13d716672aa]::ops::function::FnOnce<(&core[e3f13d716672aa]::panic::panic_info::PanicInfo,)>>::call_once::{shim:vtable#0}
11: 0x7fbedc6e7c4d - std::panicking::rust_panic_with_hook::hfaad0ec4972467c1
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:702:17
12: 0x7fbedc6e7aa7 - std::panicking::begin_panic_handler::{{closure}}::h401c5684148433ac
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:588:13
13: 0x7fbedc6e4c5c - std::sys_common::backtrace::__rust_end_short_backtrace::h356ecf2a7ec67271
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:138:18
14: 0x7fbedc6e77c2 - rust_begin_unwind
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:584:5
15: 0x7fbedc73c573 - core::panicking::panic_fmt::h9555dfef52eae25e
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/core/src/panicking.rs:142:14
16: 0x7fbedc73c4b2 - core::panicking::panic_bounds_check::h268f3e44fb4a8967
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/core/src/panicking.rs:84:5
17: 0x7fbedd7f4555 - <rustc_infer[8c94015bdf1cc2e]::infer::ShallowResolver as rustc_middle[6ef9b5480e73cfb1]::ty::fold::TypeFolder>::fold_ty
18: 0x7fbedd7feeac - <&rustc_middle[6ef9b5480e73cfb1]::ty::list::List<rustc_middle[6ef9b5480e73cfb1]::ty::subst::GenericArg> as rustc_middle[6ef9b5480e73cfb1]::ty::fold::TypeFoldable>::try_fold_with::<rustc_infer[8c94015bdf1cc2e]::infer::resolve::OpportunisticVarResolver>
19: 0x7fbedd8028ad - <rustc_infer[8c94015bdf1cc2e]::infer::resolve::OpportunisticVarResolver as rustc_middle[6ef9b5480e73cfb1]::ty::fold::FallibleTypeFolder>::try_fold_ty
20: 0x7fbedfe00226 - <(rustc_middle[6ef9b5480e73cfb1]::ty::Ty, rustc_middle[6ef9b5480e73cfb1]::ty::Ty) as rustc_middle[6ef9b5480e73cfb1]::ty::fold::TypeFoldable>::fold_with::<rustc_infer[8c94015bdf1cc2e]::infer::resolve::OpportunisticVarResolver>
21: 0x7fbedfdd94d2 - <rustc_infer[8c94015bdf1cc2e]::infer::InferCtxt>::same_type_modulo_infer
22: 0x7fbedfddd7a8 - <rustc_infer[8c94015bdf1cc2e]::infer::InferCtxt>::note_type_err
23: 0x7fbedfdd52d5 - <rustc_infer[8c94015bdf1cc2e]::infer::InferCtxt>::report_and_explain_type_error
24: 0x7fbedda02915 - <rustc_infer[8c94015bdf1cc2e]::infer::InferCtxt>::report_mismatched_types
25: 0x7fbedf373ff1 - <rustc_typeck[aadb9ec028537447]::check::coercion::CoerceMany<&rustc_hir[bd2c63ffa7ad50d5]::hir::Expr>>::report_return_mismatched_types
26: 0x7fbedda42f97 - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_block_with_expected
27: 0x7fbedd9f1f10 - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
28: 0x7fbedd9f37ba - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
29: 0x7fbedda414f2 - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_block_with_expected
30: 0x7fbedd9f1f10 - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
31: 0x7fbede4c473d - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_return_expr
32: 0x7fbede4c1717 - rustc_typeck[aadb9ec028537447]::check::check::check_fn
33: 0x7fbeddad2162 - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_expr_closure
34: 0x7fbedd9f4a2b - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
35: 0x7fbeddaa951f - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_argument_types
36: 0x7fbedda47b1c - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_call
37: 0x7fbedd9f1d55 - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
38: 0x7fbede4c473d - <rustc_typeck[aadb9ec028537447]::check::fn_ctxt::FnCtxt>::check_return_expr
39: 0x7fbede4c1717 - rustc_typeck[aadb9ec028537447]::check::check::check_fn
40: 0x7fbede4b4699 - <rustc_infer[8c94015bdf1cc2e]::infer::InferCtxtBuilder>::enter::<&rustc_middle[6ef9b5480e73cfb1]::ty::context::TypeckResults, <rustc_typeck[aadb9ec028537447]::check::inherited::InheritedBuilder>::enter<rustc_typeck[aadb9ec028537447]::check::typeck_with_fallback<rustc_typeck[aadb9ec028537447]::check::typeck::{closure#0}>::{closure#1}, &rustc_middle[6ef9b5480e73cfb1]::ty::context::TypeckResults>::{closure#0}>
41: 0x7fbede4b2114 - rustc_typeck[aadb9ec028537447]::check::typeck
42: 0x7fbede5c209d - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, &rustc_middle[6ef9b5480e73cfb1]::ty::context::TypeckResults>
43: 0x7fbede5badb0 - rustc_query_system[de29291455c301da]::query::plumbing::try_execute_query::<rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt, rustc_query_system[de29291455c301da]::query::caches::DefaultCache<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, &rustc_middle[6ef9b5480e73cfb1]::ty::context::TypeckResults>>
44: 0x7fbedee351d8 - <rustc_query_impl[5395f6ed818941e6]::Queries as rustc_middle[6ef9b5480e73cfb1]::ty::query::QueryEngine>::typeck
45: 0x7fbede498062 - <rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt>::typeck_opt_const_arg
46: 0x7fbede496ad3 - rustc_mir_build[3f982504a0e6eb42]::build::mir_built
47: 0x7fbede32246a - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_middle[6ef9b5480e73cfb1]::ty::WithOptConstParam<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId>, &rustc_data_structures[3a72502e5e0c1988]::steal::Steal<rustc_middle[6ef9b5480e73cfb1]::mir::Body>>
48: 0x7fbede3213c1 - rustc_query_system[de29291455c301da]::query::plumbing::try_execute_query::<rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt, rustc_query_system[de29291455c301da]::query::caches::DefaultCache<rustc_middle[6ef9b5480e73cfb1]::ty::WithOptConstParam<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId>, &rustc_data_structures[3a72502e5e0c1988]::steal::Steal<rustc_middle[6ef9b5480e73cfb1]::mir::Body>>>
49: 0x7fbedee337b5 - <rustc_query_impl[5395f6ed818941e6]::Queries as rustc_middle[6ef9b5480e73cfb1]::ty::query::QueryEngine>::mir_built
50: 0x7fbeddf6cf80 - rustc_mir_transform[c6a7fd34a88c1b08]::check_unsafety::unsafety_check_result
51: 0x7fbeddf6ca18 - <rustc_mir_transform[c6a7fd34a88c1b08]::check_unsafety::provide::{closure#0} as core[e3f13d716672aa]::ops::function::FnOnce<(rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_span[bead5e57778f0b1b]::def_id::LocalDefId)>>::call_once
52: 0x7fbede372dcd - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, &rustc_middle[6ef9b5480e73cfb1]::mir::query::UnsafetyCheckResult>
53: 0x7fbede3719c0 - rustc_query_system[de29291455c301da]::query::plumbing::try_execute_query::<rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt, rustc_query_system[de29291455c301da]::query::caches::DefaultCache<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, &rustc_middle[6ef9b5480e73cfb1]::mir::query::UnsafetyCheckResult>>
54: 0x7fbedee34c9e - <rustc_query_impl[5395f6ed818941e6]::Queries as rustc_middle[6ef9b5480e73cfb1]::ty::query::QueryEngine>::unsafety_check_result
55: 0x7fbedd843ef3 - rustc_mir_transform[c6a7fd34a88c1b08]::mir_const
56: 0x7fbede32246a - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_middle[6ef9b5480e73cfb1]::ty::WithOptConstParam<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId>, &rustc_data_structures[3a72502e5e0c1988]::steal::Steal<rustc_middle[6ef9b5480e73cfb1]::mir::Body>>
57: 0x7fbede3213c1 - rustc_query_system[de29291455c301da]::query::plumbing::try_execute_query::<rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt, rustc_query_system[de29291455c301da]::query::caches::DefaultCache<rustc_middle[6ef9b5480e73cfb1]::ty::WithOptConstParam<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId>, &rustc_data_structures[3a72502e5e0c1988]::steal::Steal<rustc_middle[6ef9b5480e73cfb1]::mir::Body>>>
58: 0x7fbedee338ec - <rustc_query_impl[5395f6ed818941e6]::Queries as rustc_middle[6ef9b5480e73cfb1]::ty::query::QueryEngine>::mir_const
59: 0x7fbeddf5bc9a - rustc_mir_transform[c6a7fd34a88c1b08]::mir_promoted
60: 0x7fbede8e2508 - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_middle[6ef9b5480e73cfb1]::ty::WithOptConstParam<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId>, (&rustc_data_structures[3a72502e5e0c1988]::steal::Steal<rustc_middle[6ef9b5480e73cfb1]::mir::Body>, &rustc_data_structures[3a72502e5e0c1988]::steal::Steal<rustc_index[63944376592d2714]::vec::IndexVec<rustc_middle[6ef9b5480e73cfb1]::mir::Promoted, rustc_middle[6ef9b5480e73cfb1]::mir::Body>>)>
61: 0x7fbede8e1368 - rustc_query_system[de29291455c301da]::query::plumbing::get_query::<rustc_query_impl[5395f6ed818941e6]::queries::mir_promoted, rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt>
62: 0x7fbede8e08f7 - <rustc_query_impl[5395f6ed818941e6]::Queries as rustc_middle[6ef9b5480e73cfb1]::ty::query::QueryEngine>::mir_promoted
63: 0x7fbede7bd062 - rustc_borrowck[ed1d5f893b22c9ba]::mir_borrowck
64: 0x7fbede7bcb91 - <rustc_borrowck[ed1d5f893b22c9ba]::provide::{closure#0} as core[e3f13d716672aa]::ops::function::FnOnce<(rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_span[bead5e57778f0b1b]::def_id::LocalDefId)>>::call_once
65: 0x7fbede2cf53d - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, &rustc_middle[6ef9b5480e73cfb1]::mir::query::BorrowCheckResult>
66: 0x7fbede2ce80d - rustc_query_system[de29291455c301da]::query::plumbing::try_execute_query::<rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt, rustc_query_system[de29291455c301da]::query::caches::DefaultCache<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, &rustc_middle[6ef9b5480e73cfb1]::mir::query::BorrowCheckResult>>
67: 0x7fbede2cddda - <rustc_query_impl[5395f6ed818941e6]::Queries as rustc_middle[6ef9b5480e73cfb1]::ty::query::QueryEngine>::mir_borrowck
68: 0x7fbedeb9a39a - rustc_typeck[aadb9ec028537447]::collect::type_of::type_of
69: 0x7fbede3121f7 - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_span[bead5e57778f0b1b]::def_id::DefId, rustc_middle[6ef9b5480e73cfb1]::ty::Ty>
70: 0x7fbede31026b - rustc_query_system[de29291455c301da]::query::plumbing::get_query::<rustc_query_impl[5395f6ed818941e6]::queries::type_of, rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt>
71: 0x7fbede76d244 - rustc_typeck[aadb9ec028537447]::check::check::check_item_type
72: 0x7fbede76957e - rustc_typeck[aadb9ec028537447]::check::check::check_mod_item_types
73: 0x7fbeddd20df1 - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, ()>
74: 0x7fbeddd1fe92 - rustc_query_system[de29291455c301da]::query::plumbing::try_execute_query::<rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt, rustc_query_system[de29291455c301da]::query::caches::DefaultCache<rustc_span[bead5e57778f0b1b]::def_id::LocalDefId, ()>>
75: 0x7fbede95aec3 - rustc_query_system[de29291455c301da]::query::plumbing::get_query::<rustc_query_impl[5395f6ed818941e6]::queries::check_mod_item_types, rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt>
76: 0x7fbedec063dc - <rustc_middle[6ef9b5480e73cfb1]::hir::map::Map>::for_each_module::<rustc_typeck[aadb9ec028537447]::check_crate::{closure#6}::{closure#0}>
77: 0x7fbede8eb4f5 - rustc_typeck[aadb9ec028537447]::check_crate
78: 0x7fbede8eae37 - rustc_interface[bf5d5e33b83f0123]::passes::analysis
79: 0x7fbedecb7a02 - <rustc_query_system[de29291455c301da]::dep_graph::graph::DepGraph<rustc_middle[6ef9b5480e73cfb1]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6ef9b5480e73cfb1]::ty::context::TyCtxt, (), core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>
80: 0x7fbedecb7187 - rustc_query_system[de29291455c301da]::query::plumbing::try_execute_query::<rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt, rustc_query_system[de29291455c301da]::query::caches::DefaultCache<(), core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>>
81: 0x7fbedecb6c7e - rustc_query_system[de29291455c301da]::query::plumbing::get_query::<rustc_query_impl[5395f6ed818941e6]::queries::analysis, rustc_query_impl[5395f6ed818941e6]::plumbing::QueryCtxt>
82: 0x7fbede8314dd - <rustc_interface[bf5d5e33b83f0123]::passes::QueryContext>::enter::<rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>
83: 0x7fbede7ed24e - <rustc_interface[bf5d5e33b83f0123]::interface::Compiler>::enter::<rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}::{closure#2}, core[e3f13d716672aa]::result::Result<core[e3f13d716672aa]::option::Option<rustc_interface[bf5d5e33b83f0123]::queries::Linker>, rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>
84: 0x7fbede7e8d5c - rustc_span[bead5e57778f0b1b]::with_source_map::<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_interface[bf5d5e33b83f0123]::interface::create_compiler_and_run<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#1}>
85: 0x7fbede7e87d2 - rustc_interface[bf5d5e33b83f0123]::interface::create_compiler_and_run::<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>
86: 0x7fbede7e72c1 - <scoped_tls[c2b62212662a5735]::ScopedKey<rustc_span[bead5e57778f0b1b]::SessionGlobals>>::set::<rustc_interface[bf5d5e33b83f0123]::interface::run_compiler<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>
87: 0x7fbede7e6faf - std[bb5449232b08fe6e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[bf5d5e33b83f0123]::util::run_in_thread_pool_with_globals<rustc_interface[bf5d5e33b83f0123]::interface::run_compiler<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>
88: 0x7fbeded54059 - <<std[bb5449232b08fe6e]::thread::Builder>::spawn_unchecked_<rustc_interface[bf5d5e33b83f0123]::util::run_in_thread_pool_with_globals<rustc_interface[bf5d5e33b83f0123]::interface::run_compiler<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>::{closure#1} as core[e3f13d716672aa]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
89: 0x7fbedc6f17a3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd8b4f77c73b6de54
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/alloc/src/boxed.rs:1940:9
90: 0x7fbedc6f17a3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h396dcf115ad932d5
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/alloc/src/boxed.rs:1940:9
91: 0x7fbedc6f17a3 - std::sys::unix::thread::Thread::new::thread_start::h004395cd09d806b0
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys/unix/thread.rs:108:17
92: 0x7fbedc5bd609 - start_thread
at /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8
93: 0x7fbedc4e0133 - clone
at /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
94: 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.65.0-nightly (060e47f74 2022-08-23) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C linker=clang -C incremental -C link-arg=-fuse-ld=/home/dzenan/Code/extern/mold-1.4.1-x86_64-linux/bin/mold
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [typeck] type-checking `connector::<impl at sdk/src/connector/mod.rs:17:1: 17:15>::eth_blt_stream`
#1 [mir_built] building MIR for `connector::<impl at sdk/src/connector/mod.rs:17:1: 17:15>::eth_blt_stream`
#2 [unsafety_check_result] unsafety-checking `connector::<impl at sdk/src/connector/mod.rs:17:1: 17:15>::eth_blt_stream`
#3 [mir_const] processing MIR for `connector::<impl at sdk/src/connector/mod.rs:17:1: 17:15>::eth_blt_stream`
#4 [mir_promoted] processing `connector::<impl at sdk/src/connector/mod.rs:17:1: 17:15>::eth_blt_stream`
#5 [mir_borrowck] borrow-checking `connector::<impl at sdk/src/connector/mod.rs:17:1: 17:15>::eth_blt_stream`
#6 [type_of] computing type of `connector::<impl at sdk/src/connector/mod.rs:17:1: 17:15>::eth_blt_stream::{opaque#0}`
#7 [check_mod_item_types] checking item types in module `connector`
#8 [analysis] running analysis passes on this crate
end of query stack
error: internal compiler error: no errors encountered even though `delay_span_bug` issued
error: internal compiler error: `InferCtxt` incorrectly tainted by errors
|
= note: delayed at compiler/rustc_infer/src/infer/mod.rs:1247:27
error: internal compiler error: VecMap([(OpaqueTypeKey { def_id: DefId(0:461 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream::{opaque#0}), substs: [ReFree(DefId(0:460 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream), BrNamed(DefId(0:3222 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream::'_), '_)), ReFree(DefId(0:460 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream), BrNamed(DefId(0:3223 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream::'_#1), '_)), ReFree(DefId(0:460 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream), BrNamed(DefId(0:3224 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream::'_#2), '_))] }, OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: sdk/src/connector/mod.rs:26:10: 26:74 (#3163), ty: _ }, origin: AsyncFn(DefId(0:460 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream)) }), (OpaqueTypeKey { def_id: DefId(0:462 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream::{opaque#0}::{opaque#0}), substs: [] }, OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: sdk/src/connector/mod.rs:26:75: 32:6 (#0), ty: _ }, origin: FnReturn(DefId(0:460 ~ sdk[d779]::connector::{impl#0}::eth_blt_stream)) })])
|
= note: delayed at compiler/rustc_infer/src/infer/opaque_types/table.rs:50:26
thread 'rustc' panicked at 'Box<dyn Any>', compiler/rustc_errors/src/lib.rs:1487:13
stack backtrace:
0: 0x7fbedc6e4750 - std::backtrace_rs::backtrace::libunwind::trace::h18bb8883b170e61e
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
1: 0x7fbedc6e4750 - std::backtrace_rs::backtrace::trace_unsynchronized::hfbfd04778228f53a
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7fbedc6e4750 - std::sys_common::backtrace::_print_fmt::hf014d9c7ceb4c50b
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:66:5
3: 0x7fbedc6e4750 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0cff30d852e41e28
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:45:22
4: 0x7fbedc73fa5e - core::fmt::write::hf3278c297bc3e8c3
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/core/src/fmt/mod.rs:1202:17
5: 0x7fbedc6d54d5 - std::io::Write::write_fmt::hb3fb7e9de918605f
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/io/mod.rs:1672:15
6: 0x7fbedc6e7413 - std::sys_common::backtrace::_print::hb735a2b0aa8c9126
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:48:5
7: 0x7fbedc6e7413 - std::sys_common::backtrace::print::h1d481f5d3b90ee64
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys_common/backtrace.rs:35:9
8: 0x7fbedc6e7413 - std::panicking::default_hook::{{closure}}::h3cda275262afb117
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:295:22
9: 0x7fbedc6e70ff - std::panicking::default_hook::h2eba6d64b7e32862
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:314:9
10: 0x7fbedef354e4 - <rustc_driver[b627559a5a77e284]::DEFAULT_HOOK::{closure#0}::{closure#0} as core[e3f13d716672aa]::ops::function::FnOnce<(&core[e3f13d716672aa]::panic::panic_info::PanicInfo,)>>::call_once::{shim:vtable#0}
11: 0x7fbedc6e7c4d - std::panicking::rust_panic_with_hook::hfaad0ec4972467c1
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/panicking.rs:702:17
12: 0x7fbedfff6831 - std[bb5449232b08fe6e]::panicking::begin_panic::<rustc_errors[96dfb46f0b8980b]::ExplicitBug>::{closure#0}
13: 0x7fbedfff67e6 - std[bb5449232b08fe6e]::sys_common::backtrace::__rust_end_short_backtrace::<std[bb5449232b08fe6e]::panicking::begin_panic<rustc_errors[96dfb46f0b8980b]::ExplicitBug>::{closure#0}, !>
14: 0x7fbedfff1566 - std[bb5449232b08fe6e]::panicking::begin_panic::<rustc_errors[96dfb46f0b8980b]::ExplicitBug>
15: 0x7fbedfff3c86 - std[bb5449232b08fe6e]::panic::panic_any::<rustc_errors[96dfb46f0b8980b]::ExplicitBug>
16: 0x7fbede9f191e - <rustc_errors[96dfb46f0b8980b]::HandlerInner as core[e3f13d716672aa]::ops::drop::Drop>::drop
17: 0x7fbede841658 - core[e3f13d716672aa]::ptr::drop_in_place::<rustc_session[909454c3b87246db]::parse::ParseSess>
18: 0x7fbede7ea503 - <alloc[762648e69aa85342]::rc::Rc<rustc_session[909454c3b87246db]::session::Session> as core[e3f13d716672aa]::ops::drop::Drop>::drop
19: 0x7fbede7e9a6d - core[e3f13d716672aa]::ptr::drop_in_place::<rustc_interface[bf5d5e33b83f0123]::interface::Compiler>
20: 0x7fbede7e9130 - rustc_span[bead5e57778f0b1b]::with_source_map::<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_interface[bf5d5e33b83f0123]::interface::create_compiler_and_run<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#1}>
21: 0x7fbede7e87d2 - rustc_interface[bf5d5e33b83f0123]::interface::create_compiler_and_run::<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>
22: 0x7fbede7e72c1 - <scoped_tls[c2b62212662a5735]::ScopedKey<rustc_span[bead5e57778f0b1b]::SessionGlobals>>::set::<rustc_interface[bf5d5e33b83f0123]::interface::run_compiler<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>
23: 0x7fbede7e6faf - std[bb5449232b08fe6e]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[bf5d5e33b83f0123]::util::run_in_thread_pool_with_globals<rustc_interface[bf5d5e33b83f0123]::interface::run_compiler<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>
24: 0x7fbeded54059 - <<std[bb5449232b08fe6e]::thread::Builder>::spawn_unchecked_<rustc_interface[bf5d5e33b83f0123]::util::run_in_thread_pool_with_globals<rustc_interface[bf5d5e33b83f0123]::interface::run_compiler<core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>, rustc_driver[b627559a5a77e284]::run_compiler::{closure#1}>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>::{closure#0}, core[e3f13d716672aa]::result::Result<(), rustc_errors[96dfb46f0b8980b]::ErrorGuaranteed>>::{closure#1} as core[e3f13d716672aa]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
25: 0x7fbedc6f17a3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hd8b4f77c73b6de54
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/alloc/src/boxed.rs:1940:9
26: 0x7fbedc6f17a3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h396dcf115ad932d5
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/alloc/src/boxed.rs:1940:9
27: 0x7fbedc6f17a3 - std::sys::unix::thread::Thread::new::thread_start::h004395cd09d806b0
at /rustc/060e47f74a91b28c3db28d80a6a9d6841ca51026/library/std/src/sys/unix/thread.rs:108:17
28: 0x7fbedc5bd609 - start_thread
at /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8
29: 0x7fbedc4e0133 - clone
at /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95
30: 0x0 - <unknown>
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.65.0-nightly (060e47f74 2022-08-23) running on x86_64-unknown-linux-gnu
note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C linker=clang -C incremental -C link-arg=-fuse-ld=/home/dzenan/Code/extern/mold-1.4.1-x86_64-linux/bin/mold
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
end of query stack
thread panicked while panicking. aborting.
warning: `sdk` (lib) generated 2 warnings
error: could not compile `sdk`; 2 warnings emitted
Caused by:
process didn't exit successfully: `rustc --crate-name sdk --edition=2021 sdk/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="acala"' --cfg 'feature="connector"' --cfg 'feature="eth"' --cfg 'feature="http"' --cfg 'feature="ipc"' --cfg 'feature="message-bus"' --cfg 'feature="parity-scale-codec"' --cfg 'feature="serde_cbor"' --cfg 'feature="sp-core"' --cfg 'feature="sp-runtime"' --cfg 'feature="ws"' -C metadata=174f53caf58871c7 -C extra-filename=-174f53caf58871c7 --out-dir /home/dzenan/Code/Rust/superchain/superchain/target/debug/deps -C linker=clang -C incremental=/home/dzenan/Code/Rust/superchain/superchain/target/debug/incremental -L dependency=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps --extern arrow_util=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libarrow_util-b8d39efe21b42d04.rmeta --extern arrow2=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libarrow2-c22f646df522c2c8.rmeta --extern async_trait=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libasync_trait-f5af4a2c3ceddb6c.so --extern bytes=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libbytes-633be3454da42279.rmeta --extern ethers=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libethers-5e6166a437c49138.rmeta --extern ethers_contract=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libethers_contract-a1b06a2617f96e5f.rmeta --extern futures=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libfutures-8d70d6c76a475bdb.rmeta --extern hex=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libhex-df8306afd9dee15d.rmeta --extern ipc=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libipc-d732c42916aad08e.rmeta --extern jsonrpsee=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libjsonrpsee-8d662cd80e92e2f9.rmeta --extern log=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/liblog-2aea261907451eb5.rmeta --extern message_bus=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libmessage_bus-8158ffb713f5134e.rmeta --extern parity_scale_codec=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libparity_scale_codec-93e307bfa5445fd1.rmeta --extern reqwest=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libreqwest-1b408951e15585b2.rmeta --extern serde=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libserde-11e119888d79ed70.rmeta --extern serde_cbor=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libserde_cbor-b3ef7fc12a1e9bf3.rmeta --extern serde_json=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libserde_json-43bacfe40ad44ac8.rmeta --extern serde_tuple=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libserde_tuple-4a72fad9493248d4.rmeta --extern sp_core=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libsp_core-3483bf8f9b2f7c86.rmeta --extern sp_runtime=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libsp_runtime-66b925d4439bf7a5.rmeta --extern strum_macros=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libstrum_macros-15663595fde37b70.so --extern superchain_derive=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libsuperchain_derive-6a280d7984a1ba70.so --extern superchain_types=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libsuperchain_types-199e8bca86be0ac2.rmeta --extern thiserror=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libthiserror-9a8af7e30fec3a92.rmeta --extern tinyvec=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libtinyvec-bcbb3d77fd777e06.rmeta --extern tokio=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libtokio-96930841cee7a4f1.rmeta --extern tokio_tungstenite=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/libtokio_tungstenite-d728ec8a47b02b36.rmeta --extern url=/home/dzenan/Code/Rust/superchain/superchain/target/debug/deps/liburl-9e5c842ce02cea47.rmeta -C link-arg=-fuse-ld=/home/dzenan/Code/extern/mold-1.4.1-x86_64-linux/bin/mold -L native=/home/dzenan/Code/Rust/superchain/superchain/target/debug/build/lz4-sys-f5fa6abdba0f9f50/out -L native=/home/dzenan/Code/Rust/superchain/superchain/target/debug/build/zstd-sys-726fb26edd6d5887/out -L native=/home/dzenan/Code/Rust/superchain/superchain/target/debug/build/ring-7e64b4b6a054498a/out -L native=/home/dzenan/Code/Rust/superchain/superchain/target/debug/build/secp256k1-sys-9bda5baa5b921330/out -L native=/home/dzenan/Code/Rust/superchain/superchain/target/debug/build/sha2-asm-42e30d10467159c3/out -L native=/home/dzenan/Code/Rust/superchain/superchain/target/debug/build/sha2-asm-42e30d10467159c3/out` (signal: 6, SIGABRT: process abort signal)