diff --git a/crates/chain-connector/src/connector.rs b/crates/chain-connector/src/connector.rs index 0f3b4079ff..8fe64e8d1f 100644 --- a/crates/chain-connector/src/connector.rs +++ b/crates/chain-connector/src/connector.rs @@ -1,17 +1,20 @@ /* - * Copyright 2024 Fluence DAO + * Nox Fluence Peer * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Copyright (C) 2024 Fluence DAO * - * http://www.apache.org/licenses/LICENSE-2.0 + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation version 3 of the + * License. * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . */ use alloy_primitives::hex::ToHexExt; diff --git a/rustc-ice-2024-03-06T21_11_36-33718.txt b/rustc-ice-2024-03-06T21_11_36-33718.txt new file mode 100644 index 0000000000..714cb6bf34 --- /dev/null +++ b/rustc-ice-2024-03-06T21_11_36-33718.txt @@ -0,0 +1,63 @@ +thread 'rustc' panicked at /rustc/edf0b1db0a7f29d71ee82cfc53bdc170fe74e501/compiler/rustc_errors/src/lib.rs:1000:33: +Box +stack backtrace: + 0: 0x1050ac2cc - std::backtrace::Backtrace::create::h6858622cac804e1e + 1: 0x10e4cb760 - as core[e84f05aec3508a1b]::ops::function::Fn<(&dyn for<'a, 'b> core[e84f05aec3508a1b]::ops::function::Fn<(&'a core[e84f05aec3508a1b]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[e84f05aec3508a1b]::marker::Send + core[e84f05aec3508a1b]::marker::Sync, &core[e84f05aec3508a1b]::panic::panic_info::PanicInfo)>>::call + 2: 0x1050c41c8 - std::panicking::rust_panic_with_hook::h5e0e3ea3eab0762f + 3: 0x10f2c5e70 - std[fc5d079b268c001b]::panicking::begin_panic::::{closure#0} + 4: 0x10f2c4af8 - std[fc5d079b268c001b]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> + 5: 0x1122f86b4 - std[fc5d079b268c001b]::panicking::begin_panic:: + 6: 0x10f2261b8 - ::span_bug:: + 7: 0x10f225d7c - ::span_bug:: + 8: 0x10f24beec - rustc_middle[e980463d3e0fd3c]::util::bug::opt_span_bug_fmt::::{closure#0} + 9: 0x10f24bf20 - rustc_middle[e980463d3e0fd3c]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} + 10: 0x10f2493bc - rustc_middle[e980463d3e0fd3c]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> + 11: 0x1122f8728 - rustc_middle[e980463d3e0fd3c]::util::bug::span_bug_fmt:: + 12: 0x10f1da374 - rustc_mir_transform[b92a66d6aae1cce]::coroutine::mir_coroutine_witnesses + 13: 0x10f6dd4ac - rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::__rust_begin_short_backtrace::> + 14: 0x10f85a020 - >::call_once + 15: 0x10f64fe6c - rustc_query_system[ab8509ee9b52e65a]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::QueryCtxt, true> + 16: 0x10f7fe8bc - rustc_query_impl[aa2e85dfa7ce5c23]::query_impl::mir_coroutine_witnesses::get_query_incr::__rust_end_short_backtrace + 17: 0x10ee8c82c - rustc_middle[e980463d3e0fd3c]::query::plumbing::query_get_at::>> + 18: 0x10efcd654 - >::fold_ty + 19: 0x10efd00d4 - rustc_middle[e980463d3e0fd3c]::ty::util::fold_list:: as rustc_type_ir[dadb12f4d6a7c7f6]::fold::TypeFoldable>::try_fold_with::{closure#0}> + 20: 0x10ef64bf8 - >::try_super_fold_with:: + 21: 0x10efcd458 - >::fold_ty + 22: 0x10efcd3bc - ::expand_opaque_ty + 23: 0x10efcd478 - >::fold_ty + 24: 0x10efcd6c0 - >::fold_ty + 25: 0x10efd00d4 - rustc_middle[e980463d3e0fd3c]::ty::util::fold_list:: as rustc_type_ir[dadb12f4d6a7c7f6]::fold::TypeFoldable>::try_fold_with::{closure#0}> + 26: 0x10ef64bf8 - >::try_super_fold_with:: + 27: 0x10efcd458 - >::fold_ty + 28: 0x10efcd3bc - ::expand_opaque_ty + 29: 0x10ee8ddb0 - ::try_expand_impl_trait_type + 30: 0x10e778980 - rustc_hir_analysis[79a5e603f16ffcf8]::check::check::check_item_type + 31: 0x10e77f000 - rustc_hir_analysis[79a5e603f16ffcf8]::check::check::check_mod_item_types + 32: 0x10f6dc0b0 - rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::__rust_begin_short_backtrace::> + 33: 0x10f6fb754 - >::call_once + 34: 0x10f636a58 - rustc_query_system[ab8509ee9b52e65a]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::QueryCtxt, true> + 35: 0x10f8abec8 - rustc_query_impl[aa2e85dfa7ce5c23]::query_impl::check_mod_item_types::get_query_incr::__rust_end_short_backtrace + 36: 0x10e8166ec - ::for_each_module:: + 37: 0x10e7a05d0 - rustc_hir_analysis[79a5e603f16ffcf8]::check_crate + 38: 0x10ec52ce0 - rustc_interface[4de0952d7d663935]::passes::analysis + 39: 0x10f6de9bc - rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::__rust_begin_short_backtrace::> + 40: 0x10f79937c - >::call_once + 41: 0x10f5f8648 - rustc_query_system[ab8509ee9b52e65a]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::QueryCtxt, true> + 42: 0x10f7fd568 - rustc_query_impl[aa2e85dfa7ce5c23]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 43: 0x10e4d3170 - ::enter::> + 44: 0x10e450c4c - ::enter::, rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>> + 45: 0x10e4d1534 - rustc_span[e4c885c4c47bbc90]::set_source_map::, rustc_interface[4de0952d7d663935]::interface::run_compiler, rustc_driver_impl[a5cbd23e5e1b846f]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> + 46: 0x10e4d9bc4 - std[fc5d079b268c001b]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[a5cbd23e5e1b846f]::run_compiler::{closure#1}>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>> + 47: 0x10e4ad308 - <::spawn_unchecked_, rustc_driver_impl[a5cbd23e5e1b846f]::run_compiler::{closure#1}>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#1} as core[e84f05aec3508a1b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 48: 0x1050cc3c4 - std::sys::unix::thread::Thread::new::thread_start::hf4a34515c60a26a3 + 49: 0x18122e034 - __pthread_joiner_wake + + +rustc version: 1.75.0-nightly (edf0b1db0 2023-11-10) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [mir_coroutine_witnesses] coroutine witness types for `listener::::submit_proof::{closure#0}` +#1 [check_mod_item_types] checking item types in module `listener` +#2 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-03-14T00_15_28-80203.txt b/rustc-ice-2024-03-14T00_15_28-80203.txt new file mode 100644 index 0000000000..18d5b29a29 --- /dev/null +++ b/rustc-ice-2024-03-14T00_15_28-80203.txt @@ -0,0 +1,57 @@ +thread 'rustc' panicked at /rustc/edf0b1db0a7f29d71ee82cfc53bdc170fe74e501/compiler/rustc_errors/src/lib.rs:1000:33: +Box +stack backtrace: + 0: 0x1016982cc - std::backtrace::Backtrace::create::h6858622cac804e1e + 1: 0x10aab7760 - as core[e84f05aec3508a1b]::ops::function::Fn<(&dyn for<'a, 'b> core[e84f05aec3508a1b]::ops::function::Fn<(&'a core[e84f05aec3508a1b]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[e84f05aec3508a1b]::marker::Send + core[e84f05aec3508a1b]::marker::Sync, &core[e84f05aec3508a1b]::panic::panic_info::PanicInfo)>>::call + 2: 0x1016b01c8 - std::panicking::rust_panic_with_hook::h5e0e3ea3eab0762f + 3: 0x10b8b1e70 - std[fc5d079b268c001b]::panicking::begin_panic::::{closure#0} + 4: 0x10b8b0af8 - std[fc5d079b268c001b]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> + 5: 0x10e8e46b4 - std[fc5d079b268c001b]::panicking::begin_panic:: + 6: 0x10b8121b8 - ::span_bug:: + 7: 0x10b811d7c - ::span_bug:: + 8: 0x10b837eec - rustc_middle[e980463d3e0fd3c]::util::bug::opt_span_bug_fmt::::{closure#0} + 9: 0x10b837f20 - rustc_middle[e980463d3e0fd3c]::ty::context::tls::with_opt::::{closure#0}, !>::{closure#0} + 10: 0x10b8353bc - rustc_middle[e980463d3e0fd3c]::ty::context::tls::with_context_opt::::{closure#0}, !>::{closure#0}, !> + 11: 0x10e8e4728 - rustc_middle[e980463d3e0fd3c]::util::bug::span_bug_fmt:: + 12: 0x10b7c6374 - rustc_mir_transform[b92a66d6aae1cce]::coroutine::mir_coroutine_witnesses + 13: 0x10bcc94ac - rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::__rust_begin_short_backtrace::> + 14: 0x10be46020 - >::call_once + 15: 0x10bc3be6c - rustc_query_system[ab8509ee9b52e65a]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::QueryCtxt, true> + 16: 0x10bdea8bc - rustc_query_impl[aa2e85dfa7ce5c23]::query_impl::mir_coroutine_witnesses::get_query_incr::__rust_end_short_backtrace + 17: 0x10b47882c - rustc_middle[e980463d3e0fd3c]::query::plumbing::query_get_at::>> + 18: 0x10b5b9654 - >::fold_ty + 19: 0x10b5bc0d4 - rustc_middle[e980463d3e0fd3c]::ty::util::fold_list:: as rustc_type_ir[dadb12f4d6a7c7f6]::fold::TypeFoldable>::try_fold_with::{closure#0}> + 20: 0x10b550bf8 - >::try_super_fold_with:: + 21: 0x10b5b9458 - >::fold_ty + 22: 0x10b5b93bc - ::expand_opaque_ty + 23: 0x10b479db0 - ::try_expand_impl_trait_type + 24: 0x10ad64980 - rustc_hir_analysis[79a5e603f16ffcf8]::check::check::check_item_type + 25: 0x10ad6b000 - rustc_hir_analysis[79a5e603f16ffcf8]::check::check::check_mod_item_types + 26: 0x10bcc80b0 - rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10bce7754 - >::call_once + 28: 0x10bc22a58 - rustc_query_system[ab8509ee9b52e65a]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::QueryCtxt, true> + 29: 0x10be97ec8 - rustc_query_impl[aa2e85dfa7ce5c23]::query_impl::check_mod_item_types::get_query_incr::__rust_end_short_backtrace + 30: 0x10ae026ec - ::for_each_module:: + 31: 0x10ad8c5d0 - rustc_hir_analysis[79a5e603f16ffcf8]::check_crate + 32: 0x10b23ece0 - rustc_interface[4de0952d7d663935]::passes::analysis + 33: 0x10bcca9bc - rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::__rust_begin_short_backtrace::> + 34: 0x10bd8537c - >::call_once + 35: 0x10bbe4648 - rustc_query_system[ab8509ee9b52e65a]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[aa2e85dfa7ce5c23]::plumbing::QueryCtxt, true> + 36: 0x10bde9568 - rustc_query_impl[aa2e85dfa7ce5c23]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 37: 0x10aabf170 - ::enter::> + 38: 0x10aa3cc4c - ::enter::, rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>> + 39: 0x10aabd534 - rustc_span[e4c885c4c47bbc90]::set_source_map::, rustc_interface[4de0952d7d663935]::interface::run_compiler, rustc_driver_impl[a5cbd23e5e1b846f]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> + 40: 0x10aac5bc4 - std[fc5d079b268c001b]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[a5cbd23e5e1b846f]::run_compiler::{closure#1}>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>> + 41: 0x10aa99308 - <::spawn_unchecked_, rustc_driver_impl[a5cbd23e5e1b846f]::run_compiler::{closure#1}>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[e84f05aec3508a1b]::result::Result<(), rustc_span[e4c885c4c47bbc90]::ErrorGuaranteed>>::{closure#1} as core[e84f05aec3508a1b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 42: 0x1016b83c4 - std::sys::unix::thread::Thread::new::thread_start::hf4a34515c60a26a3 + 43: 0x18122e034 - __pthread_joiner_wake + + +rustc version: 1.75.0-nightly (edf0b1db0 2023-11-10) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [mir_coroutine_witnesses] coroutine witness types for `listener::::refresh_state::{closure#0}` +#1 [check_mod_item_types] checking item types in module `listener` +#2 [analysis] running analysis passes on this crate +end of query stack diff --git a/test.aqua b/test.aqua new file mode 100644 index 0000000000..e69de29bb2