Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fresh unicode-xid v0.2.0
- Fresh cfg-if v0.1.10
- Fresh slab v0.4.2
- Fresh arc-swap v0.4.6
- Fresh pin-project-lite v0.1.5
- Fresh fnv v1.0.7
- Fresh lazy_static v1.4.0
- Fresh bytes v0.5.4
- Fresh futures-core v0.3.5
- Fresh libc v0.2.70
- Fresh proc-macro2 v1.0.13
- Fresh log v0.4.8
- Fresh iovec v0.1.4
- Fresh net2 v0.2.34
- Fresh num_cpus v1.13.0
- Fresh signal-hook-registry v1.2.0
- Fresh memchr v2.3.3
- Fresh quote v1.0.6
- Fresh mio v0.6.22
- Fresh syn v1.0.23
- Fresh mio-uds v0.6.8
- Fresh tokio-macros v0.2.5
- Fresh tokio v0.2.21
- Compiling panic_test v0.1.0 (/mnt/storage/Projects/Rust/panic_test)
- Running `rustc --crate-name panic_test --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=9689addaa171f633 -C extra-filename=-9689addaa171f633 --out-dir /mnt/storage/Projects/Rust/panic_test/target/debug/deps -C incremental=/mnt/storage/Projects/Rust/panic_test/target/debug/incremental -L dependency=/mnt/storage/Projects/Rust/panic_test/target/debug/deps --extern tokio=/mnt/storage/Projects/Rust/panic_test/target/debug/deps/libtokio-11ee39dd08cf6671.rlib`
- error: internal compiler error: src/librustc_middle/ich/impls_ty.rs:97: StableHasher: unexpected region '_#16r
- thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:907:9
- stack backtrace:
- 0: backtrace::backtrace::libunwind::trace
- at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
- 1: backtrace::backtrace::trace_unsynchronized
- at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
- 2: std::sys_common::backtrace::_print_fmt
- at src/libstd/sys_common/backtrace.rs:78
- 3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
- at src/libstd/sys_common/backtrace.rs:59
- 4: core::fmt::write
- at src/libcore/fmt/mod.rs:1069
- 5: std::io::Write::write_fmt
- at src/libstd/io/mod.rs:1537
- 6: std::sys_common::backtrace::_print
- at src/libstd/sys_common/backtrace.rs:62
- 7: std::sys_common::backtrace::print
- at src/libstd/sys_common/backtrace.rs:49
- 8: std::panicking::default_hook::{{closure}}
- at src/libstd/panicking.rs:198
- 9: std::panicking::default_hook
- at src/libstd/panicking.rs:218
- 10: rustc_driver::report_ice
- 11: <alloc::boxed::Box<F> as core::ops::function::Fn<A>>::call
- at /home/nitsuga/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/liballoc/boxed.rs:1048
- 12: proc_macro::bridge::client::<impl proc_macro::bridge::Bridge>::enter::{{closure}}::{{closure}}
- at /home/nitsuga/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libproc_macro/bridge/client.rs:318
- 13: std::panicking::rust_panic_with_hook
- at src/libstd/panicking.rs:490
- 14: std::panicking::begin_panic
- 15: rustc_errors::HandlerInner::bug
- 16: rustc_errors::Handler::bug
- 17: rustc_middle::util::bug::opt_span_bug_fmt::{{closure}}
- 18: rustc_middle::ty::context::tls::with_opt::{{closure}}
- 19: rustc_middle::ty::context::tls::with_opt
- 20: rustc_middle::util::bug::opt_span_bug_fmt
- 21: rustc_middle::util::bug::bug_fmt
- 22: rustc_middle::ich::impls_ty::<impl rustc_data_structures::stable_hasher::HashStable<rustc_middle::ich::hcx::StableHashingContext> for rustc_middle::ty::sty::RegionKind>::hash_stable
- 23: rustc_middle::ty::sty::_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_TyKind::<impl rustc_data_structures::stable_hasher::HashStable<rustc_middle::ich::hcx::StableHashingContext> for rustc_middle::ty::sty::TyKind>::hash_stable
- 24: rustc_middle::ich::impls_ty::<impl rustc_data_structures::stable_hasher::HashStable<rustc_middle::ich::hcx::StableHashingContext> for &rustc_middle::ty::list::List<T>>::hash_stable
- 25: rustc_middle::ty::sty::_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_middle_ich_StableHashingContext_ctx_FOR_TyKind::<impl rustc_data_structures::stable_hasher::HashStable<rustc_middle::ich::hcx::StableHashingContext> for rustc_middle::ty::sty::TyKind>::hash_stable
- 26: rustc_query_system::dep_graph::dep_node::DepNode<K>::construct
- 27: rustc_query_system::query::plumbing::get_query_impl
- 28: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::error_reporting::suggestions::InferCtxtExt>::suggest_await_before_try
- 29: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::error_reporting::InferCtxtExt>::report_selection_error
- 30: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::error_reporting::InferCtxtExt>::report_fulfillment_errors
- 31: rustc_typeck::check::FnCtxt::check_argument_types
- 32: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::confirm_builtin_call
- 33: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::check_call
- 34: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 35: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 36: rustc_typeck::check::FnCtxt::check_argument_types
- 37: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::confirm_builtin_call
- 38: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::check_call
- 39: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 40: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 41: rustc_typeck::check::_match::<impl rustc_typeck::check::FnCtxt>::check_match
- 42: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 43: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 44: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_coercable_to_type
- 45: rustc_typeck::check::FnCtxt::check_decl_local
- 46: rustc_typeck::check::FnCtxt::check_stmt
- 47: rustc_typeck::check::FnCtxt::check_block_with_expected
- 48: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 49: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 50: rustc_typeck::check::FnCtxt::check_block_with_expected
- 51: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 52: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 53: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_return_expr
- 54: rustc_typeck::check::check_fn
- 55: rustc_typeck::check::closure::<impl rustc_typeck::check::FnCtxt>::check_expr_closure
- 56: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 57: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 58: rustc_typeck::check::FnCtxt::check_argument_types
- 59: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::confirm_builtin_call
- 60: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::check_call
- 61: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 62: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 63: rustc_typeck::check::FnCtxt::check_argument_types
- 64: rustc_typeck::check::FnCtxt::check_method_argument_types
- 65: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 66: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 67: rustc_typeck::check::FnCtxt::check_block_with_expected
- 68: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
- 69: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
- 70: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_return_expr
- 71: rustc_typeck::check::check_fn
- 72: rustc_middle::ty::context::GlobalCtxt::enter_local
- 73: rustc_typeck::check::typeck_tables_of
- 74: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::typeck_tables_of>::compute
- 75: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
- 76: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
- 77: rustc_query_system::query::plumbing::get_query_impl
- 78: rustc_typeck::check::typeck_tables_of
- 79: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::typeck_tables_of>::compute
- 80: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
- 81: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
- 82: rustc_query_system::query::plumbing::get_query_impl
- 83: rustc_query_system::query::plumbing::ensure_query_impl
- 84: rustc_typeck::check::typeck_item_bodies
- 85: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::typeck_item_bodies>::compute
- 86: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
- 87: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
- 88: rustc_query_system::query::plumbing::get_query_impl
- 89: rustc_typeck::check_crate
- 90: rustc_interface::passes::analysis
- 91: rustc_middle::ty::query::<impl rustc_query_system::query::config::QueryAccessors<rustc_middle::ty::context::TyCtxt> for rustc_middle::ty::query::queries::analysis>::compute
- 92: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
- 93: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
- 94: rustc_data_structures::stack::ensure_sufficient_stack
- 95: rustc_query_system::query::plumbing::get_query_impl
- 96: rustc_middle::ty::context::tls::enter_global
- 97: rustc_interface::interface::run_compiler_in_existing_thread_pool
- 98: scoped_tls::ScopedKey<T>::set
- 99: rustc_ast::attr::with_globals
- note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
- note: the compiler unexpectedly panicked. this is a bug.
- note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
- note: rustc 1.45.0-nightly (d8878868c 2020-05-18) running on x86_64-unknown-linux-gnu
- note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin
- note: some of the compiler flags provided by cargo are hidden
- query stack during panic:
- #0 [typeck_tables_of] type-checking `main`
- #1 [typeck_tables_of] type-checking `main::{{closure}}#0`
- #2 [typeck_item_bodies] type-checking all item bodies
- #3 [analysis] running analysis passes on this crate
- end of query stack
- error: aborting due to previous error
- error: could not compile `panic_test`.
- Caused by:
- process didn't exit successfully: `rustc --crate-name panic_test --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -Cembed-bitcode=no -C debuginfo=2 -C metadata=9689addaa171f633 -C extra-filename=-9689addaa171f633 --out-dir /mnt/storage/Projects/Rust/panic_test/target/debug/deps -C incremental=/mnt/storage/Projects/Rust/panic_test/target/debug/incremental -L dependency=/mnt/storage/Projects/Rust/panic_test/target/debug/deps --extern tokio=/mnt/storage/Projects/Rust/panic_test/target/debug/deps/libtokio-11ee39dd08cf6671.rlib` (exit code: 101)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement