[INFO] cloning repository https://github.com/andrei2308/blockchain-demo-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrei2308/blockchain-demo-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrei2308%2Fblockchain-demo-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrei2308%2Fblockchain-demo-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10cb70226dff5a910c33635a149d71e48952a32d [INFO] checking andrei2308/blockchain-demo-rust against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrei2308%2Fblockchain-demo-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andrei2308/blockchain-demo-rust [INFO] finished tweaking git repo https://github.com/andrei2308/blockchain-demo-rust [INFO] tweaked toml for git repo https://github.com/andrei2308/blockchain-demo-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andrei2308/blockchain-demo-rust on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andrei2308/blockchain-demo-rust 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 52 packages to latest Rust 1.92.0-nightly compatible versions [INFO] [stderr] Adding base64 v0.21.7 [INFO] [stderr] Adding data-encoding v2.9.0 [INFO] [stderr] Adding displaydoc v0.2.5 [INFO] [stderr] Adding encoding_rs v0.8.35 [INFO] [stderr] Adding futures-sink v0.3.31 [INFO] [stderr] Adding h2 v0.3.27 [INFO] [stderr] Adding headers v0.3.9 [INFO] [stderr] Adding headers-core v0.2.0 [INFO] [stderr] Adding http v0.2.12 [INFO] [stderr] Adding http-body v0.4.6 [INFO] [stderr] Adding hyper v0.14.32 [INFO] [stderr] Adding icu_collections v2.0.0 [INFO] [stderr] Adding icu_locale_core v2.0.0 [INFO] [stderr] Adding icu_normalizer v2.0.0 [INFO] [stderr] Adding icu_normalizer_data v2.0.0 [INFO] [stderr] Adding icu_properties v2.0.1 [INFO] [stderr] Adding icu_properties_data v2.0.1 [INFO] [stderr] Adding icu_provider v2.0.0 [INFO] [stderr] Adding idna v1.1.0 [INFO] [stderr] Adding idna_adapter v1.2.1 [INFO] [stderr] Adding litemap v0.8.0 [INFO] [stderr] Adding mime_guess v2.0.5 [INFO] [stderr] Adding multer v2.1.0 [INFO] [stderr] Adding pin-project v1.1.10 [INFO] [stderr] Adding pin-project-internal v1.1.10 [INFO] [stderr] Adding potential_utf v0.1.3 [INFO] [stderr] Adding scoped-tls v1.0.1 [INFO] [stderr] Adding sha1 v0.10.6 [INFO] [stderr] Adding slab v0.4.11 [INFO] [stderr] Adding stable_deref_trait v1.2.1 [INFO] [stderr] Adding synstructure v0.13.2 [INFO] [stderr] Adding thiserror v1.0.69 [INFO] [stderr] Adding thiserror-impl v1.0.69 [INFO] [stderr] Adding tinystr v0.8.1 [INFO] [stderr] Adding tokio-tungstenite v0.21.0 [INFO] [stderr] Adding tokio-util v0.7.16 [INFO] [stderr] Adding try-lock v0.2.5 [INFO] [stderr] Adding tungstenite v0.21.0 [INFO] [stderr] Adding unicase v2.8.1 [INFO] [stderr] Adding url v2.5.4 (available: v2.5.7) [INFO] [stderr] Adding utf-8 v0.7.6 [INFO] [stderr] Adding utf8_iter v1.0.4 [INFO] [stderr] Adding want v0.3.1 [INFO] [stderr] Adding warp v0.3.7 (available: v0.4.2) [INFO] [stderr] Adding writeable v0.6.1 [INFO] [stderr] Adding yoke v0.8.0 [INFO] [stderr] Adding yoke-derive v0.8.0 [INFO] [stderr] Adding zerofrom v0.1.6 [INFO] [stderr] Adding zerofrom-derive v0.1.6 [INFO] [stderr] Adding zerotrie v0.2.2 [INFO] [stderr] Adding zerovec v0.11.4 [INFO] [stderr] Adding zerovec-derive v0.11.1 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlp v0.5.2 [INFO] [stderr] Downloaded multer v2.1.0 [INFO] [stderr] Downloaded ruint-macro v1.2.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.21.0 [INFO] [stderr] Downloaded stable_deref_trait v1.2.1 [INFO] [stderr] Downloaded hex-literal v0.4.1 [INFO] [stderr] Downloaded alloy-rlp v0.3.12 [INFO] [stderr] Downloaded impl-rlp v0.3.0 [INFO] [stderr] Downloaded fastrlp v0.3.1 [INFO] [stderr] Downloaded primitive-types v0.12.2 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded fastrlp v0.4.0 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.3 [INFO] [stderr] Downloaded ff v0.13.1 [INFO] [stderr] Downloaded aurora-engine-modexp v1.2.0 [INFO] [stderr] Downloaded parity-scale-codec v3.7.5 [INFO] [stderr] Downloaded alloy-primitives v0.7.7 [INFO] [stderr] Downloaded substrate-bn v0.6.0 [INFO] [stderr] Downloaded k256 v0.13.4 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded revm-interpreter v6.0.0 [INFO] [stderr] Downloaded pest v2.8.0 [INFO] [stderr] Downloaded ruint v1.15.0 [INFO] [stderr] Downloaded secp256k1 v0.29.1 [INFO] [stderr] Downloaded h2 v0.3.27 [INFO] [stderr] Downloaded revm v10.0.0 [INFO] [stderr] Downloaded tower-http v0.5.2 [INFO] [stderr] Downloaded warp v0.3.7 [INFO] [stderr] Downloaded const-hex v1.14.1 [INFO] [stderr] Downloaded blst v0.3.14 [INFO] [stderr] Downloaded sha3-asm v0.1.4 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded keccak-asm v0.1.4 [INFO] [stderr] Downloaded semver-parser v0.10.3 [INFO] [stderr] Downloaded byte-slice-cast v1.2.3 [INFO] [stderr] Downloaded revm-primitives v5.0.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.7.5 [INFO] [stderr] Downloaded enumn v0.1.14 [INFO] [stderr] Downloaded ripemd v0.1.3 [INFO] [stderr] Downloaded revm-precompile v8.0.0 [INFO] [stderr] Downloaded tungstenite v0.21.0 [INFO] [stderr] Downloaded ethereum-types v0.14.1 [INFO] [stderr] Downloaded auto_impl v1.3.0 [INFO] [stderr] Downloaded c-kzg v1.0.3 [INFO] [stderr] Downloaded ethbloom v0.13.0 [INFO] [stderr] Downloaded secp256k1-sys v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c72fb14fbd7390c0f4525018d3c1d10b7790f5a10c9b44f9c6a7aa6038fca0b0 [INFO] running `Command { std: "docker" "start" "-a" "c72fb14fbd7390c0f4525018d3c1d10b7790f5a10c9b44f9c6a7aa6038fca0b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c72fb14fbd7390c0f4525018d3c1d10b7790f5a10c9b44f9c6a7aa6038fca0b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c72fb14fbd7390c0f4525018d3c1d10b7790f5a10c9b44f9c6a7aa6038fca0b0", kill_on_drop: false }` [INFO] [stdout] c72fb14fbd7390c0f4525018d3c1d10b7790f5a10c9b44f9c6a7aa6038fca0b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a11b2f10d4dadb79653ea476f42af32b76d3da66c66838a892b17ae5d969daf3 [INFO] running `Command { std: "docker" "start" "-a" "a11b2f10d4dadb79653ea476f42af32b76d3da66c66838a892b17ae5d969daf3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking httparse v1.10.1 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking tiny-keccak v2.0.2 [INFO] [stderr] Compiling ruint-macro v1.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking fixed-hash v0.8.0 [INFO] [stderr] Checking substrate-bn v0.6.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking aurora-engine-modexp v1.2.0 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking const-hex v1.14.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking impl-serde v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking alloy-rlp v0.3.12 [INFO] [stderr] Checking rlp v0.5.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking primitive-types v0.12.2 [INFO] [stderr] Checking ethbloom v0.13.0 [INFO] [stderr] Checking ruint v1.15.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking alloy-primitives v0.7.7 [INFO] [stderr] Checking ethereum-types v0.14.1 [INFO] [stderr] Checking revm-primitives v5.0.0 [INFO] [stderr] Checking revm-precompile v8.0.0 [INFO] [stderr] Checking revm-interpreter v6.0.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking revm v10.0.0 [INFO] [stderr] Checking hyper-util v0.1.13 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking blockchain-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DatabaseCommit` [INFO] [stdout] --> src/evm.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | Database, DatabaseCommit, Evm, EvmBuilder, InMemoryDB, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::account::WorldState` [INFO] [stdout] --> src/evm.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | use crate::account::WorldState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rpc_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `U256` [INFO] [stdout] --> src/block.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use ethereum_types::{H256,U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseCommit` [INFO] [stdout] --> src/evm.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | Database, DatabaseCommit, Evm, EvmBuilder, InMemoryDB, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/rpc_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/blockchain.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/blockchain.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let mut blockchain = Blockchain::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blockchain` [INFO] [stdout] --> src/blockchain.rs:496:13 [INFO] [stdout] | [INFO] [stdout] 496 | let mut blockchain = Blockchain::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/blockchain.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gas_limit` [INFO] [stdout] --> src/blockchain.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | gas_limit: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `executor` [INFO] [stdout] --> src/evm.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | let executor = RevmExecutor::new(1, 1234567890, Address::from([1u8; 20]), 9000_000_000_000_000_000); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_executor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blockchain` [INFO] [stdout] --> src/miner.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_coinbase_transaction(&self, blockchain: &Blockchain) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blockchain` [INFO] [stdout] --> src/miner.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | fn create_coinbase_transaction(&self, blockchain: &Blockchain) -> Transaction { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blockchain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/rpc_server.rs:181:54 [INFO] [stdout] | [INFO] [stdout] 181 | async fn handle_send_raw_transaction(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/rpc_server.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | async fn handle_eth_call(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/rpc_server.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let data = parse_hex_data(data_str); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/rpc_server.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | fn handle_get_transaction_receipt(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/rpc_server.rs:256:51 [INFO] [stdout] | [INFO] [stdout] 256 | fn handle_get_transaction_receipt(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/blockchain.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Blockchain { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_with_chain_id(chain_id: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_block_by_number(&self, number: u64) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_block_by_hash(&self, hash: H256) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn deploy_contract_with_revm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn call_contract_with_revm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn view_contract_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn get_transaction_count(&self, address: &Address) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn print_chain_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total_gas_used`, `total_supply`, and `contract_count` are never read [INFO] [stdout] --> src/blockchain.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 358 | pub struct BlockchainStats { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 361 | pub total_gas_used: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 362 | pub total_supply: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 363 | pub contract_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockchainStats` 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: method `validate_gas_usage` is never used [INFO] [stdout] --> src/block.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn validate_gas_usage(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deploy_contract`, `call_contract`, and `view_call` are never used [INFO] [stdout] --> src/evm.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl RevmExecutor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn deploy_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn call_contract( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn view_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gas_refunded` and `logs` are never read [INFO] [stdout] --> src/evm.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 273 | pub struct ContractExecutionResult { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 276 | pub gas_refunded: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub logs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractExecutionResult` 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: fields `address`, `topics`, and `data` are never read [INFO] [stdout] --> src/evm.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct EvmLog { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 286 | pub address: Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 287 | pub topics: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvmLog` 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: unused variable: `server` [INFO] [stdout] --> src/rpc_server.rs:181:54 [INFO] [stdout] | [INFO] [stdout] 181 | async fn handle_send_raw_transaction(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `calculate_create2_address`, `encode_function_call`, `decode_uint256`, and `parse_bytecode` are never used [INFO] [stdout] --> src/evm.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl ContractUtils { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn calculate_create2_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn encode_function_call(signature: &str, params: &[Vec]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn decode_uint256(data: &[u8]) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn parse_bytecode(hex_str: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `simple_storage_bytecode` is never used [INFO] [stdout] --> src/evm.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl SolidityContracts { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 359 | pub fn simple_storage_bytecode() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_storage`, `clear_storage`, and `size` are never used [INFO] [stdout] --> src/account.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Account { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_all_storage(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn clear_storage(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/account.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl WorldState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_account(&self, address: &Address) -> Option<&Account> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn account_exists(&self, address: &Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn create_account(&mut self, address: Address, account: Account) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn delete_account(&mut self, address: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn set_nonce(&mut self, address: &Address, nonce: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn set_contract_code(&mut self, address: &Address, code: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn clear_storage(&mut self, address: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn total_balance(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn print_contracts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn print_accounts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn apply_changes(&mut self, other: &WorldState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `summary` and `size` are never used [INFO] [stdout] --> src/transaction.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/rpc_server.rs:187:42 [INFO] [stdout] | [INFO] [stdout] 187 | async fn handle_eth_call(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/rpc_server.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let data = parse_hex_data(data_str); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/rpc_server.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | fn handle_get_transaction_receipt(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server` [INFO] [stdout] --> src/rpc_server.rs:256:51 [INFO] [stdout] | [INFO] [stdout] 256 | fn handle_get_transaction_receipt(params: &Value, server: &Arc) -> Value { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `chain_id` is never read [INFO] [stdout] --> src/blockchain.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Blockchain { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub chain_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blockchain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/blockchain.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Blockchain { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_with_chain_id(chain_id: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn get_block_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_block_by_number(&self, number: u64) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_block_by_hash(&self, hash: H256) -> Option<&Block> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn deploy_contract_with_revm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn call_contract_with_revm( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn view_contract_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn validate_chain(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn get_total_supply(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn get_transaction_count(&self, address: &Address) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn get_transactions_for_address(&self, address: &Address) -> Vec<&Transaction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn print_chain_info(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn get_stats(&self) -> BlockchainStats { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockchainStats` is never constructed [INFO] [stdout] --> src/blockchain.rs:358:12 [INFO] [stdout] | [INFO] [stdout] 358 | pub struct BlockchainStats { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_gas_usage` is never used [INFO] [stdout] --> src/block.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn validate_gas_usage(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h256_to_u256` is never used [INFO] [stdout] --> src/evm.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn h256_to_u256(value: H256) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deploy_contract`, `call_contract`, and `view_call` are never used [INFO] [stdout] --> src/evm.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl RevmExecutor { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn deploy_contract( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn call_contract( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn view_call( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gas_refunded` and `logs` are never read [INFO] [stdout] --> src/evm.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 273 | pub struct ContractExecutionResult { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 276 | pub gas_refunded: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub logs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContractExecutionResult` 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: fields `address`, `topics`, and `data` are never read [INFO] [stdout] --> src/evm.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 285 | pub struct EvmLog { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 286 | pub address: Address, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 287 | pub topics: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | pub data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvmLog` 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: associated functions `calculate_create2_address`, `encode_function_call`, `decode_uint256`, `encode_uint256`, and `parse_bytecode` are never used [INFO] [stdout] --> src/evm.rs:306:12 [INFO] [stdout] | [INFO] [stdout] 293 | impl ContractUtils { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn calculate_create2_address( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn encode_function_call(signature: &str, params: &[Vec]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn decode_uint256(data: &[u8]) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn encode_uint256(value: U256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn parse_bytecode(hex_str: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SolidityContracts` is never constructed [INFO] [stdout] --> src/evm.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct SolidityContracts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `simple_storage_bytecode`, `set_function_selector`, `get_function_selector`, `encode_set_call`, and `encode_get_call` are never used [INFO] [stdout] --> src/evm.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl SolidityContracts { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] 359 | pub fn simple_storage_bytecode() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn set_function_selector() -> [u8; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn get_function_selector() -> [u8; 4] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | pub fn encode_set_call(value: U256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn encode_get_call() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/account.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Account { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn new_with_balance(balance: U256) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_contract(balance: U256, code: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn is_contract(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn get_storage(&self, key: &U256) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn set_storage(&mut self, key: U256, value: U256) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_all_storage(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn clear_storage(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/account.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl WorldState { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_account(&self, address: &Address) -> Option<&Account> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn account_exists(&self, address: &Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn create_account(&mut self, address: Address, account: Account) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn delete_account(&mut self, address: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn set_nonce(&mut self, address: &Address, nonce: u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | pub fn deploy_contract(&mut self, deployer: &Address, contract_address: &Address, code: Vec) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 255 | pub fn set_contract_code(&mut self, address: &Address, code: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 261 | pub fn is_contract(&self, address: &Address) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub fn get_storage(&self, address: &Address, key: &U256) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn set_storage(&mut self, address: &Address, key: U256, value: U256) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn get_all_storage(&self, address: &Address) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub fn clear_storage(&mut self, address: &Address) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn get_all_contracts(&self) -> Vec
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn account_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn contract_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn total_balance(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn remove_empty_accounts(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn get_state_root(&self) -> H256 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn print_contracts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn print_accounts(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn snapshot(&self) -> WorldStateSnapshot { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | pub fn restore_snapshot(&mut self, snapshot: WorldStateSnapshot) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn apply_changes(&mut self, other: &WorldState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorldStateSnapshot` is never constructed [INFO] [stdout] --> src/account.rs:430:12 [INFO] [stdout] | [INFO] [stdout] 430 | pub struct WorldStateSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_transfer`, `new_contract_call`, `is_transfer`, `summary`, and `size` are never used [INFO] [stdout] --> src/transaction.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new_transfer(from: Address, to: Address, value: U256, nonce: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new_contract_call(from: Address, to: Address, calldata: Vec, value: U256, nonce: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_transfer(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.64s [INFO] running `Command { std: "docker" "inspect" "a11b2f10d4dadb79653ea476f42af32b76d3da66c66838a892b17ae5d969daf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a11b2f10d4dadb79653ea476f42af32b76d3da66c66838a892b17ae5d969daf3", kill_on_drop: false }` [INFO] [stdout] a11b2f10d4dadb79653ea476f42af32b76d3da66c66838a892b17ae5d969daf3