[INFO] cloning repository https://github.com/0x-Professor/smart-contract-analyzer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x-Professor/smart-contract-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x-Professor%2Fsmart-contract-analyzer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x-Professor%2Fsmart-contract-analyzer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 294796ca7520d1d56c41e462156dbd7f3c4a038a
[INFO] testing 0x-Professor/smart-contract-analyzer against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x-Professor%2Fsmart-contract-analyzer" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0x-Professor/smart-contract-analyzer
[INFO] finished tweaking git repo https://github.com/0x-Professor/smart-contract-analyzer
[INFO] tweaked toml for git repo https://github.com/0x-Professor/smart-contract-analyzer written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0x-Professor/smart-contract-analyzer on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0x-Professor/smart-contract-analyzer 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-test v0.4.4
[INFO] [stderr]   Downloaded bitflags v2.9.2
[INFO] [stderr]   Downloaded uuid v1.18.0
[INFO] [stderr]   Downloaded url v2.5.5
[INFO] [stderr]   Downloaded cc v1.2.33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 016a5786a7b920e0f7b9e2974300a90a920aa742df3400980644f8a56531e61b
[INFO] running `Command { std: "docker" "start" "-a" "016a5786a7b920e0f7b9e2974300a90a920aa742df3400980644f8a56531e61b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "016a5786a7b920e0f7b9e2974300a90a920aa742df3400980644f8a56531e61b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "016a5786a7b920e0f7b9e2974300a90a920aa742df3400980644f8a56531e61b", kill_on_drop: false }`
[INFO] [stdout] 016a5786a7b920e0f7b9e2974300a90a920aa742df3400980644f8a56531e61b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af82575cbe5ff8c0c2dd45d49640b2b9ec56cf9714b69a746972c7fac2c1c285
[INFO] running `Command { std: "docker" "start" "-a" "af82575cbe5ff8c0c2dd45d49640b2b9ec56cf9714b69a746972c7fac2c1c285", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.33
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling bitflags v2.9.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling winnow v0.7.12
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling unicode-width v0.2.1
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling clap_builder v4.5.44
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling indicatif v0.17.11
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling uuid v1.18.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling clap v4.5.45
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[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 icu_provider v2.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.5
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling smart-contract-analyzer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/parser/solidity.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[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 imports: `HashMap`, `HashSet`, and `VecDeque`
[INFO] [stdout]  --> src/parser/enhanced_solidity.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Contract`
[INFO] [stdout]  --> src/detector/enhanced_detector.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::types::{Contract, Vulnerability, VulnerabilityReport};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/detector/enhanced_detector.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instruction`
[INFO] [stdout]  --> src/analyzer/gas/static_analyzer.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::{BytecodeParser, Instruction};
[INFO] [stdout]   |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StateMutability`
[INFO] [stdout]  --> src/analyzer/gas_analyzer.rs:1:94
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::enhanced_solidity::{EnhancedContract, EnhancedFunction, EnhancedVariable, StateMutability, Visibility};
[INFO] [stdout]   |                                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/analyzer/gas_analyzer.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, BTreeMap};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use detector::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `VulnerabilityPattern` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub use types::*;
[INFO] [stdout]    |         -------- but the name `VulnerabilityPattern` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use detector::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `CodeQualityIssue` in the type namespace is first re-exported here
[INFO] [stdout] 13 | pub use analyzer::*;
[INFO] [stdout]    |         ----------- but the name `CodeQualityIssue` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use blockchain::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ the name `contract` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub use types::*;
[INFO] [stdout]    |         -------- but the name `contract` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain/simulation.rs:332:13
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let mut optimized_contract = contract.clone();
[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: `context`
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:365:61
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn extract_enhanced_functions(&self, source_code: &str, context: &mut ParseContext) -> Result<Vec<EnhancedFunction>> {
[INFO] [stdout]     |                                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_name`
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:489:67
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...source_code: &str, function_name: &str, start_line: usize) -> Result<(String, usize, usize)> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_line` is never read
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:515:32
[INFO] [stdout]     |
[INFO] [stdout] 515 |         let mut current_line = brace_line;
[INFO] [stdout]     |                                ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parser/bytecode.rs:241:14
[INFO] [stdout]     |
[INFO] [stdout] 241 |         for (i, instruction) in instructions.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/detector/enhanced_detector.rs:788:74
[INFO] [stdout]     |
[INFO] [stdout] 788 |     fn check_access_control_advanced(&self, function: &EnhancedFunction, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stdout]     |                                                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/detector/enhanced_detector.rs:913:43
[INFO] [stdout]     |
[INFO] [stdout] 913 |     fn analyze_reentrancy_patterns(&self, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stdout]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/analyzer/gas/dynamic_analyzer.rs:123:48
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub async fn profile_storage_access(&self, contract: &Contract) -> crate::Result<StorageProfile> {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `constructor_params`
[INFO] [stdout]   --> src/blockchain/contract.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         constructor_params: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constructor_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytecode`
[INFO] [stdout]   --> src/blockchain/contract.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let bytecode = contract.bytecode.as_ref()
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/blockchain/contract.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         contract_address: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to_block`
[INFO] [stdout]    --> src/blockchain/contract.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         to_block: Option<u64>,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameters`
[INFO] [stdout]    --> src/blockchain/contract.rs:163:57
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn encode_function_call(&self, function_name: &str, parameters: &[String]) -> crate::Result<String> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/blockchain/contract.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         source_code: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compiler_version`
[INFO] [stdout]    --> src/blockchain/contract.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |         compiler_version: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min`
[INFO] [stdout]    --> src/blockchain/simulation.rs:275:42
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stdout]     |                                          ^^^ help: try ignoring the field: `min: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max`
[INFO] [stdout]    --> src/blockchain/simulation.rs:275:47
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stdout]     |                                               ^^^ help: try ignoring the field: `max: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `optimized_contract`
[INFO] [stdout]    --> src/blockchain/simulation.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let optimized_contract = self.apply_gas_optimizations(contract).await?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimized_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_analysis`
[INFO] [stdout]   --> src/cli/commands.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     gas_analysis: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_analysis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vulnerability_analysis`
[INFO] [stdout]   --> src/cli/commands.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     vulnerability_analysis: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vulnerability_analysis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rules`
[INFO] [stdout]   --> src/cli/commands.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     rules: Option<&PathBuf>,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/cli/commands.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let contract = parser.parse_contract(&source_code)?;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key`
[INFO] [stdout]    --> src/cli/commands.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     private_key: Option<&String>,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_limit`
[INFO] [stdout]    --> src/cli/commands.rs:214:5
[INFO] [stdout]     |
[INFO] [stdout] 214 |     gas_limit: Option<u64>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_price`
[INFO] [stdout]    --> src/cli/commands.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     gas_price: Option<u64>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `modifier_regex` is never read
[INFO] [stdout]  --> src/parser/solidity.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SolidityParser {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     modifier_regex: Regex,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AnalysisType` is never used
[INFO] [stdout]    --> src/analyzer/enhanced_analyzer.rs:778:6
[INFO] [stdout]     |
[INFO] [stdout] 778 | enum AnalysisType {
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `patterns` is never read
[INFO] [stdout]  --> src/analyzer/vulnerabilities/detector.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct VulnerabilityDetector {
[INFO] [stdout]   |            --------------------- field in this struct
[INFO] [stdout] 4 |     patterns: Vec<VulnerabilityPattern>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `contract_manager` are never read
[INFO] [stdout]  --> src/blockchain/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ContractSimulator {
[INFO] [stdout]   |            ----------------- fields in this struct
[INFO] [stdout] 7 |     client: BlockchainClient,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     contract_manager: ContractManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 29s
[INFO] running `Command { std: "docker" "inspect" "af82575cbe5ff8c0c2dd45d49640b2b9ec56cf9714b69a746972c7fac2c1c285", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af82575cbe5ff8c0c2dd45d49640b2b9ec56cf9714b69a746972c7fac2c1c285", kill_on_drop: false }`
[INFO] [stdout] af82575cbe5ff8c0c2dd45d49640b2b9ec56cf9714b69a746972c7fac2c1c285
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa8965db747f491b9ac8e136e0e4d7d498860f1b9a2becded10a1b8aaaafa9e4
[INFO] running `Command { std: "docker" "start" "-a" "fa8965db747f491b9ac8e136e0e4d7d498860f1b9a2becded10a1b8aaaafa9e4", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling clap v4.5.45
[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 serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.5
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling smart-contract-analyzer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/parser/solidity.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[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 imports: `HashMap`, `HashSet`, and `VecDeque`
[INFO] [stdout]  --> src/parser/enhanced_solidity.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Contract`
[INFO] [stdout]  --> src/detector/enhanced_detector.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::types::{Contract, Vulnerability, VulnerabilityReport};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/detector/enhanced_detector.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instruction`
[INFO] [stdout]  --> src/analyzer/gas/static_analyzer.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::{BytecodeParser, Instruction};
[INFO] [stdout]   |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StateMutability`
[INFO] [stdout]  --> src/analyzer/gas_analyzer.rs:1:94
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::enhanced_solidity::{EnhancedContract, EnhancedFunction, EnhancedVariable, StateMutability, Visibility};
[INFO] [stdout]   |                                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/analyzer/gas_analyzer.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, BTreeMap};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use detector::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `VulnerabilityPattern` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub use types::*;
[INFO] [stdout]    |         -------- but the name `VulnerabilityPattern` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use detector::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `CodeQualityIssue` in the type namespace is first re-exported here
[INFO] [stdout] 13 | pub use analyzer::*;
[INFO] [stdout]    |         ----------- but the name `CodeQualityIssue` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use blockchain::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ the name `contract` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub use types::*;
[INFO] [stdout]    |         -------- but the name `contract` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain/simulation.rs:332:13
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let mut optimized_contract = contract.clone();
[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 import: `std::collections::HashMap`
[INFO] [stdout]  --> src/parser/solidity.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[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 imports: `HashMap`, `HashSet`, and `VecDeque`
[INFO] [stdout]  --> src/parser/enhanced_solidity.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Contract`
[INFO] [stdout]  --> src/detector/enhanced_detector.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::types::{Contract, Vulnerability, VulnerabilityReport};
[INFO] [stdout]   |                    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/detector/enhanced_detector.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instruction`
[INFO] [stdout]  --> src/analyzer/gas/static_analyzer.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::{BytecodeParser, Instruction};
[INFO] [stdout]   |                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StateMutability`
[INFO] [stdout]  --> src/analyzer/gas_analyzer.rs:1:94
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::parser::enhanced_solidity::{EnhancedContract, EnhancedFunction, EnhancedVariable, StateMutability, Visibility};
[INFO] [stdout]   |                                                                                              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]  --> src/analyzer/gas_analyzer.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::{HashMap, HashSet, BTreeMap};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use detector::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `VulnerabilityPattern` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub use types::*;
[INFO] [stdout]    |         -------- but the name `VulnerabilityPattern` in the type namespace is also re-exported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use detector::*;
[INFO] [stdout]    |         ^^^^^^^^^^^ the name `CodeQualityIssue` in the type namespace is first re-exported here
[INFO] [stdout] 13 | pub use analyzer::*;
[INFO] [stdout]    |         ----------- but the name `CodeQualityIssue` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: ambiguous glob re-exports
[INFO] [stdout]   --> src/lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use blockchain::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ the name `contract` in the type namespace is first re-exported here
[INFO] [stdout] ...
[INFO] [stdout] 17 | pub use types::*;
[INFO] [stdout]    |         -------- but the name `contract` in the type namespace is also re-exported here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:365:61
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn extract_enhanced_functions(&self, source_code: &str, context: &mut ParseContext) -> Result<Vec<EnhancedFunction>> {
[INFO] [stdout]     |                                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_name`
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:489:67
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...source_code: &str, function_name: &str, start_line: usize) -> Result<(String, usize, usize)> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_line` is never read
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:515:32
[INFO] [stdout]     |
[INFO] [stdout] 515 |         let mut current_line = brace_line;
[INFO] [stdout]     |                                ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parser/bytecode.rs:241:14
[INFO] [stdout]     |
[INFO] [stdout] 241 |         for (i, instruction) in instructions.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/detector/enhanced_detector.rs:788:74
[INFO] [stdout]     |
[INFO] [stdout] 788 |     fn check_access_control_advanced(&self, function: &EnhancedFunction, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stdout]     |                                                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/detector/enhanced_detector.rs:913:43
[INFO] [stdout]     |
[INFO] [stdout] 913 |     fn analyze_reentrancy_patterns(&self, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stdout]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/analyzer/gas/dynamic_analyzer.rs:123:48
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub async fn profile_storage_access(&self, contract: &Contract) -> crate::Result<StorageProfile> {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/blockchain/simulation.rs:332:13
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let mut optimized_contract = contract.clone();
[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: `constructor_params`
[INFO] [stdout]   --> src/blockchain/contract.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         constructor_params: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constructor_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytecode`
[INFO] [stdout]   --> src/blockchain/contract.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let bytecode = contract.bytecode.as_ref()
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/blockchain/contract.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         contract_address: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to_block`
[INFO] [stdout]    --> src/blockchain/contract.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         to_block: Option<u64>,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameters`
[INFO] [stdout]    --> src/blockchain/contract.rs:163:57
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn encode_function_call(&self, function_name: &str, parameters: &[String]) -> crate::Result<String> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/blockchain/contract.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         source_code: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compiler_version`
[INFO] [stdout]    --> src/blockchain/contract.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |         compiler_version: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min`
[INFO] [stdout]    --> src/blockchain/simulation.rs:275:42
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stdout]     |                                          ^^^ help: try ignoring the field: `min: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max`
[INFO] [stdout]    --> src/blockchain/simulation.rs:275:47
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stdout]     |                                               ^^^ help: try ignoring the field: `max: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `optimized_contract`
[INFO] [stdout]    --> src/blockchain/simulation.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let optimized_contract = self.apply_gas_optimizations(contract).await?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimized_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_analysis`
[INFO] [stdout]   --> src/cli/commands.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     gas_analysis: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_analysis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vulnerability_analysis`
[INFO] [stdout]   --> src/cli/commands.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     vulnerability_analysis: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vulnerability_analysis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rules`
[INFO] [stdout]   --> src/cli/commands.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     rules: Option<&PathBuf>,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/cli/commands.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let contract = parser.parse_contract(&source_code)?;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key`
[INFO] [stdout]    --> src/cli/commands.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     private_key: Option<&String>,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_limit`
[INFO] [stdout]    --> src/cli/commands.rs:214:5
[INFO] [stdout]     |
[INFO] [stdout] 214 |     gas_limit: Option<u64>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_price`
[INFO] [stdout]    --> src/cli/commands.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     gas_price: Option<u64>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `modifier_regex` is never read
[INFO] [stdout]  --> src/parser/solidity.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SolidityParser {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     modifier_regex: Regex,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AnalysisType` is never used
[INFO] [stdout]    --> src/analyzer/enhanced_analyzer.rs:778:6
[INFO] [stdout]     |
[INFO] [stdout] 778 | enum AnalysisType {
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `patterns` is never read
[INFO] [stdout]  --> src/analyzer/vulnerabilities/detector.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct VulnerabilityDetector {
[INFO] [stdout]   |            --------------------- field in this struct
[INFO] [stdout] 4 |     patterns: Vec<VulnerabilityPattern>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `contract_manager` are never read
[INFO] [stdout]  --> src/blockchain/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ContractSimulator {
[INFO] [stdout]   |            ----------------- fields in this struct
[INFO] [stdout] 7 |     client: BlockchainClient,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     contract_manager: ContractManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:365:61
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn extract_enhanced_functions(&self, source_code: &str, context: &mut ParseContext) -> Result<Vec<EnhancedFunction>> {
[INFO] [stdout]     |                                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `function_name`
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:489:67
[INFO] [stdout]     |
[INFO] [stdout] 489 | ...source_code: &str, function_name: &str, start_line: usize) -> Result<(String, usize, usize)> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `current_line` is never read
[INFO] [stdout]    --> src/parser/enhanced_solidity.rs:515:32
[INFO] [stdout]     |
[INFO] [stdout] 515 |         let mut current_line = brace_line;
[INFO] [stdout]     |                                ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/parser/bytecode.rs:241:14
[INFO] [stdout]     |
[INFO] [stdout] 241 |         for (i, instruction) in instructions.iter().enumerate() {
[INFO] [stdout]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/detector/enhanced_detector.rs:788:74
[INFO] [stdout]     |
[INFO] [stdout] 788 |     fn check_access_control_advanced(&self, function: &EnhancedFunction, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stdout]     |                                                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/detector/enhanced_detector.rs:913:43
[INFO] [stdout]     |
[INFO] [stdout] 913 |     fn analyze_reentrancy_patterns(&self, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stdout]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/analyzer/gas/dynamic_analyzer.rs:123:48
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub async fn profile_storage_access(&self, contract: &Contract) -> crate::Result<StorageProfile> {
[INFO] [stdout]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `constructor_params`
[INFO] [stdout]   --> src/blockchain/contract.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |         constructor_params: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constructor_params`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bytecode`
[INFO] [stdout]   --> src/blockchain/contract.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let bytecode = contract.bytecode.as_ref()
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_address`
[INFO] [stdout]    --> src/blockchain/contract.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |         contract_address: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to_block`
[INFO] [stdout]    --> src/blockchain/contract.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |         to_block: Option<u64>,
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `parameters`
[INFO] [stdout]    --> src/blockchain/contract.rs:163:57
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn encode_function_call(&self, function_name: &str, parameters: &[String]) -> crate::Result<String> {
[INFO] [stdout]     |                                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `source_code`
[INFO] [stdout]    --> src/blockchain/contract.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         source_code: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `compiler_version`
[INFO] [stdout]    --> src/blockchain/contract.rs:189:9
[INFO] [stdout]     |
[INFO] [stdout] 189 |         compiler_version: &str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `min`
[INFO] [stdout]    --> src/blockchain/simulation.rs:275:42
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stdout]     |                                          ^^^ help: try ignoring the field: `min: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max`
[INFO] [stdout]    --> src/blockchain/simulation.rs:275:47
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stdout]     |                                               ^^^ help: try ignoring the field: `max: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `optimized_contract`
[INFO] [stdout]    --> src/blockchain/simulation.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let optimized_contract = self.apply_gas_optimizations(contract).await?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimized_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_analysis`
[INFO] [stdout]   --> src/cli/commands.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     gas_analysis: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_analysis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vulnerability_analysis`
[INFO] [stdout]   --> src/cli/commands.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     vulnerability_analysis: bool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vulnerability_analysis`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rules`
[INFO] [stdout]   --> src/cli/commands.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     rules: Option<&PathBuf>,
[INFO] [stdout]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract`
[INFO] [stdout]    --> src/cli/commands.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let contract = parser.parse_contract(&source_code)?;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key`
[INFO] [stdout]    --> src/cli/commands.rs:213:5
[INFO] [stdout]     |
[INFO] [stdout] 213 |     private_key: Option<&String>,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_limit`
[INFO] [stdout]    --> src/cli/commands.rs:214:5
[INFO] [stdout]     |
[INFO] [stdout] 214 |     gas_limit: Option<u64>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `gas_price`
[INFO] [stdout]    --> src/cli/commands.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     gas_price: Option<u64>,
[INFO] [stdout]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `modifier_regex` is never read
[INFO] [stdout]  --> src/parser/solidity.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SolidityParser {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     modifier_regex: Regex,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AnalysisType` is never used
[INFO] [stdout]    --> src/analyzer/enhanced_analyzer.rs:778:6
[INFO] [stdout]     |
[INFO] [stdout] 778 | enum AnalysisType {
[INFO] [stdout]     |      ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `patterns` is never read
[INFO] [stdout]  --> src/analyzer/vulnerabilities/detector.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct VulnerabilityDetector {
[INFO] [stdout]   |            --------------------- field in this struct
[INFO] [stdout] 4 |     patterns: Vec<VulnerabilityPattern>,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `contract_manager` are never read
[INFO] [stdout]  --> src/blockchain/simulation.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct ContractSimulator {
[INFO] [stdout]   |            ----------------- fields in this struct
[INFO] [stdout] 7 |     client: BlockchainClient,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     contract_manager: ContractManager,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 54.18s
[INFO] running `Command { std: "docker" "inspect" "fa8965db747f491b9ac8e136e0e4d7d498860f1b9a2becded10a1b8aaaafa9e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa8965db747f491b9ac8e136e0e4d7d498860f1b9a2becded10a1b8aaaafa9e4", kill_on_drop: false }`
[INFO] [stdout] fa8965db747f491b9ac8e136e0e4d7d498860f1b9a2becded10a1b8aaaafa9e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 43c70f318db0da744645052977dcfbb151d3cc165dec16d6fb067e849e44265f
[INFO] running `Command { std: "docker" "start" "-a" "43c70f318db0da744645052977dcfbb151d3cc165dec16d6fb067e849e44265f", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/parser/solidity.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HashMap`, `HashSet`, and `VecDeque`
[INFO] [stderr]  --> src/parser/enhanced_solidity.rs:4:24
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::{HashMap, HashSet, VecDeque};
[INFO] [stderr]   |                        ^^^^^^^  ^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Contract`
[INFO] [stderr]  --> src/detector/enhanced_detector.rs:1:20
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::types::{Contract, Vulnerability, VulnerabilityReport};
[INFO] [stderr]   |                    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashSet`
[INFO] [stderr]  --> src/detector/enhanced_detector.rs:5:33
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::collections::{HashMap, HashSet};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Instruction`
[INFO] [stderr]  --> src/analyzer/gas/static_analyzer.rs:1:37
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::parser::{BytecodeParser, Instruction};
[INFO] [stderr]   |                                     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `StateMutability`
[INFO] [stderr]  --> src/analyzer/gas_analyzer.rs:1:94
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::parser::enhanced_solidity::{EnhancedContract, EnhancedFunction, EnhancedVariable, StateMutability, Visibility};
[INFO] [stderr]   |                                                                                              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HashSet`
[INFO] [stderr]  --> src/analyzer/gas_analyzer.rs:4:33
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::collections::{HashMap, HashSet, BTreeMap};
[INFO] [stderr]   |                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]   --> src/lib.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub use detector::*;
[INFO] [stderr]    |         ^^^^^^^^^^^ the name `VulnerabilityPattern` in the type namespace is first re-exported here
[INFO] [stderr] ...
[INFO] [stderr] 17 | pub use types::*;
[INFO] [stderr]    |         -------- but the name `VulnerabilityPattern` in the type namespace is also re-exported here
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(ambiguous_glob_reexports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]   --> src/lib.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub use detector::*;
[INFO] [stderr]    |         ^^^^^^^^^^^ the name `CodeQualityIssue` in the type namespace is first re-exported here
[INFO] [stderr] 13 | pub use analyzer::*;
[INFO] [stderr]    |         ----------- but the name `CodeQualityIssue` in the type namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: ambiguous glob re-exports
[INFO] [stderr]   --> src/lib.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub use blockchain::*;
[INFO] [stderr]    |         ^^^^^^^^^^^^^ the name `contract` in the type namespace is first re-exported here
[INFO] [stderr] ...
[INFO] [stderr] 17 | pub use types::*;
[INFO] [stderr]    |         -------- but the name `contract` in the type namespace is also re-exported here
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/blockchain/simulation.rs:332:13
[INFO] [stderr]     |
[INFO] [stderr] 332 |         let mut optimized_contract = contract.clone();
[INFO] [stderr]     |             ----^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `context`
[INFO] [stderr]    --> src/parser/enhanced_solidity.rs:365:61
[INFO] [stderr]     |
[INFO] [stderr] 365 |     fn extract_enhanced_functions(&self, source_code: &str, context: &mut ParseContext) -> Result<Vec<EnhancedFunction>> {
[INFO] [stderr]     |                                                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `function_name`
[INFO] [stderr]    --> src/parser/enhanced_solidity.rs:489:67
[INFO] [stderr]     |
[INFO] [stderr] 489 | ...source_code: &str, function_name: &str, start_line: usize) -> Result<(String, usize, usize)> {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_name`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `current_line` is never read
[INFO] [stderr]    --> src/parser/enhanced_solidity.rs:515:32
[INFO] [stderr]     |
[INFO] [stderr] 515 |         let mut current_line = brace_line;
[INFO] [stderr]     |                                ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/parser/bytecode.rs:241:14
[INFO] [stderr]     |
[INFO] [stderr] 241 |         for (i, instruction) in instructions.iter().enumerate() {
[INFO] [stderr]     |              ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract`
[INFO] [stderr]    --> src/detector/enhanced_detector.rs:788:74
[INFO] [stderr]     |
[INFO] [stderr] 788 |     fn check_access_control_advanced(&self, function: &EnhancedFunction, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stderr]     |                                                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract`
[INFO] [stderr]    --> src/detector/enhanced_detector.rs:913:43
[INFO] [stderr]     |
[INFO] [stderr] 913 |     fn analyze_reentrancy_patterns(&self, contract: &EnhancedContract) -> Result<Vec<Vulnerability>> {
[INFO] [stderr]     |                                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract`
[INFO] [stderr]    --> src/analyzer/gas/dynamic_analyzer.rs:123:48
[INFO] [stderr]     |
[INFO] [stderr] 123 |     pub async fn profile_storage_access(&self, contract: &Contract) -> crate::Result<StorageProfile> {
[INFO] [stderr]     |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `constructor_params`
[INFO] [stderr]   --> src/blockchain/contract.rs:35:9
[INFO] [stderr]    |
[INFO] [stderr] 35 |         constructor_params: Vec<String>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constructor_params`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `bytecode`
[INFO] [stderr]   --> src/blockchain/contract.rs:37:13
[INFO] [stderr]    |
[INFO] [stderr] 37 |         let bytecode = contract.bytecode.as_ref()
[INFO] [stderr]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytecode`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract_address`
[INFO] [stderr]    --> src/blockchain/contract.rs:112:9
[INFO] [stderr]     |
[INFO] [stderr] 112 |         contract_address: &str,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `to_block`
[INFO] [stderr]    --> src/blockchain/contract.rs:114:9
[INFO] [stderr]     |
[INFO] [stderr] 114 |         to_block: Option<u64>,
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_block`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `parameters`
[INFO] [stderr]    --> src/blockchain/contract.rs:163:57
[INFO] [stderr]     |
[INFO] [stderr] 163 |     fn encode_function_call(&self, function_name: &str, parameters: &[String]) -> crate::Result<String> {
[INFO] [stderr]     |                                                         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `source_code`
[INFO] [stderr]    --> src/blockchain/contract.rs:188:9
[INFO] [stderr]     |
[INFO] [stderr] 188 |         source_code: &str,
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `compiler_version`
[INFO] [stderr]    --> src/blockchain/contract.rs:189:9
[INFO] [stderr]     |
[INFO] [stderr] 189 |         compiler_version: &str,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler_version`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `min`
[INFO] [stderr]    --> src/blockchain/simulation.rs:275:42
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stderr]     |                                          ^^^ help: try ignoring the field: `min: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `max`
[INFO] [stderr]    --> src/blockchain/simulation.rs:275:47
[INFO] [stderr]     |
[INFO] [stderr] 275 |                 AssertionType::GasUsed { min, max } => {
[INFO] [stderr]     |                                               ^^^ help: try ignoring the field: `max: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `optimized_contract`
[INFO] [stderr]    --> src/blockchain/simulation.rs:141:17
[INFO] [stderr]     |
[INFO] [stderr] 141 |             let optimized_contract = self.apply_gas_optimizations(contract).await?;
[INFO] [stderr]     |                 ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_optimized_contract`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `gas_analysis`
[INFO] [stderr]   --> src/cli/commands.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     gas_analysis: bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_analysis`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `vulnerability_analysis`
[INFO] [stderr]   --> src/cli/commands.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 |     vulnerability_analysis: bool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vulnerability_analysis`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rules`
[INFO] [stderr]   --> src/cli/commands.rs:16:5
[INFO] [stderr]    |
[INFO] [stderr] 16 |     rules: Option<&PathBuf>,
[INFO] [stderr]    |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contract`
[INFO] [stderr]    --> src/cli/commands.rs:182:9
[INFO] [stderr]     |
[INFO] [stderr] 182 |     let contract = parser.parse_contract(&source_code)?;
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `private_key`
[INFO] [stderr]    --> src/cli/commands.rs:213:5
[INFO] [stderr]     |
[INFO] [stderr] 213 |     private_key: Option<&String>,
[INFO] [stderr]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `gas_limit`
[INFO] [stderr]    --> src/cli/commands.rs:214:5
[INFO] [stderr]     |
[INFO] [stderr] 214 |     gas_limit: Option<u64>,
[INFO] [stderr]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_limit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `gas_price`
[INFO] [stderr]    --> src/cli/commands.rs:215:5
[INFO] [stderr]     |
[INFO] [stderr] 215 |     gas_price: Option<u64>,
[INFO] [stderr]     |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gas_price`
[INFO] [stderr] 
[INFO] [stderr] warning: field `modifier_regex` is never read
[INFO] [stderr]  --> src/parser/solidity.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct SolidityParser {
[INFO] [stderr]   |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 9 |     modifier_regex: Regex,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `AnalysisType` is never used
[INFO] [stderr]    --> src/analyzer/enhanced_analyzer.rs:778:6
[INFO] [stderr]     |
[INFO] [stderr] 778 | enum AnalysisType {
[INFO] [stderr]     |      ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `patterns` is never read
[INFO] [stderr]  --> src/analyzer/vulnerabilities/detector.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct VulnerabilityDetector {
[INFO] [stderr]   |            --------------------- field in this struct
[INFO] [stderr] 4 |     patterns: Vec<VulnerabilityPattern>,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `client` and `contract_manager` are never read
[INFO] [stderr]  --> src/blockchain/simulation.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct ContractSimulator {
[INFO] [stderr]   |            ----------------- fields in this struct
[INFO] [stderr] 7 |     client: BlockchainClient,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr] 8 |     contract_manager: ContractManager,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `smart-contract-analyzer` (lib) generated 39 warnings (run `cargo fix --lib -p smart-contract-analyzer` to apply 31 suggestions)
[INFO] [stderr] warning: `smart-contract-analyzer` (lib test) generated 39 warnings (39 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/smart_contract_analyzer-c3e8b966b82c766d)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test utils::helpers::tests::test_format_bytes ... ok
[INFO] [stdout] test utils::helpers::tests::test_format_gas ... ok
[INFO] [stdout] test utils::helpers::tests::test_hex_conversion ... ok
[INFO] [stdout] test utils::helpers::tests::test_truncate_string ... ok
[INFO] [stdout] test utils::helpers::tests::test_sanitize_filename ... ok
[INFO] [stdout] test utils::helpers::tests::test_percentage_change ... ok
[INFO] [stdout] test utils::helpers::tests::test_ethereum_address_validation ... ok
[INFO] [stdout] test utils::helpers::tests::test_function_selector ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- utils::helpers::tests::test_function_selector stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'utils::helpers::tests::test_function_selector' (28) panicked at src/utils/helpers.rs:292:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "0x3b88ef57"
[INFO] [stdout]  right: "0xa9059cbb"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x642f5a4e7a12 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x642f5a4e7a12 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x642f5a4e7a12 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x642f5a4e7a12 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x642f5a4fc7ba - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x642f5a4fc7ba - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x642f5a4ec846 - std[716c9a7a72e5c14e]::io::default_write_fmt::<alloc[9c68fdf4f4f29218]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x642f5a4ec846 - <alloc[9c68fdf4f4f29218]::vec::Vec<u8> as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x642f5a4c5edf - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x642f5a4c5edf - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x642f5a4dfcf9 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x642f5a46786e - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x642f5a46786e - test[64760d2bdea328cc]::test_main_with_exit_callback::<test[64760d2bdea328cc]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x642f5a4dfeb2 - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x642f5a4dfeb2 - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x642f5a4c5f98 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x642f5a4bd969 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x642f5a4c6ded - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x642f5a4fce8c - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x642f5a4fcd43 - core[c5ed12ab89cc536a]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x642f5a45165e - core[c5ed12ab89cc536a]::panicking::assert_failed::<alloc[9c68fdf4f4f29218]::string::String, &str>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x642f5a45481b - smart_contract_analyzer[4fc98e2ebbd3ce42]::utils::helpers::tests::test_function_selector
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils/helpers.rs:292:9
[INFO] [stdout]   22:     0x642f5a453bb7 - smart_contract_analyzer[4fc98e2ebbd3ce42]::utils::helpers::tests::test_function_selector::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/utils/helpers.rs:290:32
[INFO] [stdout]   23:     0x642f5a4539d6 - <smart_contract_analyzer[4fc98e2ebbd3ce42]::utils::helpers::tests::test_function_selector::{closure#0} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x642f5a45bc1b - <fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x642f5a45bc1b - test[64760d2bdea328cc]::__rust_begin_short_backtrace::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x642f5a46847a - test[64760d2bdea328cc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x642f5a46847a - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x642f5a46847a - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x642f5a46847a - std[716c9a7a72e5c14e]::panicking::catch_unwind::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x642f5a46847a - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x642f5a46847a - test[64760d2bdea328cc]::run_test_in_process
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x642f5a46847a - test[64760d2bdea328cc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x642f5a462944 - test[64760d2bdea328cc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x642f5a462944 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x642f5a46af72 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x642f5a46af72 - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x642f5a46af72 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x642f5a46af72 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x642f5a46af72 - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x642f5a46af72 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x642f5a46af72 - <std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x642f5a4e72bf - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn core[c5ed12ab89cc536a]::ops::function::FnOnce<(), Output = ()> + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x642f5a4e72bf - <std[716c9a7a72e5c14e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7a75fdf91aa4 - <unknown>
[INFO] [stdout]   45:     0x7a75fe01ea64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     utils::helpers::tests::test_function_selector
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "43c70f318db0da744645052977dcfbb151d3cc165dec16d6fb067e849e44265f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "43c70f318db0da744645052977dcfbb151d3cc165dec16d6fb067e849e44265f", kill_on_drop: false }`
[INFO] [stdout] 43c70f318db0da744645052977dcfbb151d3cc165dec16d6fb067e849e44265f
