[INFO] cloning repository https://github.com/nick199910/evm-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nick199910/evm-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnick199910%2Fevm-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnick199910%2Fevm-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecb4e688d99a2a7dd35274493f8bc62cab1b2082 [INFO] checking nick199910/evm-simulation against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnick199910%2Fevm-simulation" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nick199910/evm-simulation on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nick199910/evm-simulation [INFO] finished tweaking git repo https://github.com/nick199910/evm-simulation [INFO] tweaked toml for git repo https://github.com/nick199910/evm-simulation written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nick199910/evm-simulation already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded keccak-asm v0.1.0 [INFO] [stderr] Downloaded alloy-primitives v0.6.2 [INFO] [stderr] Downloaded ethers-addressbook v2.0.12 [INFO] [stderr] Downloaded mem_storage v0.1.1 [INFO] [stderr] Downloaded ethers-contract-derive v2.0.12 [INFO] [stderr] Downloaded ethers-etherscan v2.0.12 [INFO] [stderr] Downloaded ethers-contract-abigen v2.0.12 [INFO] [stderr] Downloaded svm-rs v0.3.4 [INFO] [stderr] Downloaded ruint v1.11.1 [INFO] [stderr] Downloaded ethers-core v2.0.12 [INFO] [stderr] Downloaded ethers-solc v2.0.12 [INFO] [stderr] Downloaded sha3-asm v0.1.0 [INFO] [stderr] Downloaded c-kzg v0.4.1 [INFO] [stderr] Downloaded revm-primitives v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d312e9d425afdd085c430585969dd8cd1c96c323ba9e4fe1f0c9db86b87f05f [INFO] running `Command { std: "docker" "start" "-a" "4d312e9d425afdd085c430585969dd8cd1c96c323ba9e4fe1f0c9db86b87f05f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d312e9d425afdd085c430585969dd8cd1c96c323ba9e4fe1f0c9db86b87f05f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d312e9d425afdd085c430585969dd8cd1c96c323ba9e4fe1f0c9db86b87f05f", kill_on_drop: false }` [INFO] [stdout] 4d312e9d425afdd085c430585969dd8cd1c96c323ba9e4fe1f0c9db86b87f05f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d267a3e5c51a0e70c312d3b32ae93cb0f777336aa5f74f2289d0929924013123 [INFO] running `Command { std: "docker" "start" "-a" "d267a3e5c51a0e70c312d3b32ae93cb0f777336aa5f74f2289d0929924013123", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Checking const-hex v1.10.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling rlp-derive v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling auto_impl v1.1.0 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.20.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Compiling open-fastrlp-derive v0.1.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking cargo-platform v0.1.6 [INFO] [stderr] Compiling proc-macro-crate v2.0.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling eyre v0.6.11 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling scale-info-derive v2.10.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Checking scale-info v2.10.0 [INFO] [stderr] Checking impl-codec v0.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking open-fastrlp v0.1.4 [INFO] [stderr] Checking ethabi v18.0.0 [INFO] [stderr] Checking js-sys v0.3.67 [INFO] [stderr] Checking ethers-core v2.0.12 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking bs58 v0.5.0 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Checking bech32 v0.9.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking coins-core v0.8.7 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Compiling blst v0.3.11 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking send_wrapper v0.4.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fsio v0.1.3 [INFO] [stderr] Compiling envmnt v0.8.4 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking scrypt v0.10.0 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking coins-bip32 v0.8.7 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking enr v0.9.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking coins-bip39 v0.8.7 [INFO] [stderr] Compiling ci_info v0.10.2 [INFO] [stderr] Checking eth-keystore v0.5.0 [INFO] [stderr] Checking ethers-providers v2.0.11 [INFO] [stderr] Checking alloy-rlp v0.3.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling c-kzg v0.4.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking ethers-contract-abigen v2.0.12 [INFO] [stderr] Compiling nias v0.5.0 [INFO] [stderr] Compiling ruint-macro v1.1.0 [INFO] [stderr] Checking ethers-signers v2.0.11 [INFO] [stderr] Checking ethers-etherscan v2.0.12 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking ruint v1.11.1 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking ethers-addressbook v2.0.12 [INFO] [stderr] Compiling enumn v0.1.13 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking alloy-primitives v0.6.2 [INFO] [stderr] Checking mem_storage v0.1.1 [INFO] [stderr] Compiling rusty-hook v0.11.2 [INFO] [stderr] Checking revm-primitives v2.0.0 [INFO] [stderr] Compiling ethers-contract-derive v2.0.12 [INFO] [stderr] Checking ethers-contract v2.0.11 [INFO] [stderr] Checking ethers-middleware v2.0.11 [INFO] [stderr] Checking ethers v2.0.11 [INFO] [stderr] Checking evm-rs-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/arithmetic/unsigned.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u64_to_u256_array` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core_module::utils::bytes::{u64_to_u256_array, u64_x4_array_to_u8_x32_array}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::context::account_state_ex_context` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core_module::context::account_state_ex_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/dup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/pop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils::bytes` [INFO] [stdout] --> src/core_module/op_codes/system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils::bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/stack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/core_module/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/stack.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/core_module/stack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/core_module/state.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::prelude::*; [INFO] [stdout] | ------------------ the item `U256` is already imported here [INFO] [stdout] 4 | use ethers::{types::U256, utils::keccak256}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::op_codes` [INFO] [stdout] --> src/core_module/utils/bytes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core_module::op_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/context/evm_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProviderExt` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use ethers::providers::{Middleware, ProviderError, ProviderExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::runner::Runner` [INFO] [stdout] --> src/example/tx_with_state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::runner::Runner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::state::EvmState` [INFO] [stdout] --> src/example/tx_with_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core_module::state::EvmState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_h256` [INFO] [stdout] --> src/example/tx_with_state.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::core_module::utils::bytes::{to_h256}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::addressbook::Address` [INFO] [stdout] --> src/example/tx_with_state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use ethers::addressbook::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Provider` [INFO] [stdout] --> src/example/tx_with_state.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use ethers::prelude::{Provider}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Middleware`, `ProviderError`, `ProviderExt` [INFO] [stdout] --> src/example/tx_with_state.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use ethers::providers::{Middleware, ProviderError, ProviderExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TxHash` [INFO] [stdout] --> src/example/tx_with_state.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use ethers::types::{TxHash}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/example/tx_with_state.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/example/tx_with_state.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/example/tx_with_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/example/tx_with_state.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_accounts_state_pre_tx` [INFO] [stdout] --> src/example/tx_with_state.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::core_module::context::account_state_ex_context::{get_accounts_state_pre_tx}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::context::evm_context::EvmContext` [INFO] [stdout] --> src/example/tx_with_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core_module::context::evm_context::EvmContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_transaction_content` [INFO] [stdout] --> src/example/tx_with_state.rs:15:56 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::core_module::context::transaction_context::{get_transaction_content}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dotenv::dotenv` [INFO] [stdout] --> src/example/tx_with_state.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/example/tx_with_state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::core::k256::sha2::digest::typenum::op` [INFO] [stdout] --> src/example/call_tracer_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ethers::core::k256::sha2::digest::typenum::op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/example/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod call_tracer_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::types::GethDebugTracerConfig` [INFO] [stdout] --> src/example/call_tracer_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::GethDebugTracerConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/example/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod call_tracer_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/example/call_tracer_test.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/example/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod call_tracer_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/arithmetic/unsigned.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u64_to_u256_array` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core_module::utils::bytes::{u64_to_u256_array, u64_x4_array_to_u8_x32_array}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pad_left` is imported redundantly [INFO] [stdout] --> src/core_module/op_codes/comparison.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 133 | use super::*; [INFO] [stdout] | -------- the item `pad_left` is already imported here [INFO] [stdout] 134 | use crate::core_module::utils::bytes::pad_left; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::context::account_state_ex_context` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core_module::context::account_state_ex_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pad_left` is imported redundantly [INFO] [stdout] --> src/core_module/op_codes/environment.rs:467:78 [INFO] [stdout] | [INFO] [stdout] 466 | use super::*; [INFO] [stdout] | -------- the item `pad_left` is already imported here [INFO] [stdout] 467 | use crate::core_module::utils::bytes::{_hex_string_to_bytes, _pad_right, pad_left}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pad_left` is imported redundantly [INFO] [stdout] --> src/core_module/op_codes/flow.rs:121:66 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `pad_left` is already imported here [INFO] [stdout] 121 | use crate::core_module::utils::bytes::{_hex_string_to_bytes, pad_left}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/dup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/pop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils::bytes` [INFO] [stdout] --> src/core_module/op_codes/system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils::bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/stack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/core_module/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/stack.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/core_module/stack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/core_module/state.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::prelude::*; [INFO] [stdout] | ------------------ the item `U256` is already imported here [INFO] [stdout] 4 | use ethers::{types::U256, utils::keccak256}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::op_codes` [INFO] [stdout] --> src/core_module/utils/bytes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core_module::op_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/context/evm_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProviderExt` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use ethers::providers::{Middleware, ProviderError, ProviderExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Middleware` [INFO] [stdout] --> src/example/tx_with_state.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use ethers::providers::{Middleware, ProviderError, ProviderExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/example/tx_with_state.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/example/tx_with_state.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::core::k256::sha2::digest::typenum::op` [INFO] [stdout] --> src/example/call_tracer_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ethers::core::k256::sha2::digest::typenum::op; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ethers::types::GethDebugTracerConfig` [INFO] [stdout] --> src/example/call_tracer_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ethers::types::GethDebugTracerConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/example/call_tracer_test.rs:9:34 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm` [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | PreStateFrame::Diff(dm) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut balance_u64 = _account_state.balance.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut account_state = AccountStateEx { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm` [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | PreStateFrame::Diff(dm) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `euler_attack` [INFO] [stdout] --> src/example/call_tracer_test.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let euler_attack = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_euler_attack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> src/example/call_tracer_test.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let tx_hash = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `euler_attack` [INFO] [stdout] --> src/example/call_tracer_test.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let euler_attack = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_euler_attack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usdc_transfer_tx` [INFO] [stdout] --> src/example/call_tracer_test.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let usdc_transfer_tx = "0x890249a15f17950a60711c0396ccd147068365ea852f0837c08f55f9dd7c320e"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usdc_transfer_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `OlympusDAO_tx` [INFO] [stdout] --> src/example/call_tracer_test.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let OlympusDAO_tx = "0x3ed75df83d907412af874b7998d911fdf990704da87c2b1a8cf95ca5d21504cf"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_OlympusDAO_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Templedao_tx` [INFO] [stdout] --> src/example/call_tracer_test.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let Templedao_tx = "0x8c3f442fc6d640a6ff3ea0b12be64f1d4609ea94edd2966f42c01cd9bdcf04b5"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Templedao_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> src/example/call_tracer_test.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let tx_hash = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut balance_u64 = _account_state.balance.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut account_state = AccountStateEx { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `euler_attack` [INFO] [stdout] --> src/example/call_tracer_test.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let euler_attack = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_euler_attack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> src/example/call_tracer_test.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let tx_hash = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `euler_attack` [INFO] [stdout] --> src/example/call_tracer_test.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let euler_attack = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_euler_attack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usdc_transfer_tx` [INFO] [stdout] --> src/example/call_tracer_test.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let usdc_transfer_tx = "0x890249a15f17950a60711c0396ccd147068365ea852f0837c08f55f9dd7c320e"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usdc_transfer_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `OlympusDAO_tx` [INFO] [stdout] --> src/example/call_tracer_test.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let OlympusDAO_tx = "0x3ed75df83d907412af874b7998d911fdf990704da87c2b1a8cf95ca5d21504cf"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_OlympusDAO_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Templedao_tx` [INFO] [stdout] --> src/example/call_tracer_test.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let Templedao_tx = "0x8c3f442fc6d640a6ff3ea0b12be64f1d4609ea94edd2966f42c01cd9bdcf04b5"; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Templedao_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx_hash` [INFO] [stdout] --> src/example/call_tracer_test.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let tx_hash = "0xc310a0affe2169d1f6feec1c63dbc7f7c62a887fa48795d327d4d2da2d6b111d"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tx_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hex` is assigned to, but never used [INFO] [stdout] --> src/core_module/op_codes/flow.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | hex = utils::debug::vec_to_hex_string( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | hex = utils::debug::to_hex_string([0u8; 32]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut instance = Self { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `op_count` is assigned to, but never used [INFO] [stdout] --> src/core_module/runner.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut op_count = self.op_count; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_op_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_opcode` [INFO] [stdout] --> src/core_module/runner.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let my_opcode = get_op_code(self.bytecode[self.pc]).to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | let mut code = self.state.get_code_at(to); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let result = runner.stack.pop().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug_stack`, `debug_memory`, and `debug_storage` are never used [INFO] [stdout] --> src/core_module/runner.rs:662:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Runner { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 662 | fn debug_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn debug_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn debug_storage(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_accounts_state_pre_tx` is never used [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get_accounts_state_pre_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCodeContext` is never constructed [INFO] [stdout] --> src/core_module/context/opcode_context.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OpCodeContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCodeContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionEnv` is never constructed [INFO] [stdout] --> src/core_module/context/transaction_context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TransactionEnv { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionEnv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_transaction_content` is never used [INFO] [stdout] --> src/core_module/context/transaction_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn get_transaction_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCodeContext` is never constructed [INFO] [stdout] --> src/example/call_tracer_test.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OpCodeContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCodeContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_op_tracer` is never used [INFO] [stdout] --> src/example/call_tracer_test.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn test_op_tracer() -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_call_tracer` is never used [INFO] [stdout] --> src/example/call_tracer_test.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | async fn test_call_tracer() -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/example/call_tracer_test.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct StructLog { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 121 | pub pc: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 122 | pub op: String, [INFO] [stdout] | ^^ [INFO] [stdout] 123 | pub gas: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 124 | pub gasCost: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 125 | pub depth: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | pub stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | pub memory: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `structLogs` is never read [INFO] [stdout] --> src/example/call_tracer_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct LogData { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 132 | pub structLogs: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_op_tracer` is never used [INFO] [stdout] --> src/example/call_tracer_test.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn read_op_tracer() -> LogData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hex` is assigned to, but never used [INFO] [stdout] --> src/core_module/op_codes/flow.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | hex = utils::debug::vec_to_hex_string( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | hex = utils::debug::to_hex_string([0u8; 32]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_module/op_codes/environment.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | runner.increment_pc(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = runner.increment_pc(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:668:39 [INFO] [stdout] | [INFO] [stdout] 668 | println!("\n\n{}", border_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:676:35 [INFO] [stdout] | [INFO] [stdout] 676 | println!("{}", footer_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:694:37 [INFO] [stdout] | [INFO] [stdout] 694 | println!("\n{}", border_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:701:35 [INFO] [stdout] | [INFO] [stdout] 701 | println!("{}", footer_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:388:37 [INFO] [stdout] | [INFO] [stdout] 388 | println!("\n{}", border_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | println!("{}", footer_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OlympusDAO_tx` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let OlympusDAO_tx = "0x3ed75df83d907412af874b7998d911fdf990704da87c2b1a8cf95ca5d21504cf"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `olympus_dao_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Templedao_tx` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let Templedao_tx = "0x8c3f442fc6d640a6ff3ea0b12be64f1d4609ea94edd2966f42c01cd9bdcf04b5"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `templedao_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `gasCost` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub gasCost: u32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `gas_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `structLogs` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub structLogs: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `struct_logs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> src/core_module/op_codes/system.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let caller = runner.caller; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hh` [INFO] [stdout] --> src/core_module/op_codes/system.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 444 | let hh = &format!("{:02x}", byte); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/core_module/op_codes/system.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let tt = &string_address; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/core_module/op_codes/system.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let addr = runner.address; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut instance = Self { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `op_count` is assigned to, but never used [INFO] [stdout] --> src/core_module/runner.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut op_count = self.op_count; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_op_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_opcode` [INFO] [stdout] --> src/core_module/runner.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let my_opcode = get_op_code(self.bytecode[self.pc]).to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | let mut code = self.state.get_code_at(to); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug_stack`, `debug_memory`, and `debug_storage` are never used [INFO] [stdout] --> src/core_module/runner.rs:662:8 [INFO] [stdout] | [INFO] [stdout] 48 | impl Runner { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 662 | fn debug_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn debug_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn debug_storage(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCodeContext` is never constructed [INFO] [stdout] --> src/core_module/context/opcode_context.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OpCodeContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCodeContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx_hash`, `nonce`, `gas`, `prevrandao`, and `chain_id` are never read [INFO] [stdout] --> src/core_module/context/transaction_context.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TransactionEnv { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 13 | /// The transaction's hash [INFO] [stdout] 14 | pub tx_hash: H256, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub nonce: [u8; 32], [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub gas: [u8; 32], [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub prevrandao: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | [INFO] [stdout] 49 | pub chain_id: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionEnv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCodeContext` is never constructed [INFO] [stdout] --> src/example/call_tracer_test.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct OpCodeContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCodeContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_op_tracer` is never used [INFO] [stdout] --> src/example/call_tracer_test.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | async fn test_op_tracer() -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_call_tracer` is never used [INFO] [stdout] --> src/example/call_tracer_test.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | async fn test_call_tracer() -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/example/call_tracer_test.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct StructLog { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 121 | pub pc: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 122 | pub op: String, [INFO] [stdout] | ^^ [INFO] [stdout] 123 | pub gas: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 124 | pub gasCost: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 125 | pub depth: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 126 | pub stack: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 127 | pub memory: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StructLog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `structLogs` is never read [INFO] [stdout] --> src/example/call_tracer_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct LogData { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 132 | pub structLogs: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/arithmetic/unsigned.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u64_to_u256_array` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core_module::utils::bytes::{u64_to_u256_array, u64_x4_array_to_u8_x32_array}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::context::account_state_ex_context` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core_module::context::account_state_ex_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/dup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/pop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils::bytes` [INFO] [stdout] --> src/core_module/op_codes/system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils::bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/stack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/core_module/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/stack.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/core_module/stack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/core_module/state.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::prelude::*; [INFO] [stdout] | ------------------ the item `U256` is already imported here [INFO] [stdout] 4 | use ethers::{types::U256, utils::keccak256}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::op_codes` [INFO] [stdout] --> src/core_module/utils/bytes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core_module::op_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/context/evm_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProviderExt` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use ethers::providers::{Middleware, ProviderError, ProviderExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_module/op_codes/environment.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | runner.increment_pc(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = runner.increment_pc(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:668:39 [INFO] [stdout] | [INFO] [stdout] 668 | println!("\n\n{}", border_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:676:35 [INFO] [stdout] | [INFO] [stdout] 676 | println!("{}", footer_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:694:37 [INFO] [stdout] | [INFO] [stdout] 694 | println!("\n{}", border_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:701:35 [INFO] [stdout] | [INFO] [stdout] 701 | println!("{}", footer_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:388:37 [INFO] [stdout] | [INFO] [stdout] 388 | println!("\n{}", border_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | println!("{}", footer_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test__hex_string_to_bytes` should have a snake case name [INFO] [stdout] --> src/core_module/utils/bytes.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn test__hex_string_to_bytes() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_hex_string_to_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OlympusDAO_tx` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let OlympusDAO_tx = "0x3ed75df83d907412af874b7998d911fdf990704da87c2b1a8cf95ca5d21504cf"; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `olympus_dao_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Templedao_tx` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let Templedao_tx = "0x8c3f442fc6d640a6ff3ea0b12be64f1d4609ea94edd2966f42c01cd9bdcf04b5"; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `templedao_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `gasCost` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub gasCost: u32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `gas_cost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/arithmetic/unsigned.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `structLogs` should have a snake case name [INFO] [stdout] --> src/example/call_tracer_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub structLogs: Vec, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `struct_logs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u64_to_u256_array` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core_module::utils::bytes::{u64_to_u256_array, u64_x4_array_to_u8_x32_array}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pad_left` is imported redundantly [INFO] [stdout] --> src/core_module/op_codes/comparison.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 133 | use super::*; [INFO] [stdout] | -------- the item `pad_left` is already imported here [INFO] [stdout] 134 | use crate::core_module::utils::bytes::pad_left; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::context::account_state_ex_context` [INFO] [stdout] --> src/core_module/op_codes/environment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::core_module::context::account_state_ex_context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pad_left` is imported redundantly [INFO] [stdout] --> src/core_module/op_codes/environment.rs:467:78 [INFO] [stdout] | [INFO] [stdout] 466 | use super::*; [INFO] [stdout] | -------- the item `pad_left` is already imported here [INFO] [stdout] 467 | use crate::core_module::utils::bytes::{_hex_string_to_bytes, _pad_right, pad_left}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pad_left` is imported redundantly [INFO] [stdout] --> src/core_module/op_codes/flow.rs:121:66 [INFO] [stdout] | [INFO] [stdout] 120 | use super::*; [INFO] [stdout] | -------- the item `pad_left` is already imported here [INFO] [stdout] 121 | use crate::core_module::utils::bytes::{_hex_string_to_bytes, pad_left}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/dup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/stack/pop.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/storage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils::bytes` [INFO] [stdout] --> src/core_module/op_codes/system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils::bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/op_codes/system.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::utils` [INFO] [stdout] --> src/core_module/stack.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::core_module::utils; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::Colorize` [INFO] [stdout] --> src/core_module/stack.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/stack.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/core_module/stack.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `U256` is imported redundantly [INFO] [stdout] --> src/core_module/state.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 3 | use ethers::prelude::*; [INFO] [stdout] | ------------------ the item `U256` is already imported here [INFO] [stdout] 4 | use ethers::{types::U256, utils::keccak256}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core_module::op_codes` [INFO] [stdout] --> src/core_module/utils/bytes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::core_module::op_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `primitive_types::U256` [INFO] [stdout] --> src/core_module/context/evm_context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use primitive_types::U256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProviderExt` [INFO] [stdout] --> src/core_module/context/transaction_context.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | use ethers::providers::{Middleware, ProviderError, ProviderExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `fs` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, fs}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `colored::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use colored::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm` [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | PreStateFrame::Diff(dm) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut balance_u64 = _account_state.balance.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut account_state = AccountStateEx { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm` [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | PreStateFrame::Diff(dm) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let mut balance_u64 = _account_state.balance.clone().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | let mut account_state = AccountStateEx { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hex` is assigned to, but never used [INFO] [stdout] --> src/core_module/op_codes/flow.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | hex = utils::debug::vec_to_hex_string( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | hex = utils::debug::to_hex_string([0u8; 32]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut instance = Self { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `op_count` is assigned to, but never used [INFO] [stdout] --> src/core_module/runner.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut op_count = self.op_count; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_op_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_opcode` [INFO] [stdout] --> src/core_module/runner.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let my_opcode = get_op_code(self.bytecode[self.pc]).to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | let mut code = self.state.get_code_at(to); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut bytecode: String = String::from("0x6080604052"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify_account_state`, `debug_stack`, `debug_memory`, and `debug_storage` are never used [INFO] [stdout] --> src/core_module/runner.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Runner { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn modify_account_state(&mut self, address: [u8; 20], account_state_ex: AccountStateEx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | fn debug_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn debug_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn debug_storage(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug_state` is never used [INFO] [stdout] --> src/core_module/state.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl EvmState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn debug_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_left_one` is never used [INFO] [stdout] --> src/core_module/utils/bytes.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn pad_left_one(bytes: &[u8]) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_zero_padding` is never used [INFO] [stdout] --> src/core_module/utils/bytes.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn strip_zero_padding(arr: &[u8; 32]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_h160` is never used [INFO] [stdout] --> src/core_module/utils/bytes.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_h160(str_address: &'static str) -> H160 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_h256` is never used [INFO] [stdout] --> src/core_module/utils/bytes.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn to_h256(str_address: &'static str) -> H256 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CodeNotFound` is never constructed [INFO] [stdout] --> src/core_module/utils/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ExecutionError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | CodeNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blockhash`, `difficulty`, and `prevrandao` are never read [INFO] [stdout] --> src/core_module/context/evm_context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EvmContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub blockhash: Option<[u8; 32]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub difficulty: Option<[u8; 32]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub prevrandao: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvmContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core_module/context/evm_context.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl EvmContext { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountStateEx` is never constructed [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AccountStateEx { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountStateEx` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_accounts_state_pre_tx` is never used [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get_accounts_state_pre_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCodeContext` is never constructed [INFO] [stdout] --> src/core_module/context/opcode_context.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OpCodeContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCodeContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionEnv` is never constructed [INFO] [stdout] --> src/core_module/context/transaction_context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TransactionEnv { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionEnv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StateTracerType` is never used [INFO] [stdout] --> src/core_module/context/transaction_context.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum StateTracerType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateTracerType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_transaction_content` is never used [INFO] [stdout] --> src/core_module/context/transaction_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn get_transaction_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/core_module/op_codes/bitwise.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | let result = runner.stack.pop().unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_module/op_codes/environment.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | runner.increment_pc(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = runner.increment_pc(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:668:39 [INFO] [stdout] | [INFO] [stdout] 668 | println!("\n\n{}", border_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:676:35 [INFO] [stdout] | [INFO] [stdout] 676 | println!("{}", footer_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:694:37 [INFO] [stdout] | [INFO] [stdout] 694 | println!("\n{}", border_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:701:35 [INFO] [stdout] | [INFO] [stdout] 701 | println!("{}", footer_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:388:37 [INFO] [stdout] | [INFO] [stdout] 388 | println!("\n{}", border_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | println!("{}", footer_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hex` is assigned to, but never used [INFO] [stdout] --> src/core_module/op_codes/flow.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let hex; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | hex = utils::debug::vec_to_hex_string( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hex` is never read [INFO] [stdout] --> src/core_module/op_codes/flow.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | hex = utils::debug::to_hex_string([0u8; 32]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller` [INFO] [stdout] --> src/core_module/op_codes/system.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let caller = runner.caller; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hh` [INFO] [stdout] --> src/core_module/op_codes/system.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 444 | let hh = &format!("{:02x}", byte); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/core_module/op_codes/system.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | let tt = &string_address; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/core_module/op_codes/system.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | let addr = runner.address; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut instance = Self { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `op_count` is assigned to, but never used [INFO] [stdout] --> src/core_module/runner.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut op_count = self.op_count; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_op_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `my_opcode` [INFO] [stdout] --> src/core_module/runner.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | let my_opcode = get_op_code(self.bytecode[self.pc]).to_string(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_opcode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core_module/runner.rs:621:13 [INFO] [stdout] | [INFO] [stdout] 621 | let mut code = self.state.get_code_at(to); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut bytecode: String = String::from("0x6080604052"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify_account_state`, `debug_stack`, `debug_memory`, and `debug_storage` are never used [INFO] [stdout] --> src/core_module/runner.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Runner { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn modify_account_state(&mut self, address: [u8; 20], account_state_ex: AccountStateEx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | fn debug_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 688 | fn debug_memory(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | fn debug_storage(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug_state` is never used [INFO] [stdout] --> src/core_module/state.rs:381:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl EvmState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn debug_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `strip_zero_padding` is never used [INFO] [stdout] --> src/core_module/utils/bytes.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn strip_zero_padding(arr: &[u8; 32]) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_h160` is never used [INFO] [stdout] --> src/core_module/utils/bytes.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn to_h160(str_address: &'static str) -> H160 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_h256` is never used [INFO] [stdout] --> src/core_module/utils/bytes.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn to_h256(str_address: &'static str) -> H256 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CodeNotFound` is never constructed [INFO] [stdout] --> src/core_module/utils/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ExecutionError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | CodeNotFound, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blockhash`, `difficulty`, and `prevrandao` are never read [INFO] [stdout] --> src/core_module/context/evm_context.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EvmContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 6 | pub blockhash: Option<[u8; 32]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub difficulty: Option<[u8; 32]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub prevrandao: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvmContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core_module/context/evm_context.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl EvmContext { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountStateEx` is never constructed [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AccountStateEx { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountStateEx` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_accounts_state_pre_tx` is never used [INFO] [stdout] --> src/core_module/context/account_state_ex_context.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | pub async fn get_accounts_state_pre_tx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OpCodeContext` is never constructed [INFO] [stdout] --> src/core_module/context/opcode_context.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OpCodeContext<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OpCodeContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransactionEnv` is never constructed [INFO] [stdout] --> src/core_module/context/transaction_context.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TransactionEnv { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransactionEnv` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StateTracerType` is never used [INFO] [stdout] --> src/core_module/context/transaction_context.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum StateTracerType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateTracerType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_transaction_content` is never used [INFO] [stdout] --> src/core_module/context/transaction_context.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn get_transaction_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core_module/op_codes/environment.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | runner.increment_pc(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 289 | let _ = runner.increment_pc(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:668:39 [INFO] [stdout] | [INFO] [stdout] 668 | println!("\n\n{}", border_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:676:35 [INFO] [stdout] | [INFO] [stdout] 676 | println!("{}", footer_line.clone().green()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:694:37 [INFO] [stdout] | [INFO] [stdout] 694 | println!("\n{}", border_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/runner.rs:701:35 [INFO] [stdout] | [INFO] [stdout] 701 | println!("{}", footer_line.clone().blue()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:388:37 [INFO] [stdout] | [INFO] [stdout] 388 | println!("\n{}", border_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core_module/state.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | println!("{}", footer_line.clone().red()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test__hex_string_to_bytes` should have a snake case name [INFO] [stdout] --> src/core_module/utils/bytes.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn test__hex_string_to_bytes() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `test_hex_string_to_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "d267a3e5c51a0e70c312d3b32ae93cb0f777336aa5f74f2289d0929924013123", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d267a3e5c51a0e70c312d3b32ae93cb0f777336aa5f74f2289d0929924013123", kill_on_drop: false }` [INFO] [stdout] d267a3e5c51a0e70c312d3b32ae93cb0f777336aa5f74f2289d0929924013123