You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type mismatch in function arguments --> /home/hello/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tezos-smart-rollup-entrypoint-0.2.2/src/lib.rs:22:26
#18
Open
shruti-gitm opened this issue
Dec 7, 2024
· 0 comments
std::panic::set_hook(Box::new(tezos_smart_rollup_panic_hook::panic_handler));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected due to this
| found signature defined here
|
= note: expected function signature for<'a, 'b> fn(&'a PanicHookInfo<'b>) -> _
found function signature fn(&core::panic::panic_info::PanicInfo<'_>) -> _
= note: required for the cast from Box<for<'a, 'b> fn(&'a core::panic::panic_info::PanicInfo<'b>) {panic_handler}> to Box<(dyn for<'a, 'b> Fn(&'a PanicHookInfo<'b>) + Send + Sync + 'static)>
For more information about this error, try rustc --explain E0631.
error: could not compile tezos-smart-rollup-entrypoint (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
make[2]: *** [Makefile:20: build-kernel] Error 101
make[2]: Leaving directory '/home/hello/Downloads/sequencer-master'
make[1]: *** [Makefile:36: build-operator] Error 2
make[1]: Leaving directory '/home/hello/Downloads/sequencer-master'
make: *** [Makefile:56: run-operator] Error 2
The text was updated successfully, but these errors were encountered:
std::panic::set_hook(Box::new(tezos_smart_rollup_panic_hook::panic_handler));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| expected due to this
| found signature defined here
|
= note: expected function signature
for<'a, 'b> fn(&'a PanicHookInfo<'b>) -> _
found function signature
fn(&core::panic::panic_info::PanicInfo<'_>) -> _
= note: required for the cast from
Box<for<'a, 'b> fn(&'a core::panic::panic_info::PanicInfo<'b>) {panic_handler}>
toBox<(dyn for<'a, 'b> Fn(&'a PanicHookInfo<'b>) + Send + Sync + 'static)>
For more information about this error, try
rustc --explain E0631
.error: could not compile
tezos-smart-rollup-entrypoint
(lib) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
make[2]: *** [Makefile:20: build-kernel] Error 101
make[2]: Leaving directory '/home/hello/Downloads/sequencer-master'
make[1]: *** [Makefile:36: build-operator] Error 2
make[1]: Leaving directory '/home/hello/Downloads/sequencer-master'
make: *** [Makefile:56: run-operator] Error 2
The text was updated successfully, but these errors were encountered: