Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@shruti-gitm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant