Created
July 29, 2018 21:32
-
-
Save cramertj/b5af0b93b1da88aeca4957bc796a2f68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0308]: mismatched types | |
--> /usr/local/google/home/cramertj/src/fuchsia/garnet/bin/wlancfg/src/client.rs:92:42 | |
| | |
92 | Ok(connected_state(services, next_req)) | |
| ^^^^^^^^ expected struct `futures::stream::StreamFuture`, found struct `std::mem::PinMut` | |
| | |
= note: expected type `futures::stream::StreamFuture<futures::channel::mpsc::UnboundedReceiver<client::ManualRequest>>` | |
found type `std::mem::PinMut<'_, futures::future::MaybeDone<&mut futures::stream::StreamFuture<futures::channel::mpsc::UnboundedReceiver<client::ManualRequest>>>>` | |
thread 'main' panicked at 'assertion failed: `(left == right)` | |
left: `DefId(0/1:33 ~ wlancfg[317d]::client[0]::connect_to_known_network[0]::{{closure}}[0])`, | |
right: `DefId(0/0:73 ~ wlancfg[317d]::client[0]::connect_to_known_network[0])`', librustc/middle/region.rs:761:9 | |
stack backtrace: | |
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace | |
1: std::sys_common::backtrace::print | |
2: std::panicking::default_hook::{{closure}} | |
3: std::panicking::default_hook | |
4: rustc::util::common::panic_hook | |
5: std::panicking::rust_panic_with_hook | |
6: std::panicking::continue_panic_fmt | |
7: std::panicking::begin_panic_fmt | |
8: rustc::middle::region::ScopeTree::free_scope | |
9: rustc::infer::lexical_region_resolve::LexicalResolver::expand_node | |
10: rustc::infer::lexical_region_resolve::resolve | |
11: rustc::infer::InferCtxt::resolve_regions_and_report_errors_inner | |
12: rustc_typeck::check::regionck::<impl rustc_typeck::check::FnCtxt<'a, 'gcx, 'tcx>>::regionck_fn | |
13: rustc::ty::context::tls::with_related_context | |
14: rustc::infer::InferCtxtBuilder::enter | |
15: rustc_typeck::check::typeck_tables_of | |
16: rustc::ty::query::__query_compute::typeck_tables_of | |
17: rustc::ty::query::<impl rustc::ty::query::config::QueryAccessors<'tcx> for rustc::ty::query::queries::typeck_tables_of<'tcx>>::compute | |
18: rustc::dep_graph::graph::DepGraph::with_task_impl | |
19: rustc::ty::context::tls::with_related_context | |
20: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::force_query_with_job | |
21: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::get_query | |
22: rustc::ty::query::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::typeck_tables_of | |
23: rustc_typeck::check::typeck_tables_of | |
24: rustc::ty::query::__query_compute::typeck_tables_of | |
25: rustc::ty::query::<impl rustc::ty::query::config::QueryAccessors<'tcx> for rustc::ty::query::queries::typeck_tables_of<'tcx>>::compute | |
26: rustc::dep_graph::graph::DepGraph::with_task_impl | |
27: rustc::ty::context::tls::with_related_context | |
28: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::force_query_with_job | |
29: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::get_query | |
30: rustc::ty::query::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::typeck_tables_of | |
31: rustc_typeck::collect::type_of | |
32: rustc::ty::query::__query_compute::type_of | |
33: rustc::ty::query::<impl rustc::ty::query::config::QueryAccessors<'tcx> for rustc::ty::query::queries::type_of<'tcx>>::compute | |
34: rustc::dep_graph::graph::DepGraph::with_task_impl | |
35: rustc::ty::context::tls::with_related_context | |
36: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::force_query_with_job | |
37: rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::get_query | |
38: rustc::ty::query::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::type_of | |
39: <rustc_typeck::collect::CollectItemTypesVisitor<'a, 'tcx> as rustc::hir::intravisit::Visitor<'tcx>>::visit_expr | |
40: rustc::hir::intravisit::walk_expr | |
41: rustc::hir::intravisit::Visitor::visit_fn | |
42: rustc::hir::intravisit::walk_item | |
43: <rustc_typeck::collect::CollectItemTypesVisitor<'a, 'tcx> as rustc::hir::intravisit::Visitor<'tcx>>::visit_item | |
44: rustc::hir::Crate::visit_all_item_likes | |
45: rustc::util::common::time | |
46: rustc_typeck::check_crate | |
47: rustc::ty::context::tls::enter_context | |
48: <std::thread::local::LocalKey<T>>::with | |
49: rustc::ty::context::TyCtxt::create_and_enter | |
50: rustc_driver::driver::compile_input | |
51: rustc_driver::run_compiler_with_pool | |
52: <scoped_tls::ScopedKey<T>>::set | |
53: <scoped_tls::ScopedKey<T>>::set | |
54: syntax::with_globals | |
55: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once | |
56: __rust_maybe_catch_panic | |
57: rustc_driver::run | |
58: rustc_driver::main | |
59: std::rt::lang_start::{{closure}} | |
60: std::panicking::try::do_call | |
61: __rust_maybe_catch_panic | |
62: std::rt::lang_start_internal | |
63: main | |
64: __libc_start_main | |
65: _start | |
query stack during panic: | |
#0 [typeck_tables_of] processing `client::connect_to_known_network` | |
#1 [typeck_tables_of] processing `client::connect_to_known_network::{{closure}}` | |
#2 [type_of] processing `client::connect_to_known_network::{{closure}}` | |
end of query stack | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0308`. | |
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/blob/master/CONTRIBUTING.md#bug-reports | |
note: rustc 1.29.0-dev running on x86_64-unknown-linux-gnu | |
note: compiler flags: -C linker=/usr/local/google/home/cramertj/src/fuchsia/buildtools/linux-x64/clang/bin/clang -C link-arg=--target=x86_64-unknown-fuchsia -C link-arg=--sysroot=/usr/local/google/home/cramertj/src/fuchsia/out/release-x64/sdks/zircon_sysroot/arch/x64/sysroot -C opt-level=z -C lto=fat --crate-type bin | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment