[INFO] cloning repository https://github.com/abbychau/abbyEVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abbychau/abbyEVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabbychau%2FabbyEVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabbychau%2FabbyEVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd3bf98702a20c1a3d17fad4ddc0bd3371ca4e9f [INFO] testing abbychau/abbyEVM against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabbychau%2FabbyEVM" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abbychau/abbyEVM [INFO] finished tweaking git repo https://github.com/abbychau/abbyEVM [INFO] tweaked toml for git repo https://github.com/abbychau/abbyEVM written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abbychau/abbyEVM on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abbychau/abbyEVM 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc3181f151ed3cbdbcb676140a522a555d938de6f4d8b606c836b89c15763114 [INFO] running `Command { std: "docker" "start" "-a" "dc3181f151ed3cbdbcb676140a522a555d938de6f4d8b606c836b89c15763114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc3181f151ed3cbdbcb676140a522a555d938de6f4d8b606c836b89c15763114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc3181f151ed3cbdbcb676140a522a555d938de6f4d8b606c836b89c15763114", kill_on_drop: false }` [INFO] [stdout] dc3181f151ed3cbdbcb676140a522a555d938de6f4d8b606c836b89c15763114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0304a3712339ba4a1b87896b8a63d4c138394df2a77efd4c7d4b071217fd5076 [INFO] running `Command { std: "docker" "start" "-a" "0304a3712339ba4a1b87896b8a63d4c138394df2a77efd4c7d4b071217fd5076", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rlp v0.5.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling fixed-hash v0.8.0 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling libp2p-identity v0.2.12 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-ticker v0.0.3 [INFO] [stderr] Compiling yamux v0.13.6 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling primitive-types v0.12.2 [INFO] [stderr] Compiling ethbloom v0.13.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling ethereum-types v0.14.1 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-gossipsub v0.46.1 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-ping v0.44.1 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stderr] Compiling abby_evm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `expanded_path` [INFO] [stdout] --> src/main.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 432 | if let Ok(expanded_path) = std::fs::canonicalize(&db_path_str) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_count` [INFO] [stdout] --> src/main.rs:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | let (chain_length, head_hash, block_count, abby_supply) = node.get_blockchain_info().await; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/blockchain/chain.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | let (key, value) = result.map_err(|e| format!("Database scan error: {}", e))?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/compiler/codegen.rs:627:44 [INFO] [stdout] | [INFO] [stdout] 627 | fn visit_member_access_expr(&mut self, member: &MemberAccessExpr) -> CompileResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_gas` [INFO] [stdout] --> src/evm/mod.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let initial_gas = state.gas; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_gas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_receipt`, `get_account`, `get_abby_balance`, `transfer_abby`, `validate_chain`, and `get_abby_rich_list` are never used [INFO] [stdout] --> src/blockchain/chain.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_receipt(&self, tx_hash: &H256) -> Option<&TransactionReceipt> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_account(&self, address: &Address) -> Option<&Account> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_abby_balance(&self, address: &Address) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn transfer_abby( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn validate_chain(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn get_abby_rich_list(&self, limit: usize) -> Vec<(Address, U256)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_stake` and `slash` are never used [INFO] [stdout] --> src/blockchain/consensus.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Validator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn remove_stake(&mut self, amount: U256) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn slash(&mut self, percentage: u32) -> U256 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_time` is never read [INFO] [stdout] --> src/blockchain/consensus.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ConsensusState { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub block_time: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsensusState` 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: methods `remove_validator`, `get_validator`, `get_validator_mut`, `total_active_validators`, and `get_top_validators` are never used [INFO] [stdout] --> src/blockchain/consensus.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl ConsensusState { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn remove_validator(&mut self, address: &Address) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_validator(&self, address: &Address) -> Option<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_validator_mut(&mut self, address: &Address) -> Option<&mut Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn total_active_validators(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_top_validators(&self, limit: usize) -> Vec<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attestation` is never constructed [INFO] [stdout] --> src/blockchain/consensus.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Attestation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `verify` are never used [INFO] [stdout] --> src/blockchain/consensus.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 262 | impl Attestation { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 263 | pub fn new(validator: Address, block_hash: ethereum_types::H256, slot: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn verify(&self, consensus: &ConsensusState) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_sender` is never read [INFO] [stdout] --> src/blockchain/network.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NetworkManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | pub message_sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `broadcast_transaction`, `request_block`, and `get_connected_peers` are never used [INFO] [stdout] --> src/blockchain/network.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl NetworkManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn broadcast_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn request_block(&mut self, hash: H256) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_connected_peers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id` and `chain_head` are never read [INFO] [stdout] --> src/blockchain/network.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PeerInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 117 | pub peer_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | pub chain_head: H256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update` are never used [INFO] [stdout] --> src/blockchain/network.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl PeerInfo { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 124 | pub fn new(peer_id: String, chain_head: H256, chain_length: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn update(&mut self, chain_head: H256, chain_length: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_peer` and `finish_sync` are never used [INFO] [stdout] --> src/blockchain/network.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl SyncManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn update_peer(&mut self, peer_id: String, chain_head: H256, chain_length: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn finish_sync(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `submit_transaction`, `get_balance`, `transfer_abby`, `stake_tokens`, and `get_validator_info` are never used [INFO] [stdout] --> src/blockchain/node.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl AbbyNode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 417 | pub async fn submit_transaction(&self, transaction: Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn get_balance(&self, address: &Address) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub async fn transfer_abby( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub async fn stake_tokens( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub async fn get_validator_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_rewards` is never used [INFO] [stdout] --> src/blockchain/staking.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl StakeInfo { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn calculate_rewards(&self, annual_rate: u32, time_staked: u64) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `abby_token_supply`, `annual_reward_rate`, and `withdrawal_delay` are never read [INFO] [stdout] --> src/blockchain/staking.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StakingManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub abby_token_supply: U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub annual_reward_rate: u32, // basis points (e.g., 800 = 8%) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub withdrawal_delay: u64, // seconds before withdrawal is available [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StakingManager` 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: multiple methods are never used [INFO] [stdout] --> src/blockchain/staking.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl StakingManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn unstake( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn withdraw(&mut self, staker: Address, validator: Address) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn claim_rewards(&mut self, staker: Address, validator: Address) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get_staker_info(&self, staker: &Address) -> Vec<&StakeInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn get_validator_delegations(&self, validator: &Address) -> Vec<&StakeInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn get_total_staked_to_validator(&self, validator: &Address) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn mint_abby_tokens(&mut self, amount: U256) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn get_staking_apy(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn get_total_rewards_distributed(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate_hash`, `is_contract_creation`, and `estimate_gas` are never used [INFO] [stdout] --> src/blockchain/transaction.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transaction { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn calculate_hash(&self) -> H256 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_contract_creation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn estimate_gas(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_transaction`, `get_pending_transactions`, `clear`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/blockchain/transaction.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl TransactionPool { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_transaction(&self, hash: &H256) -> Option<&Transaction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_pending_transactions(&self) -> Vec<&Transaction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/compiler/ast.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 304 | impl Statement { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn block(statements: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/compiler/ast.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl AstPrinter { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn print(&mut self, program: &Program) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/compiler/lexer.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn error(&self, message: &str) -> LexError { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_builtin_method` is never used [INFO] [stdout] --> src/compiler/parser.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | fn handle_builtin_method(&mut self, object: String) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `accounts` is never read [INFO] [stdout] --> src/evm/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EvmState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub accounts: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvmState` 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 `storage` is never read [INFO] [stdout] --> src/types.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Account { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub storage: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` 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: field `gas_price` is never read [INFO] [stdout] --> src/types.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub gas_price: U256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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: field `state_changes` is never read [INFO] [stdout] --> src/types.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ExecutionResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub state_changes: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionResult` 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 `bytes_to_u256` is never used [INFO] [stdout] --> src/utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn bytes_to_u256(bytes: &[u8]) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u256_to_bytes` is never used [INFO] [stdout] --> src/utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn u256_to_bytes(value: U256) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u256_to_bytes32` is never used [INFO] [stdout] --> src/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn u256_to_bytes32(value: U256) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `safe_resize` is never used [INFO] [stdout] --> src/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn safe_resize(vec: &mut Vec, new_size: usize, max_size: usize) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_hex_u256` is never used [INFO] [stdout] --> src/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn format_hex_u256(value: U256) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_hex_bytes` is never used [INFO] [stdout] --> src/utils.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn format_hex_bytes(bytes: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `Command { std: "docker" "inspect" "0304a3712339ba4a1b87896b8a63d4c138394df2a77efd4c7d4b071217fd5076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0304a3712339ba4a1b87896b8a63d4c138394df2a77efd4c7d4b071217fd5076", kill_on_drop: false }` [INFO] [stdout] 0304a3712339ba4a1b87896b8a63d4c138394df2a77efd4c7d4b071217fd5076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ceceb50b4c2548b6010001996482e1e81f99e4ec2a479e9e2999a95989deced [INFO] running `Command { std: "docker" "start" "-a" "6ceceb50b4c2548b6010001996482e1e81f99e4ec2a479e9e2999a95989deced", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling abby_evm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/evm/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::*; [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 variable: `expanded_path` [INFO] [stdout] --> src/main.rs:432:15 [INFO] [stdout] | [INFO] [stdout] 432 | if let Ok(expanded_path) = std::fs::canonicalize(&db_path_str) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_count` [INFO] [stdout] --> src/main.rs:467:35 [INFO] [stdout] | [INFO] [stdout] 467 | let (chain_length, head_hash, block_count, abby_supply) = node.get_blockchain_info().await; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/blockchain/chain.rs:283:22 [INFO] [stdout] | [INFO] [stdout] 283 | let (key, value) = result.map_err(|e| format!("Database scan error: {}", e))?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `member` [INFO] [stdout] --> src/compiler/codegen.rs:627:44 [INFO] [stdout] | [INFO] [stdout] 627 | fn visit_member_access_expr(&mut self, member: &MemberAccessExpr) -> CompileResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_gas` [INFO] [stdout] --> src/evm/mod.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let initial_gas = state.gas; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_gas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_receipt`, `get_account`, `get_abby_balance`, `transfer_abby`, `validate_chain`, and `get_abby_rich_list` are never used [INFO] [stdout] --> src/blockchain/chain.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn get_receipt(&self, tx_hash: &H256) -> Option<&TransactionReceipt> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | pub fn get_account(&self, address: &Address) -> Option<&Account> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_abby_balance(&self, address: &Address) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn transfer_abby( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn validate_chain(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn get_abby_rich_list(&self, limit: usize) -> Vec<(Address, U256)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_stake` and `slash` are never used [INFO] [stdout] --> src/blockchain/consensus.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Validator { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn remove_stake(&mut self, amount: U256) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn slash(&mut self, percentage: u32) -> U256 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_time` is never read [INFO] [stdout] --> src/blockchain/consensus.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ConsensusState { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub block_time: u64, // seconds [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConsensusState` 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: methods `remove_validator`, `get_validator`, `get_validator_mut`, `total_active_validators`, and `get_top_validators` are never used [INFO] [stdout] --> src/blockchain/consensus.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl ConsensusState { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn remove_validator(&mut self, address: &Address) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_validator(&self, address: &Address) -> Option<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn get_validator_mut(&mut self, address: &Address) -> Option<&mut Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | pub fn total_active_validators(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn get_top_validators(&self, limit: usize) -> Vec<&Validator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Attestation` is never constructed [INFO] [stdout] --> src/blockchain/consensus.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Attestation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `verify` are never used [INFO] [stdout] --> src/blockchain/consensus.rs:263:12 [INFO] [stdout] | [INFO] [stdout] 262 | impl Attestation { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 263 | pub fn new(validator: Address, block_hash: ethereum_types::H256, slot: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn verify(&self, consensus: &ConsensusState) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message_sender` is never read [INFO] [stdout] --> src/blockchain/network.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct NetworkManager { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 22 | pub message_sender: mpsc::UnboundedSender, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `broadcast_transaction`, `request_block`, and `get_connected_peers` are never used [INFO] [stdout] --> src/blockchain/network.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl NetworkManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn broadcast_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn request_block(&mut self, hash: H256) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_connected_peers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_id` and `chain_head` are never read [INFO] [stdout] --> src/blockchain/network.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct PeerInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 117 | pub peer_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 118 | pub chain_head: H256, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update` are never used [INFO] [stdout] --> src/blockchain/network.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl PeerInfo { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 124 | pub fn new(peer_id: String, chain_head: H256, chain_length: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn update(&mut self, chain_head: H256, chain_length: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_peer` and `finish_sync` are never used [INFO] [stdout] --> src/blockchain/network.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl SyncManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn update_peer(&mut self, peer_id: String, chain_head: H256, chain_length: u64) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn finish_sync(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `submit_transaction`, `get_balance`, `transfer_abby`, `stake_tokens`, and `get_validator_info` are never used [INFO] [stdout] --> src/blockchain/node.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl AbbyNode { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 417 | pub async fn submit_transaction(&self, transaction: Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 432 | pub async fn get_balance(&self, address: &Address) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | pub async fn transfer_abby( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub async fn stake_tokens( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 473 | pub async fn get_validator_info( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_rewards` is never used [INFO] [stdout] --> src/blockchain/staking.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl StakeInfo { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn calculate_rewards(&self, annual_rate: u32, time_staked: u64) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `abby_token_supply`, `annual_reward_rate`, and `withdrawal_delay` are never read [INFO] [stdout] --> src/blockchain/staking.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StakingManager { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | pub abby_token_supply: U256, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub annual_reward_rate: u32, // basis points (e.g., 800 = 8%) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub withdrawal_delay: u64, // seconds before withdrawal is available [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StakingManager` 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: multiple methods are never used [INFO] [stdout] --> src/blockchain/staking.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl StakingManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn unstake( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn withdraw(&mut self, staker: Address, validator: Address) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn claim_rewards(&mut self, staker: Address, validator: Address) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn get_staker_info(&self, staker: &Address) -> Vec<&StakeInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn get_validator_delegations(&self, validator: &Address) -> Vec<&StakeInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn get_total_staked_to_validator(&self, validator: &Address) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 294 | fn mint_abby_tokens(&mut self, amount: U256) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn get_staking_apy(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn get_total_rewards_distributed(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `calculate_hash`, `is_contract_creation`, and `estimate_gas` are never used [INFO] [stdout] --> src/blockchain/transaction.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Transaction { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn calculate_hash(&self) -> H256 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn is_contract_creation(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn estimate_gas(&self) -> U256 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_transaction`, `get_pending_transactions`, `clear`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/blockchain/transaction.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 140 | impl TransactionPool { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_transaction(&self, hash: &H256) -> Option<&Transaction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn get_pending_transactions(&self) -> Vec<&Transaction> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/compiler/ast.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 304 | impl Statement { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | pub fn block(statements: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/compiler/ast.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl AstPrinter { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 366 | pub fn print(&mut self, program: &Program) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `error` is never used [INFO] [stdout] --> src/compiler/lexer.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn error(&self, message: &str) -> LexError { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_builtin_method` is never used [INFO] [stdout] --> src/compiler/parser.rs:416:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | fn handle_builtin_method(&mut self, object: String) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `accounts` is never read [INFO] [stdout] --> src/evm/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EvmState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub accounts: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EvmState` 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 `storage` is never read [INFO] [stdout] --> src/types.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Account { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub storage: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` 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: field `gas_price` is never read [INFO] [stdout] --> src/types.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Transaction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub gas_price: U256, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Transaction` 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: field `state_changes` is never read [INFO] [stdout] --> src/types.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ExecutionResult { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub state_changes: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionResult` 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 `u256_to_bytes32` is never used [INFO] [stdout] --> src/utils.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn u256_to_bytes32(value: U256) -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.02s [INFO] running `Command { std: "docker" "inspect" "6ceceb50b4c2548b6010001996482e1e81f99e4ec2a479e9e2999a95989deced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ceceb50b4c2548b6010001996482e1e81f99e4ec2a479e9e2999a95989deced", kill_on_drop: false }` [INFO] [stdout] 6ceceb50b4c2548b6010001996482e1e81f99e4ec2a479e9e2999a95989deced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc8bfd6afd3c8bfd4e347acadb2f0282511e8746cdb04a390aff0fbba8701cf7 [INFO] running `Command { std: "docker" "start" "-a" "dc8bfd6afd3c8bfd4e347acadb2f0282511e8746cdb04a390aff0fbba8701cf7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/evm/tests.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expanded_path` [INFO] [stderr] --> src/main.rs:432:15 [INFO] [stderr] | [INFO] [stderr] 432 | if let Ok(expanded_path) = std::fs::canonicalize(&db_path_str) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expanded_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `block_count` [INFO] [stderr] --> src/main.rs:467:35 [INFO] [stderr] | [INFO] [stderr] 467 | let (chain_length, head_hash, block_count, abby_supply) = node.get_blockchain_info().await; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_count` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/blockchain/chain.rs:283:22 [INFO] [stderr] | [INFO] [stderr] 283 | let (key, value) = result.map_err(|e| format!("Database scan error: {}", e))?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `member` [INFO] [stderr] --> src/compiler/codegen.rs:627:44 [INFO] [stderr] | [INFO] [stderr] 627 | fn visit_member_access_expr(&mut self, member: &MemberAccessExpr) -> CompileResult<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_member` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `initial_gas` [INFO] [stderr] --> src/evm/mod.rs:257:13 [INFO] [stderr] | [INFO] [stderr] 257 | let initial_gas = state.gas; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_gas` [INFO] [stderr] [INFO] [stderr] warning: methods `get_receipt`, `get_account`, `get_abby_balance`, `transfer_abby`, `validate_chain`, and `get_abby_rich_list` are never used [INFO] [stderr] --> src/blockchain/chain.rs:213:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Blockchain { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 213 | pub fn get_receipt(&self, tx_hash: &H256) -> Option<&TransactionReceipt> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 217 | pub fn get_account(&self, address: &Address) -> Option<&Account> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 221 | pub fn get_abby_balance(&self, address: &Address) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 228 | pub fn transfer_abby( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 301 | pub fn validate_chain(&self) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 346 | pub fn get_abby_rich_list(&self, limit: usize) -> Vec<(Address, U256)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `remove_stake` and `slash` are never used [INFO] [stderr] --> src/blockchain/consensus.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Validator { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn remove_stake(&mut self, amount: U256) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn slash(&mut self, percentage: u32) -> U256 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `block_time` is never read [INFO] [stderr] --> src/blockchain/consensus.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub struct ConsensusState { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 67 | pub block_time: u64, // seconds [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConsensusState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `remove_validator`, `get_validator`, `get_validator_mut`, `total_active_validators`, and `get_top_validators` are never used [INFO] [stderr] --> src/blockchain/consensus.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl ConsensusState { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn remove_validator(&mut self, address: &Address) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 225 | pub fn get_validator(&self, address: &Address) -> Option<&Validator> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | pub fn get_validator_mut(&mut self, address: &Address) -> Option<&mut Validator> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 233 | pub fn total_active_validators(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 240 | pub fn get_top_validators(&self, limit: usize) -> Vec<&Validator> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Attestation` is never constructed [INFO] [stderr] --> src/blockchain/consensus.rs:255:12 [INFO] [stderr] | [INFO] [stderr] 255 | pub struct Attestation { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `verify` are never used [INFO] [stderr] --> src/blockchain/consensus.rs:263:12 [INFO] [stderr] | [INFO] [stderr] 262 | impl Attestation { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 263 | pub fn new(validator: Address, block_hash: ethereum_types::H256, slot: u64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 272 | pub fn verify(&self, consensus: &ConsensusState) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `message_sender` is never read [INFO] [stderr] --> src/blockchain/network.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct NetworkManager { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 22 | pub message_sender: mpsc::UnboundedSender, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `broadcast_transaction`, `request_block`, and `get_connected_peers` are never used [INFO] [stderr] --> src/blockchain/network.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl NetworkManager { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn broadcast_transaction( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn request_block(&mut self, hash: H256) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn get_connected_peers(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `peer_id` and `chain_head` are never read [INFO] [stderr] --> src/blockchain/network.rs:117:9 [INFO] [stderr] | [INFO] [stderr] 116 | pub struct PeerInfo { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 117 | pub peer_id: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 118 | pub chain_head: H256, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `update` are never used [INFO] [stderr] --> src/blockchain/network.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 123 | impl PeerInfo { [INFO] [stderr] | ------------- associated items in this implementation [INFO] [stderr] 124 | pub fn new(peer_id: String, chain_head: H256, chain_length: u64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn update(&mut self, chain_head: H256, chain_length: u64) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `update_peer` and `finish_sync` are never used [INFO] [stderr] --> src/blockchain/network.rs:159:12 [INFO] [stderr] | [INFO] [stderr] 150 | impl SyncManager { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 159 | pub fn update_peer(&mut self, peer_id: String, chain_head: H256, chain_length: u64) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 191 | pub fn finish_sync(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `submit_transaction`, `get_balance`, `transfer_abby`, `stake_tokens`, and `get_validator_info` are never used [INFO] [stderr] --> src/blockchain/node.rs:417:18 [INFO] [stderr] | [INFO] [stderr] 22 | impl AbbyNode { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 417 | pub async fn submit_transaction(&self, transaction: Transaction) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 432 | pub async fn get_balance(&self, address: &Address) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 437 | pub async fn transfer_abby( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 461 | pub async fn stake_tokens( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 473 | pub async fn get_validator_info( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `calculate_rewards` is never used [INFO] [stderr] --> src/blockchain/staking.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl StakeInfo { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn calculate_rewards(&self, annual_rate: u32, time_staked: u64) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `abby_token_supply`, `annual_reward_rate`, and `withdrawal_delay` are never read [INFO] [stderr] --> src/blockchain/staking.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct StakingManager { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 43 | pub abby_token_supply: U256, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 44 | pub annual_reward_rate: u32, // basis points (e.g., 800 = 8%) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 45 | pub withdrawal_delay: u64, // seconds before withdrawal is available [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StakingManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/blockchain/staking.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 48 | impl StakingManager { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn unstake( [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 161 | pub fn withdraw(&mut self, staker: Address, validator: Address) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 201 | pub fn claim_rewards(&mut self, staker: Address, validator: Address) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 235 | pub fn get_staker_info(&self, staker: &Address) -> Vec<&StakeInfo> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | pub fn get_validator_delegations(&self, validator: &Address) -> Vec<&StakeInfo> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 249 | pub fn get_total_staked_to_validator(&self, validator: &Address) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 294 | fn mint_abby_tokens(&mut self, amount: U256) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 309 | pub fn get_staking_apy(&self) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 313 | pub fn get_total_rewards_distributed(&self) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `calculate_hash`, `is_contract_creation`, and `estimate_gas` are never used [INFO] [stderr] --> src/blockchain/transaction.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Transaction { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 23 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | fn calculate_hash(&self) -> H256 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 83 | pub fn is_contract_creation(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | pub fn estimate_gas(&self) -> U256 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_transaction`, `get_pending_transactions`, `clear`, `len`, and `is_empty` are never used [INFO] [stderr] --> src/blockchain/transaction.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 140 | impl TransactionPool { [INFO] [stderr] | -------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 155 | pub fn get_transaction(&self, hash: &H256) -> Option<&Transaction> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | pub fn get_pending_transactions(&self) -> Vec<&Transaction> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 185 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 190 | pub fn len(&self) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 194 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `block` is never used [INFO] [stderr] --> src/compiler/ast.rs:340:12 [INFO] [stderr] | [INFO] [stderr] 304 | impl Statement { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 340 | pub fn block(statements: Vec) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `print` is never used [INFO] [stderr] --> src/compiler/ast.rs:366:12 [INFO] [stderr] | [INFO] [stderr] 358 | impl AstPrinter { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 366 | pub fn print(&mut self, program: &Program) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `error` is never used [INFO] [stderr] --> src/compiler/lexer.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 117 | impl Lexer { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 127 | fn error(&self, message: &str) -> LexError { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `handle_builtin_method` is never used [INFO] [stderr] --> src/compiler/parser.rs:416:8 [INFO] [stderr] | [INFO] [stderr] 30 | impl Parser { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 416 | fn handle_builtin_method(&mut self, object: String) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `accounts` is never read [INFO] [stderr] --> src/evm/mod.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct EvmState { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | pub accounts: HashMap, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EvmState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `storage` is never read [INFO] [stderr] --> src/types.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Account { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | pub storage: HashMap, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Account` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `gas_price` is never read [INFO] [stderr] --> src/types.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct Transaction { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 33 | pub gas_price: U256, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Transaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `state_changes` is never read [INFO] [stderr] --> src/types.rs:75:9 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct ExecutionResult { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 75 | pub state_changes: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExecutionResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `u256_to_bytes32` is never used [INFO] [stderr] --> src/utils.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn u256_to_bytes32(value: U256) -> [u8; 32] { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `abby_evm` (bin "abby_evm" test) generated 32 warnings (run `cargo fix --bin "abby_evm" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/abby_evm-31f652ef7072ad54) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test compiler::codegen::tests::test_simple_addition ... ok [INFO] [stdout] test compiler::codegen::tests::test_simple_literal ... ok [INFO] [stdout] test compiler::codegen::tests::test_complex_expression ... ok [INFO] [stdout] test compiler::lexer::tests::test_keywords ... ok [INFO] [stdout] test compiler::lexer::tests::test_simple_tokens ... ok [INFO] [stdout] test compiler::parser::tests::test_parentheses ... ok [INFO] [stdout] test compiler::tests::test_compile_expression ... ok [INFO] [stdout] test compiler::tests::test_compile_errors ... ok [INFO] [stdout] test compiler::parser::tests::test_simple_expression ... ok [INFO] [stdout] test compiler::parser::tests::test_variable ... ok [INFO] [stdout] test compiler::tests::test_compile_simple_program ... ok [INFO] [stdout] test evm::tests::tests::test_invalid_jump ... ok [INFO] [stdout] test evm::tests::tests::test_bitwise_operations ... ok [INFO] [stdout] test evm::tests::tests::test_memory_operations ... ok [INFO] [stdout] test evm::tests::tests::test_comparison_operations ... ok [INFO] [stdout] test compiler::lexer::tests::test_numbers ... ok [INFO] [stdout] test compiler::lexer::tests::test_identifiers ... ok [INFO] [stdout] test compiler::lexer::tests::test_operators ... ok [INFO] [stdout] test evm::tests::tests::test_return_operation ... ok [INFO] [stdout] test evm::tests::tests::test_simple_addition ... ok [INFO] [stdout] test evm::tests::tests::test_revert_operation ... ok [INFO] [stdout] test evm::tests::tests::test_simple_multiplication ... ok [INFO] [stdout] test evm::tests::tests::test_out_of_gas ... ok [INFO] [stdout] test evm::tests::tests::test_stack_underflow ... ok [INFO] [stdout] test utils::tests::test_u256_to_bytes ... ok [INFO] [stdout] test utils::tests::test_bytes_to_u256 ... ok [INFO] [stdout] test utils::tests::test_safe_resize ... ok [INFO] [stdout] test utils::tests::test_format_hex ... ok [INFO] [stdout] test evm::tests::tests::test_storage_operations ... ok [INFO] [stdout] test compiler::parser::tests::test_precedence ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dc8bfd6afd3c8bfd4e347acadb2f0282511e8746cdb04a390aff0fbba8701cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8bfd6afd3c8bfd4e347acadb2f0282511e8746cdb04a390aff0fbba8701cf7", kill_on_drop: false }` [INFO] [stdout] dc8bfd6afd3c8bfd4e347acadb2f0282511e8746cdb04a390aff0fbba8701cf7