Closed asggWa closed 3 months ago
El problema no está en el paquete smoldot. Es algo relacionado con el uso de nvm y el modo estricto. Sea como sea, se resuelve o se rompe dependiendo del espacio de trabajo.
Unos hablan de quitar strict mode y otros lo resuelven dejando de usar pnpm temporalmente hasta que se resuelva. Estoy trabajando en polkadot y en astar. En uno de los dos casos o en ambos, se dificulta el acceso a interactuar contractualmente con rust. Realmente sé igual de poco de rust que de solidity. Elegiré mi camino, pero el dÃa que tenga dinero no tendré un ubuntu. Tendré un ubunrtu PRO y una capsula espacial.
I cannot reproduce this ICE just through the given command (RUST_BACKTRACE=full cargo install contracts-node
), thus some kind of local state seems to be involved. As the comment (in spanish, I translated it using google) says, it doesn't seem to originate in the crate itself. Recently I've had some ICEs from corrupted up target/ directories? Though there is some obligation failing in trait selection which is a bit suspicious (based on the trace, around here.
I tested this on:
jonathan@kili ~ % rustc --version --verbose
rustc 1.77.2 (25ef9e3d8 2024-04-09)
binary: rustc
commit-hash: 25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04
commit-date: 2024-04-09
host: x86_64-unknown-linux-gnu
release: 1.77.2
LLVM version: 17.0.6
As @asggWa seems to be using Ubuntu, I tried the same on rustc 1.75 (as the rust package on ubuntu is version 1.75). However, I still cannot reproduce.
@asggWa Could you tell us which version of rust you used?
Possibly it is rustc that is out of range. I'll try uploading rustc, which is what I can do.
rustc 1.69.0 (84c898d65 2023-04-16) binary: rustc commit-hash: 84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc commit-date: 2023-04-16 host: x86_64-unknown-linux-gnu release: 1.69.0 LLVM version: 15.0.7
Possibly the problem now appears again in another stage of the site; but in my case I solved it because I saw that you were using a more current version than mine and other users solved it by reinstalling. My problem now is that it is slow, and the problem is that it arrives. Thank you so much @jdonszelmann .
No problem
I tested RUST_BACKTRACE=full cargo install contracts-node
on 1.69 and I can compile to as far as smoldot (it doesn't ICE) but later on I get an MSRV error, one of the other libraries needs 1.70 minimum:
vice` at 7.0 MB)
error: failed to compile `contracts-node v0.40.0`, intermediate artifacts can be found at `/tmp/cargo-installyotLUh`
Caused by:
package `polkavm-linux-raw v0.9.0` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is1.69.0
Try re-running cargo install with `--locked`
RUST_BACKTRACE=full cargo +1.69.0 install contracts-node 65.99s user4.48s system 86% cpu 1:21.02 total
(so still cannot reproduce unfortunately)
msrv seems to be 1.74.1, on which the ICE does not happen on its own. So there must be something else in the build environment of @asggWa that causes it.
I'm kinda new to the triage process, but I'm guessing this is a good candidate for S-needs-repro
?
@rustbot label +S-needs-repro
Now my previous problem is solved and I'm just looking for a way for someone to reproduce the problem. I want to host an application on astar and one of the main obstacles is that I do not want to fill out the form without having a domain name. treebtc.astar.network tree.btc.astar or simply https://treebtc/index.html the idea is not to have a name that hits because it is a local development environment and with the twelve euros they want for the domain I will buy twelve sausage sandwiches maximum when in three days the telephone people find out that I need a static IP so I don't have to go back to the host file to configure and I change it and then I need that, Windows, Mac, a Coca-Cola and a Docker instance on the cloud.
You may need that. A space capsule with certificate and earpieces.
RUST_BACKTRACE=full cargo install contracts-node
Code
Meta
rustc --version --verbose
:Error output
Backtrace
``` r::babe::{impl#3}::scale_encoding::{opaque#0}::{opaque#0}) }), [u8; 4_usize]> --> /home/treebtc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smoldot-0.11.0/src/header/babe.rs:83:17 | 83 | / iter::once(either::Right(either::Left([1]))).chain( 84 | | digest 85 | | .scale_encoding() 86 | | .map(either::Right) 87 | | .map(either::Right), 88 | | ), | |_________________^ thread 'rustc' panicked at compiler/rustc_infer/src/infer/mod.rs:957:17: Box
stack backtrace:
0: 0x7eea8fb8cb35 - std::backtrace_rs::backtrace::libunwind::trace::h5761d3dffa08db44
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
1: 0x7eea8fb8cb35 - std::backtrace_rs::backtrace::trace_unsynchronized::h0f4768fbebdaf463
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7eea8fb8cb35 - std::sys_common::backtrace::_print_fmt::h0f1ddf5238908f12
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:68:5
3: 0x7eea8fb8cb35 - ::fmt::h9ed9f2d7ae62e022
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:44:22
4: 0x7eea8fbdbceb - core::fmt::rt::Argument::fmt::h2487dad2ca6d062e
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/core/src/fmt/rt.rs:165:63
5: 0x7eea8fbdbceb - core::fmt::write::h0bc9a505be76e05c
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/core/src/fmt/mod.rs:1157:21
6: 0x7eea8fb8187f - std::io::Write::write_fmt::h0f23cb8d3327e857
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/io/mod.rs:1835:15
7: 0x7eea8fb8c90e - std::sys_common::backtrace::_print::he50856b6cf64a583
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:47:5
8: 0x7eea8fb8c90e - std::sys_common::backtrace::print::hfdd019ce24af5225
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:34:9
9: 0x7eea8fb8f279 - std::panicking::default_hook::{{closure}}::h1163b2590251d538
10: 0x7eea8fb8efbd - std::panicking::default_hook::h5c1fb68b0aba8647
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/panicking.rs:298:9
11: 0x7eea92cbd01f - std[358a485bdeedacac]::panicking::update_hook::>::{closure#0}
12: 0x7eea8fb8f976 - as core::ops::function::Fn>::call::h3c840eb1ef2fb0b9
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/alloc/src/boxed.rs:2036:9
13: 0x7eea8fb8f976 - std::panicking::rust_panic_with_hook::hfc1ecf4bdfb5b9cb
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/panicking.rs:799:13
14: 0x7eea92ced064 - std[358a485bdeedacac]::panicking::begin_panic::::{closure#0}
15: 0x7eea92ce9a06 - std[358a485bdeedacac]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !>
16: 0x7eea92ce4fb6 - std[358a485bdeedacac]::panicking::begin_panic::
17: 0x7eea92cf61f1 - ::emit_producing_guarantee
18: 0x7eea92f49b58 - ::span_bug::
19: 0x7eea92f80a3d - rustc_middle[e9b840acf01cb871]::util::bug::opt_span_bug_fmt::::{closure#0}
20: 0x7eea92f80d6a - rustc_middle[e9b840acf01cb871]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0}
21: 0x7eea92f6646b - rustc_middle[e9b840acf01cb871]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !>
22: 0x7eea92f65197 - rustc_middle[e9b840acf01cb871]::util::bug::span_bug_fmt::
23: 0x7eea90c9bb81 - ::process_obligation
24: 0x7eea9400d663 - >::process_obligations::
25: 0x7eea9400cbdf - ::select_where_possible
26: 0x7eea9439f341 - ::expected_inputs_for_expected_output
27: 0x7eea90f1321a - ::check_method_argument_types
28: 0x7eea94955970 - ::check_expr_with_expectation_and_args
29: 0x7eea90f139e5 - ::check_method_argument_types
30: 0x7eea94955970 - ::check_expr_with_expectation_and_args
31: 0x7eea949494d4 - ::check_block_with_expected
32: 0x7eea94954b33 - ::check_expr_with_expectation_and_args
33: 0x7eea9491cbf5 - rustc_hir_typeck[15e91898126c457e]::check::check_fn
34: 0x7eea94912726 - rustc_hir_typeck[15e91898126c457e]::typeck
35: 0x7eea94912197 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
36: 0x7eea9436a771 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
37: 0x7eea94369494 - rustc_query_impl[e06443bf8a44708d]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace
38: 0x7eea94a8dd2f - rustc_middle[e9b840acf01cb871]::query::plumbing::query_get_at::>>
39: 0x7eea94d6a36b - rustc_hir_analysis[51b9faaa5d5af751]::collect::type_of::type_of_opaque
40: 0x7eea94d6a2a5 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
41: 0x7eea94093a57 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
42: 0x7eea94ffb35e - rustc_query_impl[e06443bf8a44708d]::query_impl::type_of_opaque::get_query_non_incr::__rust_end_short_backtrace
43: 0x7eea946843fc - rustc_middle[e9b840acf01cb871]::query::plumbing::query_get_at::>>
44: 0x7eea91df9d7b - rustc_hir_analysis[51b9faaa5d5af751]::collect::type_of::type_of
45: 0x7eea94094e66 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
46: 0x7eea94093a57 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
47: 0x7eea9409355b - rustc_query_impl[e06443bf8a44708d]::query_impl::type_of::get_query_non_incr::__rust_end_short_backtrace
48: 0x7eea946843fc - rustc_middle[e9b840acf01cb871]::query::plumbing::query_get_at::>>
49: 0x7eea94ee9513 - rustc_hir_analysis[51b9faaa5d5af751]::check::check::check_item_type
50: 0x7eea9467a807 - rustc_hir_analysis[51b9faaa5d5af751]::check::wfcheck::check_well_formed
51: 0x7eea946792ad - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
52: 0x7eea94678a40 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
53: 0x7eea946787bf - rustc_query_impl[e06443bf8a44708d]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
54: 0x7eea946766f7 - rustc_hir_analysis[51b9faaa5d5af751]::check::wfcheck::check_mod_type_wf
55: 0x7eea9467651f - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
56: 0x7eea94dacf06 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
57: 0x7eea94daccbf - rustc_query_impl[e06443bf8a44708d]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace
58: 0x7eea943677c6 - rustc_hir_analysis[51b9faaa5d5af751]::check_crate
59: 0x7eea9435da07 - rustc_interface[694408107d23096b]::passes::analysis
60: 0x7eea9435d555 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
61: 0x7eea94da77a5 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
62: 0x7eea94da7509 - rustc_query_impl[e06443bf8a44708d]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
63: 0x7eea94c3718e - rustc_interface[694408107d23096b]::interface::run_compiler::, rustc_driver_impl[9d9cd9ab2aa8a316]::run_compiler::{closure#0}>::{closure#1}
64: 0x7eea94c13e89 - std[358a485bdeedacac]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[9d9cd9ab2aa8a316]::run_compiler::{closure#0}>::{closure#1}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>
65: 0x7eea94c13c36 - <::spawn_unchecked_, rustc_driver_impl[9d9cd9ab2aa8a316]::run_compiler::{closure#0}>::{closure#1}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#2} as core[736cab3ae0fb6cbd]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
66: 0x7eea8fb997bb - as core::ops::function::FnOnce>::call_once::h66c61a1da042c42c
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/alloc/src/boxed.rs:2022:9
67: 0x7eea8fb997bb - as core::ops::function::FnOnce>::call_once::h0ff1fe22c18aae99
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/alloc/src/boxed.rs:2022:9
68: 0x7eea8fb997bb - std::sys::pal::unix::thread::Thread::new::thread_start::ha1eb1e2d1f1b6368
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys/pal/unix/thread.rs:108:17
69: 0x7eea8f894ac3 - start_thread
at ./nptl/pthread_create.c:442:8
70: 0x7eea8f926850 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
71: 0x0 -
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: please make sure that you have updated to the latest nightly
note: please attach the file at `/home/treebtc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smoldot-0.11.0/rustc-ice-2024-05-10T19_24_57-182093.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C strip=debuginfo
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [typeck] type-checking `header::babe::::scale_encoding`
#1 [type_of_opaque] computing type of opaque `header::babe::::scale_encoding::{opaque#0}`
#2 [type_of] computing type of `header::babe::::scale_encoding::{opaque#0}`
#3 [check_well_formed] checking that `header::babe::::scale_encoding::{opaque#0}` is well-formed
#4 [check_mod_type_wf] checking that types are well-formed in module `header::babe`
#5 [analysis] running analysis passes on this crate
end of query stack
Compiling pallet-collator-selection v12.0.1
Compiling staging-parachain-info v0.10.0
error: internal compiler error: compiler/rustc_infer/src/infer/mod.rs:957:17: opaque types got hidden types registered from within subtype predicate: itertools::Either vs itertools::Either
--> /home/treebtc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smoldot-0.11.0/src/network/protocol/identify.rs:81:5
|
81 | / protobuf::string_tag_encode(5, config.protocol_version)
82 | | .map(either::Left)
83 | | .map(either::Left)
84 | | .map(either::Left)
... |
106 | | .map(either::Left),
107 | | )
| |_________^
thread 'rustc' panicked at compiler/rustc_infer/src/infer/mod.rs:957:17:
Box
stack backtrace:
0: 0x7eea8fb8cb35 - std::backtrace_rs::backtrace::libunwind::trace::h5761d3dffa08db44
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
1: 0x7eea8fb8cb35 - std::backtrace_rs::backtrace::trace_unsynchronized::h0f4768fbebdaf463
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x7eea8fb8cb35 - std::sys_common::backtrace::_print_fmt::h0f1ddf5238908f12
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:68:5
3: 0x7eea8fb8cb35 - ::fmt::h9ed9f2d7ae62e022
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:44:22
4: 0x7eea8fbdbceb - core::fmt::rt::Argument::fmt::h2487dad2ca6d062e
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/core/src/fmt/rt.rs:165:63
5: 0x7eea8fbdbceb - core::fmt::write::h0bc9a505be76e05c
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/core/src/fmt/mod.rs:1157:21
6: 0x7eea8fb8187f - std::io::Write::write_fmt::h0f23cb8d3327e857
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/io/mod.rs:1835:15
7: 0x7eea8fb8c90e - std::sys_common::backtrace::_print::he50856b6cf64a583
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:47:5
8: 0x7eea8fb8c90e - std::sys_common::backtrace::print::hfdd019ce24af5225
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys_common/backtrace.rs:34:9
9: 0x7eea8fb8f279 - std::panicking::default_hook::{{closure}}::h1163b2590251d538
10: 0x7eea8fb8efbd - std::panicking::default_hook::h5c1fb68b0aba8647
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/panicking.rs:298:9
11: 0x7eea92cbd01f - std[358a485bdeedacac]::panicking::update_hook::>::{closure#0}
12: 0x7eea8fb8f976 - as core::ops::function::Fn>::call::h3c840eb1ef2fb0b9
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/alloc/src/boxed.rs:2036:9
13: 0x7eea8fb8f976 - std::panicking::rust_panic_with_hook::hfc1ecf4bdfb5b9cb
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/panicking.rs:799:13
14: 0x7eea92ced064 - std[358a485bdeedacac]::panicking::begin_panic::::{closure#0}
15: 0x7eea92ce9a06 - std[358a485bdeedacac]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !>
16: 0x7eea92ce4fb6 - std[358a485bdeedacac]::panicking::begin_panic::
17: 0x7eea92cf61f1 - ::emit_producing_guarantee
18: 0x7eea92f49b58 - ::span_bug::
19: 0x7eea92f80a3d - rustc_middle[e9b840acf01cb871]::util::bug::opt_span_bug_fmt::::{closure#0}
20: 0x7eea92f80d6a - rustc_middle[e9b840acf01cb871]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0}
21: 0x7eea92f6646b - rustc_middle[e9b840acf01cb871]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !>
22: 0x7eea92f65197 - rustc_middle[e9b840acf01cb871]::util::bug::span_bug_fmt::
23: 0x7eea90c9bb81 - ::process_obligation
24: 0x7eea9400d663 - >::process_obligations::
25: 0x7eea90f135e3 - ::check_method_argument_types
26: 0x7eea94955970 - ::check_expr_with_expectation_and_args
27: 0x7eea94954b88 - ::check_expr_with_expectation_and_args
28: 0x7eea949494d4 - ::check_block_with_expected
29: 0x7eea94954b33 - ::check_expr_with_expectation_and_args
30: 0x7eea9491cbf5 - rustc_hir_typeck[15e91898126c457e]::check::check_fn
31: 0x7eea94912726 - rustc_hir_typeck[15e91898126c457e]::typeck
32: 0x7eea94912197 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
33: 0x7eea9436a771 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
34: 0x7eea94369494 - rustc_query_impl[e06443bf8a44708d]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace
35: 0x7eea94a8dd2f - rustc_middle[e9b840acf01cb871]::query::plumbing::query_get_at::>>
36: 0x7eea94d6a36b - rustc_hir_analysis[51b9faaa5d5af751]::collect::type_of::type_of_opaque
37: 0x7eea94d6a2a5 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
38: 0x7eea94093a57 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
39: 0x7eea94ffb35e - rustc_query_impl[e06443bf8a44708d]::query_impl::type_of_opaque::get_query_non_incr::__rust_end_short_backtrace
40: 0x7eea946843fc - rustc_middle[e9b840acf01cb871]::query::plumbing::query_get_at::>>
41: 0x7eea91df9d7b - rustc_hir_analysis[51b9faaa5d5af751]::collect::type_of::type_of
42: 0x7eea94094e66 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
43: 0x7eea94093a57 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
44: 0x7eea9409355b - rustc_query_impl[e06443bf8a44708d]::query_impl::type_of::get_query_non_incr::__rust_end_short_backtrace
45: 0x7eea946843fc - rustc_middle[e9b840acf01cb871]::query::plumbing::query_get_at::>>
46: 0x7eea94ee9513 - rustc_hir_analysis[51b9faaa5d5af751]::check::check::check_item_type
47: 0x7eea9467a807 - rustc_hir_analysis[51b9faaa5d5af751]::check::wfcheck::check_well_formed
48: 0x7eea946792ad - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
49: 0x7eea94678a40 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
50: 0x7eea946787bf - rustc_query_impl[e06443bf8a44708d]::query_impl::check_well_formed::get_query_non_incr::__rust_end_short_backtrace
51: 0x7eea946766f7 - rustc_hir_analysis[51b9faaa5d5af751]::check::wfcheck::check_mod_type_wf
52: 0x7eea9467651f - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
53: 0x7eea94dacf06 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
54: 0x7eea94daccbf - rustc_query_impl[e06443bf8a44708d]::query_impl::check_mod_type_wf::get_query_non_incr::__rust_end_short_backtrace
55: 0x7eea943677c6 - rustc_hir_analysis[51b9faaa5d5af751]::check_crate
56: 0x7eea9435da07 - rustc_interface[694408107d23096b]::passes::analysis
57: 0x7eea9435d555 - rustc_query_impl[e06443bf8a44708d]::plumbing::__rust_begin_short_backtrace::>
58: 0x7eea94da77a5 - rustc_query_system[bf821f29d6463424]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[e06443bf8a44708d]::plumbing::QueryCtxt, false>
59: 0x7eea94da7509 - rustc_query_impl[e06443bf8a44708d]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace
60: 0x7eea94c3718e - rustc_interface[694408107d23096b]::interface::run_compiler::, rustc_driver_impl[9d9cd9ab2aa8a316]::run_compiler::{closure#0}>::{closure#1}
61: 0x7eea94c13e89 - std[358a485bdeedacac]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[9d9cd9ab2aa8a316]::run_compiler::{closure#0}>::{closure#1}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>
62: 0x7eea94c13c36 - <::spawn_unchecked_, rustc_driver_impl[9d9cd9ab2aa8a316]::run_compiler::{closure#0}>::{closure#1}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[736cab3ae0fb6cbd]::result::Result<(), rustc_span[cc5921ff865fa645]::ErrorGuaranteed>>::{closure#2} as core[736cab3ae0fb6cbd]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
63: 0x7eea8fb997bb - as core::ops::function::FnOnce>::call_once::h66c61a1da042c42c
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/alloc/src/boxed.rs:2022:9
64: 0x7eea8fb997bb - as core::ops::function::FnOnce>::call_once::h0ff1fe22c18aae99
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/alloc/src/boxed.rs:2022:9
65: 0x7eea8fb997bb - std::sys::pal::unix::thread::Thread::new::thread_start::ha1eb1e2d1f1b6368
at /rustc/8f9080db423ca0fb6bef0686ce9a93940cdf1f13/library/std/src/sys/pal/unix/thread.rs:108:17
66: 0x7eea8f894ac3 - start_thread
at ./nptl/pthread_create.c:442:8
67: 0x7eea8f926850 - __GI___clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
68: 0x0 -
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: please make sure that you have updated to the latest nightly
note: please attach the file at `/home/treebtc/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smoldot-0.11.0/rustc-ice-2024-05-10T19_24_57-182093.txt` to your bug report
note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C strip=debuginfo
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [typeck] type-checking `network::protocol::identify::build_identify_response`
#1 [type_of_opaque] computing type of opaque `network::protocol::identify::build_identify_response::{opaque#0}`
#2 [type_of] computing type of `network::protocol::identify::build_identify_response::{opaque#0}`
#3 [check_well_formed] checking that `network::protocol::identify::build_identify_response::{opaque#0}` is well-formed
#4 [check_mod_type_wf] checking that types are well-formed in module `network::protocol::identify`
#5 [analysis] running analysis passes on this crate
end of query stack
Compiling cumulus-test-relay-sproof-builder v0.10.0
Compiling pallet-asset-tx-payment v31.0.0
error: could not compile `smoldot` (lib)
warning: build failed, waiting for other jobs to finish...
```