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
cargo build --release --bin latency
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
warning: private item shadows public glob re-export
--> non-persist-trie/src/lib.rs:5:30
|
5 | use utils::{types::{AddrKey, Digestible, bytes_hash}, ROCKSDB_COL_ID};
| ^^^^^^^^^^
|
note: the name `Digestible` in the type namespace is supposed to be publicly re-exported here
--> non-persist-trie/src/lib.rs:1:9
|
1 | pub use patricia_trie::prelude::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> non-persist-trie/src/lib.rs:5:30
|
5 | use utils::{types::{AddrKey, Digestible, bytes_hash}, ROCKSDB_COL_ID};
| ^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
warning: `non-persist-trie` (lib) generated 1 warning
Compiling eth-execution-engine v0.1.0 (/root/workspace/cole/eth-execution-engine)
error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
--> eth-execution-engine/src/cole_backend.rs:27:13
|
26 | let mut_ptr = const_ptr as *mut Cole;
| ---------------------- casting happend here
27 | &mut *mut_ptr
| ^^^^^^^^^^^^^
|
= note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
= note: `#[deny(invalid_reference_casting)]` on by default
error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
--> eth-execution-engine/src/cole_star_backend.rs:27:13
|
26 | let mut_ptr = const_ptr as *mut ColeStar;
| -------------------------- casting happend here
27 | &mut *mut_ptr
| ^^^^^^^^^^^^^
|
= note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
error: could not compile `eth-execution-engine` (lib) due to 2 previous errors
env:
rustc --version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
The text was updated successfully, but these errors were encountered: