Advertisement
Guest User

Untitled

a guest
May 21st, 2020
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.00 KB | None | 0 0
  1. Fresh unicode-xid v0.2.0
  2. Fresh cfg-if v0.1.10
  3. Fresh slab v0.4.2
  4. Fresh arc-swap v0.4.6
  5. Fresh pin-project-lite v0.1.5
  6. Fresh fnv v1.0.7
  7. Fresh lazy_static v1.4.0
  8. Fresh bytes v0.5.4
  9. Fresh futures-core v0.3.5
  10. Fresh libc v0.2.70
  11. Fresh proc-macro2 v1.0.13
  12. Fresh log v0.4.8
  13. Fresh iovec v0.1.4
  14. Fresh net2 v0.2.34
  15. Fresh num_cpus v1.13.0
  16. Fresh signal-hook-registry v1.2.0
  17. Fresh memchr v2.3.3
  18. Fresh quote v1.0.6
  19. Fresh mio v0.6.22
  20. Fresh syn v1.0.23
  21. Fresh mio-uds v0.6.8
  22. Fresh tokio-macros v0.2.5
  23. Fresh tokio v0.2.21
  24. Compiling panic_test v0.1.0 (/mnt/storage/Projects/Rust/panic_test)
  25. 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`
  26. error: internal compiler error: src/librustc_middle/ich/impls_ty.rs:97: StableHasher: unexpected region '_#16r
  27.  
  28. thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:907:9
  29. stack backtrace:
  30. 0: backtrace::backtrace::libunwind::trace
  31. at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86
  32. 1: backtrace::backtrace::trace_unsynchronized
  33. at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66
  34. 2: std::sys_common::backtrace::_print_fmt
  35. at src/libstd/sys_common/backtrace.rs:78
  36. 3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
  37. at src/libstd/sys_common/backtrace.rs:59
  38. 4: core::fmt::write
  39. at src/libcore/fmt/mod.rs:1069
  40. 5: std::io::Write::write_fmt
  41. at src/libstd/io/mod.rs:1537
  42. 6: std::sys_common::backtrace::_print
  43. at src/libstd/sys_common/backtrace.rs:62
  44. 7: std::sys_common::backtrace::print
  45. at src/libstd/sys_common/backtrace.rs:49
  46. 8: std::panicking::default_hook::{{closure}}
  47. at src/libstd/panicking.rs:198
  48. 9: std::panicking::default_hook
  49. at src/libstd/panicking.rs:218
  50. 10: rustc_driver::report_ice
  51. 11: <alloc::boxed::Box<F> as core::ops::function::Fn<A>>::call
  52. at /home/nitsuga/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/liballoc/boxed.rs:1048
  53. 12: proc_macro::bridge::client::<impl proc_macro::bridge::Bridge>::enter::{{closure}}::{{closure}}
  54. at /home/nitsuga/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libproc_macro/bridge/client.rs:318
  55. 13: std::panicking::rust_panic_with_hook
  56. at src/libstd/panicking.rs:490
  57. 14: std::panicking::begin_panic
  58. 15: rustc_errors::HandlerInner::bug
  59. 16: rustc_errors::Handler::bug
  60. 17: rustc_middle::util::bug::opt_span_bug_fmt::{{closure}}
  61. 18: rustc_middle::ty::context::tls::with_opt::{{closure}}
  62. 19: rustc_middle::ty::context::tls::with_opt
  63. 20: rustc_middle::util::bug::opt_span_bug_fmt
  64. 21: rustc_middle::util::bug::bug_fmt
  65. 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
  66. 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
  67. 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
  68. 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
  69. 26: rustc_query_system::dep_graph::dep_node::DepNode<K>::construct
  70. 27: rustc_query_system::query::plumbing::get_query_impl
  71. 28: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::error_reporting::suggestions::InferCtxtExt>::suggest_await_before_try
  72. 29: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::error_reporting::InferCtxtExt>::report_selection_error
  73. 30: <rustc_infer::infer::InferCtxt as rustc_trait_selection::traits::error_reporting::InferCtxtExt>::report_fulfillment_errors
  74. 31: rustc_typeck::check::FnCtxt::check_argument_types
  75. 32: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::confirm_builtin_call
  76. 33: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::check_call
  77. 34: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  78. 35: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  79. 36: rustc_typeck::check::FnCtxt::check_argument_types
  80. 37: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::confirm_builtin_call
  81. 38: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::check_call
  82. 39: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  83. 40: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  84. 41: rustc_typeck::check::_match::<impl rustc_typeck::check::FnCtxt>::check_match
  85. 42: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  86. 43: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  87. 44: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_coercable_to_type
  88. 45: rustc_typeck::check::FnCtxt::check_decl_local
  89. 46: rustc_typeck::check::FnCtxt::check_stmt
  90. 47: rustc_typeck::check::FnCtxt::check_block_with_expected
  91. 48: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  92. 49: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  93. 50: rustc_typeck::check::FnCtxt::check_block_with_expected
  94. 51: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  95. 52: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  96. 53: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_return_expr
  97. 54: rustc_typeck::check::check_fn
  98. 55: rustc_typeck::check::closure::<impl rustc_typeck::check::FnCtxt>::check_expr_closure
  99. 56: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  100. 57: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  101. 58: rustc_typeck::check::FnCtxt::check_argument_types
  102. 59: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::confirm_builtin_call
  103. 60: rustc_typeck::check::callee::<impl rustc_typeck::check::FnCtxt>::check_call
  104. 61: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  105. 62: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  106. 63: rustc_typeck::check::FnCtxt::check_argument_types
  107. 64: rustc_typeck::check::FnCtxt::check_method_argument_types
  108. 65: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  109. 66: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  110. 67: rustc_typeck::check::FnCtxt::check_block_with_expected
  111. 68: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind
  112. 69: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs
  113. 70: rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_return_expr
  114. 71: rustc_typeck::check::check_fn
  115. 72: rustc_middle::ty::context::GlobalCtxt::enter_local
  116. 73: rustc_typeck::check::typeck_tables_of
  117. 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
  118. 75: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
  119. 76: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
  120. 77: rustc_query_system::query::plumbing::get_query_impl
  121. 78: rustc_typeck::check::typeck_tables_of
  122. 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
  123. 80: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
  124. 81: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
  125. 82: rustc_query_system::query::plumbing::get_query_impl
  126. 83: rustc_query_system::query::plumbing::ensure_query_impl
  127. 84: rustc_typeck::check::typeck_item_bodies
  128. 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
  129. 86: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
  130. 87: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
  131. 88: rustc_query_system::query::plumbing::get_query_impl
  132. 89: rustc_typeck::check_crate
  133. 90: rustc_interface::passes::analysis
  134. 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
  135. 92: rustc_middle::dep_graph::<impl rustc_query_system::dep_graph::DepKind for rustc_middle::dep_graph::dep_node::DepKind>::with_deps
  136. 93: rustc_query_system::dep_graph::graph::DepGraph<K>::with_task_impl
  137. 94: rustc_data_structures::stack::ensure_sufficient_stack
  138. 95: rustc_query_system::query::plumbing::get_query_impl
  139. 96: rustc_middle::ty::context::tls::enter_global
  140. 97: rustc_interface::interface::run_compiler_in_existing_thread_pool
  141. 98: scoped_tls::ScopedKey<T>::set
  142. 99: rustc_ast::attr::with_globals
  143. note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
  144.  
  145. note: the compiler unexpectedly panicked. this is a bug.
  146.  
  147. note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
  148.  
  149. note: rustc 1.45.0-nightly (d8878868c 2020-05-18) running on x86_64-unknown-linux-gnu
  150.  
  151. note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin
  152.  
  153. note: some of the compiler flags provided by cargo are hidden
  154.  
  155. query stack during panic:
  156. #0 [typeck_tables_of] type-checking `main`
  157. #1 [typeck_tables_of] type-checking `main::{{closure}}#0`
  158. #2 [typeck_item_bodies] type-checking all item bodies
  159. #3 [analysis] running analysis passes on this crate
  160. end of query stack
  161. error: aborting due to previous error
  162.  
  163. error: could not compile `panic_test`.
  164.  
  165. Caused by:
  166. 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