Created
September 2, 2019 07:27
-
-
Save goddessfreya/5ab1bd3ebdd272ad7d51d71fa5a564ec 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
Compiling farklemaster v0.1.0 (/home/gentz/Documents/gfx/farklemaster) | |
warning: the feature `const_generics` is incomplete and may cause the compiler to crash | |
--> src/main.rs:1:12 | |
| | |
1 | #![feature(const_generics)] | |
| ^^^^^^^^^^^^^^ | |
| | |
= note: `#[warn(incomplete_features)]` on by default | |
error[E0308]: mismatched types | |
--> src/main.rs:3:43 | |
| | |
3 | fn combinator<T, const S: usize>(a: T) -> [T; S] {} | |
| ---------- ^^^^^^ expected array, found () | |
| | | |
| implicitly returns `()` as its body has no tail or `return` expression | |
| | |
= note: expected type `[T; _]` | |
found type `()` | |
error: internal compiler error: src/librustc/ich/impls_ty.rs:213: ty::TyKind::hash_stable() - can't hash a TyVid _#0t. | |
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:643:9 | |
stack backtrace: | |
0: 0x7f5f5c758902 - backtrace::backtrace::libunwind::trace::h4ce370bcd1ee6179 | |
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.35/src/backtrace/libunwind.rs:88 | |
1: 0x7f5f5c758902 - backtrace::backtrace::trace_unsynchronized::ha1849ec6dc042df0 | |
at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.35/src/backtrace/mod.rs:66 | |
2: 0x7f5f5c758902 - std::sys_common::backtrace::_print::hb67777a898188c39 | |
at src/libstd/sys_common/backtrace.rs:47 | |
3: 0x7f5f5c758902 - std::sys_common::backtrace::print::hadbba928c72abbae | |
at src/libstd/sys_common/backtrace.rs:36 | |
4: 0x7f5f5c758902 - std::panicking::default_hook::{{closure}}::h277bed7d7e46968e | |
at src/libstd/panicking.rs:200 | |
5: 0x7f5f5c7585e6 - std::panicking::default_hook::hc04dc2fea0cc3aac | |
at src/libstd/panicking.rs:214 | |
6: 0x7f5f5e635a31 - rustc::util::common::panic_hook::hadd0b8f85b4067ef | |
7: 0x7f5f5c75913c - std::panicking::rust_panic_with_hook::h7ed0ac6f9e15991f | |
at src/libstd/panicking.rs:481 | |
8: 0x7f5f5ea3bd7d - std::panicking::begin_panic::h1d1056ca173c740e | |
9: 0x7f5f5ea50aaf - rustc_errors::Handler::bug::h9b42165005666d96 | |
10: 0x7f5f5e2e6513 - rustc::util::bug::opt_span_bug_fmt::{{closure}}::h139ee24d6fa9531e | |
11: 0x7f5f5e2e0ed3 - rustc::ty::context::tls::with_opt::{{closure}}::h4c0650730b3d87b0 | |
12: 0x7f5f5e2e0e43 - rustc::ty::context::tls::with_context_opt::h0b052a3db2fd7393 | |
13: 0x7f5f5e2e0e87 - rustc::ty::context::tls::with_opt::h0247b58216cb47e8 | |
14: 0x7f5f5e2e6428 - rustc::util::bug::opt_span_bug_fmt::h3dc854d51555accb | |
15: 0x7f5f5e2e6392 - rustc::util::bug::bug_fmt::h0559809e72793cde | |
16: 0x7f5f5e6901a2 - rustc::ich::impls_ty::<impl rustc_data_structures::stable_hasher::HashStable<rustc::ich::hcx::StableHashingContext> for rustc::ty::sty::TyVid>::hash_stable::h06f5023064ef572d | |
17: 0x7f5f5e6f3c5b - rustc::ty::sty::_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_ich_StableHashingContext_ctx_FOR_TyKind::<impl rustc_data_structures::stable_hasher::HashStable<rustc::ich::hcx::StableHashingContext> for rustc::ty::sty::TyKind>::hash_stable::hdbb3fca40449d2cc | |
18: 0x7f5f5e6f37f0 - rustc::ty::sty::_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_ich_StableHashingContext_ctx_FOR_TyKind::<impl rustc_data_structures::stable_hasher::HashStable<rustc::ich::hcx::StableHashingContext> for rustc::ty::sty::TyKind>::hash_stable::hdbb3fca40449d2cc | |
19: 0x7f5f5e12b252 - std::thread::local::LocalKey<T>::with::h706cd14e41a3b99f | |
20: 0x7f5f5e6f4558 - rustc::ty::sty::_DERIVE_rustc_data_structures_stable_hasher_HashStable_rustc_ich_StableHashingContext_ctx_FOR_TraitRef::<impl rustc_data_structures::stable_hasher::HashStable<rustc::ich::hcx::StableHashingContext> for rustc::ty::sty::TraitRef>::hash_stable::hd7da438df4440047 | |
21: 0x7f5f5dfc63cf - <T as rustc::dep_graph::dep_node::DepNodeParams>::to_fingerprint::h77c56a1117d4f5e6 | |
22: 0x7f5f5e37c8ea - rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt>::get_query::h4a27a9efaadabb6b | |
23: 0x7f5f5e2cc962 - rustc::traits::query::evaluate_obligation::<impl rustc::infer::InferCtxt>::evaluate_obligation::hb267978e13ac30fc | |
24: 0x7f5f5e2cca22 - rustc::traits::query::evaluate_obligation::<impl rustc::infer::InferCtxt>::evaluate_obligation_no_overflow::h96ad9e5786433422 | |
25: 0x7f5f5e2cc786 - rustc::traits::query::evaluate_obligation::<impl rustc::infer::InferCtxt>::predicate_may_hold::hca0fb3967fe38fe3 | |
26: 0x7f5f5d43a7e3 - <rustc_typeck::check::autoderef::Autoderef as core::iter::traits::iterator::Iterator>::next::hdca0a17d7a8a8a48 | |
27: 0x7f5f5d41a46f - <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T,I>>::from_iter::he61dc7525c79d4cc | |
28: 0x7f5f5d387128 - rustc::ty::context::GlobalCtxt::enter_local::he96af7227718f57a | |
29: 0x7f5f5d3d2994 - rustc_typeck::check::method::probe::method_autoderef_steps::h0eec378a22050c4f | |
30: 0x7f5f5d266ef1 - rustc::ty::query::__query_compute::method_autoderef_steps::h86d22ab700608ad1 | |
31: 0x7f5f5d2f9211 - rustc::ty::query::<impl rustc::ty::query::config::QueryAccessors for rustc::ty::query::queries::method_autoderef_steps>::compute::haf92de116766eeb3 | |
32: 0x7f5f5d293678 - rustc::dep_graph::graph::DepGraph::with_task_impl::h2acce1f65a0bf229 | |
33: 0x7f5f5d356fe3 - rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt>::get_query::hbc6900332246a591 | |
34: 0x7f5f5d1fc87e - rustc_typeck::check::method::probe::<impl rustc_typeck::check::FnCtxt>::probe_for_name::hbf47ec388a01e5ae | |
35: 0x7f5f5d204a7d - rustc_typeck::check::method::<impl rustc_typeck::check::FnCtxt>::lookup_method::h7435dc22d5c7cbe8 | |
36: 0x7f5f5d1f19c6 - rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_kind::hf72747da8aab128d | |
37: 0x7f5f5d1f0ee5 - rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs::hd4290fcb743dc65a | |
38: 0x7f5f5d228fd0 - rustc_typeck::check::FnCtxt::check_stmt::hb8d30f7fa9c2c1f7 | |
39: 0x7f5f5d22942b - rustc_typeck::check::FnCtxt::check_block_with_expected::h272b260cd492369d | |
40: 0x7f5f5d1f0ee5 - rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_expr_with_expectation_and_needs::hd4290fcb743dc65a | |
41: 0x7f5f5d1fb5fb - rustc_typeck::check::expr::<impl rustc_typeck::check::FnCtxt>::check_return_expr::h9a52a562d86b5052 | |
42: 0x7f5f5d216d25 - rustc_typeck::check::check_fn::hcb029ffa950299ec | |
43: 0x7f5f5d384709 - rustc::ty::context::GlobalCtxt::enter_local::hcc1e02c358261193 | |
44: 0x7f5f5d215cb8 - rustc_typeck::check::typeck_tables_of::h6f0eb1f8c7b9f5e9 | |
45: 0x7f5f5d265dca - rustc::ty::query::__query_compute::typeck_tables_of::h62d65d4026b99e27 | |
46: 0x7f5f5d2f8fcb - rustc::ty::query::<impl rustc::ty::query::config::QueryAccessors for rustc::ty::query::queries::typeck_tables_of>::compute::hca69de331eee9759 | |
47: 0x7f5f5d29fd02 - rustc::dep_graph::graph::DepGraph::with_task_impl::ha7be3be332b95d17 | |
48: 0x7f5f5d308931 - rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt>::get_query::h10565f1243b7ad5c | |
49: 0x7f5f5d2f5d7f - rustc::ty::<impl rustc::ty::context::TyCtxt>::par_body_owners::h3a830552646698d8 | |
50: 0x7f5f5d21572d - rustc_typeck::check::typeck_item_bodies::h7b6a9b66bd0d82f5 | |
51: 0x7f5f5d266215 - rustc::ty::query::__query_compute::typeck_item_bodies::hd0a39d56e65efaff | |
52: 0x7f5f5d2a1004 - rustc::dep_graph::graph::DepGraph::with_task_impl::hb953ebfe5f7d123d | |
53: 0x7f5f5d3146dd - rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt>::get_query::h25e7e246720c4835 | |
54: 0x7f5f5d26ad5e - rustc::util::common::time::h0ca0fd77a3a38e7f | |
55: 0x7f5f5d440a9f - rustc_typeck::check_crate::h6efa337673fd0bf9 | |
56: 0x7f5f5cd3f3da - rustc_interface::passes::analysis::h5ca1dcf5c3fa00a4 | |
57: 0x7f5f5cc4a481 - rustc::ty::query::__query_compute::analysis::hb2ca05cf73df93a7 | |
58: 0x7f5f5cc2d759 - rustc::dep_graph::graph::DepGraph::with_task_impl::hada062624bcc756b | |
59: 0x7f5f5cc41c5e - rustc::ty::query::plumbing::<impl rustc::ty::context::TyCtxt>::get_query::hfa3b77f4283d964e | |
60: 0x7f5f5cc5e7aa - rustc_interface::passes::BoxedGlobalCtxt::access::{{closure}}::h2cccf239a8fcfaff | |
61: 0x7f5f5cdbbb0a - rustc_interface::passes::create_global_ctxt::{{closure}}::h411ea04f079efa05 | |
62: 0x7f5f5cc6126e - rustc_interface::interface::run_compiler_in_existing_thread_pool::h495ac89e699120f3 | |
63: 0x7f5f5cc70522 - std::thread::local::LocalKey<T>::with::h2b6e98dea32965c7 | |
64: 0x7f5f5cc8421e - scoped_tls::ScopedKey<T>::set::h5242c74f962b8d66 | |
65: 0x7f5f5ccb9482 - syntax::with_globals::h36bb832d23aa0930 | |
66: 0x7f5f5cc27940 - std::sys_common::backtrace::__rust_begin_short_backtrace::h5ac2bb0fb1bde18d | |
67: 0x7f5f5c7697fa - __rust_maybe_catch_panic | |
at src/libpanic_unwind/lib.rs:80 | |
68: 0x7f5f5cc4c619 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h999a457b750ab865 | |
69: 0x7f5f5c73c3ff - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h8937f8752182f20d | |
at /rustc/4295eea903a9e1014ee30f82930f5ec08d888077/src/liballoc/boxed.rs:922 | |
70: 0x7f5f5c7684a0 - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h2cc60d9264e9fe0a | |
at /rustc/4295eea903a9e1014ee30f82930f5ec08d888077/src/liballoc/boxed.rs:922 | |
71: 0x7f5f5c7684a0 - std::sys_common::thread::start_thread::h7aa97315f70bdaea | |
at src/libstd/sys_common/thread.rs:13 | |
72: 0x7f5f5c7684a0 - std::sys::unix::thread::Thread::new::thread_start::h15d5599c4b4a4cef | |
at src/libstd/sys/unix/thread.rs:79 | |
73: 0x7f5f5c67157f - start_thread | |
74: 0x7f5f5c5840e3 - __clone | |
75: 0x0 - <unknown> | |
query stack during panic: | |
#0 [method_autoderef_steps] computing autoderef types for `Canonical { max_universe: U0, variables: [CanonicalVarInfo { kind: Const(U0) }], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, def_id: None }, value: [u8; _] } }` | |
#1 [typeck_tables_of] processing `main` | |
#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 2 previous errors | |
For more information about this error, try `rustc --explain E0308`. | |
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.39.0-nightly (4295eea90 2019-08-30) running on x86_64-unknown-linux-gnu | |
note: compiler flags: -C debuginfo=2 -C incremental --crate-type bin | |
note: some of the compiler flags provided by cargo are hidden | |
error: Could not compile `farklemaster`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment