[INFO] fetching crate web3_rust_wrapper 0.4.4...
[INFO] testing web3_rust_wrapper-0.4.4 against 1.62.0 for beta-1.63-1
[INFO] extracting crate web3_rust_wrapper 0.4.4 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate web3_rust_wrapper 0.4.4 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate web3_rust_wrapper 0.4.4
[INFO] finished tweaking crates.io crate web3_rust_wrapper 0.4.4
[INFO] tweaked toml for crates.io crate web3_rust_wrapper 0.4.4 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate web3_rust_wrapper 0.4.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded drawille v0.3.0
[INFO] [stderr]   Downloaded impl-rlp v0.3.0
[INFO] [stderr]   Downloaded sha256 v1.0.3
[INFO] [stderr]   Downloaded clearscreen v1.0.9
[INFO] [stderr]   Downloaded terminfo v0.7.3
[INFO] [stderr]   Downloaded webbrowser v0.7.1
[INFO] [stderr]   Downloaded ethereum-types v0.12.1
[INFO] [stderr]   Downloaded ethbloom v0.11.1
[INFO] [stderr]   Downloaded rlp v0.5.1
[INFO] [stderr]   Downloaded web3 v0.18.0
[INFO] [stderr]   Downloaded textplots v0.8.0
[INFO] [stderr]   Downloaded ethabi v16.0.0
[INFO] [stderr]   Downloaded open v2.1.2
[INFO] [stderr]   Downloaded web3-async-native-tls v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9bda28995ccdf379c0dd904fb8fb0461c36032bdebf22968ada251a34e09af5e
[INFO] running `Command { std: "docker" "start" "-a" "9bda28995ccdf379c0dd904fb8fb0461c36032bdebf22968ada251a34e09af5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9bda28995ccdf379c0dd904fb8fb0461c36032bdebf22968ada251a34e09af5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9bda28995ccdf379c0dd904fb8fb0461c36032bdebf22968ada251a34e09af5e", kill_on_drop: false }`
[INFO] [stdout] 9bda28995ccdf379c0dd904fb8fb0461c36032bdebf22968ada251a34e09af5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 710c78d4ed78b86224e6fb3c2985db8f5910c91cf309595cb04d44e7ef80efad
[INFO] running `Command { std: "docker" "start" "-a" "710c78d4ed78b86224e6fb3c2985db8f5910c91cf309595cb04d44e7ef80efad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling once_cell v1.12.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling radium v0.6.2
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling block-padding v0.2.1
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling rustc-hex v2.1.0
[INFO] [stderr]    Compiling wyz v0.2.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling funty v1.1.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling byte-slice-cast v1.2.1
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling keccak v0.1.2
[INFO] [stderr]    Compiling nom v1.2.4
[INFO] [stderr]    Compiling sysinfo v0.23.13
[INFO] [stderr]    Compiling bytemuck v1.9.1
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling pathdiff v0.2.1
[INFO] [stderr]    Compiling futures-timer v3.0.2
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling tracing-core v0.1.26
[INFO] [stderr]    Compiling indexmap v1.8.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling secp256k1-sys v0.4.2
[INFO] [stderr]    Compiling http v0.2.7
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rlp v0.5.1
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.73
[INFO] [stderr]    Compiling open v2.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling meval v0.2.0
[INFO] [stderr]    Compiling rgb v0.8.33
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling impl-rlp v0.3.0
[INFO] [stderr]    Compiling uint v0.9.3
[INFO] [stderr]    Compiling bitvec v0.20.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling sha-1 v0.10.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling mio v0.8.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling nix v0.22.3
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling headers v0.3.7
[INFO] [stderr]    Compiling sha256 v1.0.3
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling dirs v2.0.2
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling drawille v0.3.0
[INFO] [stderr]    Compiling secp256k1 v0.21.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling webbrowser v0.7.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling fixed-hash v0.7.0
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling terminfo v0.7.3
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling impl-trait-for-tuples v0.2.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling clearscreen v1.0.9
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling tracing v0.1.34
[INFO] [stderr]    Compiling soketto v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling web3-async-native-tls v0.4.0
[INFO] [stderr]    Compiling tokio-stream v0.1.8
[INFO] [stderr]    Compiling tokio-util v0.6.10
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling textplots v0.8.0
[INFO] [stderr]    Compiling hyper v0.14.19
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling impl-serde v0.3.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ethbloom v0.11.1
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]    Compiling jsonrpc-core v18.0.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling parity-scale-codec-derive v2.3.1
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling parity-scale-codec v2.3.1
[INFO] [stderr]    Compiling impl-codec v0.5.1
[INFO] [stderr]    Compiling primitive-types v0.10.1
[INFO] [stderr]    Compiling ethereum-types v0.12.1
[INFO] [stderr]    Compiling ethabi v16.0.0
[INFO] [stderr]    Compiling web3 v0.18.0
[INFO] [stderr]    Compiling web3_rust_wrapper v0.4.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `router_abi_path` is assigned to, but never used
[INFO] [stdout]    --> src/lib.rs:374:17
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let mut router_abi_path = "0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]     = note: consider using `_router_abi_path` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `contract_function` is never read
[INFO] [stdout]    --> src/lib.rs:375:17
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let mut contract_function: &str = "swapExactETHForTokens";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:385:17
[INFO] [stdout]     |
[INFO] [stdout] 385 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:390:17
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:395:17
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:400:17
[INFO] [stdout]     |
[INFO] [stdout] 400 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `wei_to_eth2`
[INFO] [stdout]    --> src/lib.rs:212:8
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn wei_to_eth2(val: &str) -> U256 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::contract::Contract`
[INFO] [stdout]  --> src/utils.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use web3::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]   --> src/utils.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use web3::transports::Http;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH`
[INFO] [stdout]  --> src/main.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Chart`, `Plot`, `Shape`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use textplots::{Chart, Plot, Shape};
[INFO] [stdout]   |                 ^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utils.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut is_enabled: bool = false;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price_history`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut price_history: Vec<(f32, f32)> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_price_history`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slippage`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut slippage = 1usize;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slippage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_slippage`
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let max_slippage = 25usize;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_slippage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_trading_active`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut is_trading_active: bool = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_trading_active`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/main.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let (token_address, value, account_puk, account_prk) = get_env_variables().await;
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account_puk`
[INFO] [stdout]   --> src/main.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let (token_address, value, account_puk, account_prk) = get_env_variables().await;
[INFO] [stdout]    |                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_puk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account_prk`
[INFO] [stdout]   --> src/main.rs:29:45
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let (token_address, value, account_puk, account_prk) = get_env_variables().await;
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_prk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]   --> src/utils.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:159:18
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:213:14
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:278:14
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut price_history: Vec<(f32, f32)> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut slippage = 1usize;
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut is_trading_active: bool = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_welcome`
[INFO] [stdout]    --> src/utils.rs:387:4
[INFO] [stdout]     |
[INFO] [stdout] 387 | fn print_welcome() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 37s
[INFO] running `Command { std: "docker" "inspect" "710c78d4ed78b86224e6fb3c2985db8f5910c91cf309595cb04d44e7ef80efad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "710c78d4ed78b86224e6fb3c2985db8f5910c91cf309595cb04d44e7ef80efad", kill_on_drop: false }`
[INFO] [stdout] 710c78d4ed78b86224e6fb3c2985db8f5910c91cf309595cb04d44e7ef80efad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0f68734a47c53f2bac527785085e55fccdec443c504f3c88c612ddb2327aa39
[INFO] running `Command { std: "docker" "start" "-a" "d0f68734a47c53f2bac527785085e55fccdec443c504f3c88c612ddb2327aa39", kill_on_drop: false }`
[INFO] [stdout] warning: variable `router_abi_path` is assigned to, but never used
[INFO] [stdout]    --> src/lib.rs:374:17
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let mut router_abi_path = "0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]     = note: consider using `_router_abi_path` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `contract_function` is never read
[INFO] [stdout]    --> src/lib.rs:375:17
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let mut contract_function: &str = "swapExactETHForTokens";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:385:17
[INFO] [stdout]     |
[INFO] [stdout] 385 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:390:17
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:395:17
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:400:17
[INFO] [stdout]     |
[INFO] [stdout] 400 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling web3_rust_wrapper v0.4.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function is never used: `wei_to_eth2`
[INFO] [stdout]    --> src/lib.rs:212:8
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn wei_to_eth2(val: &str) -> U256 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> examples/chainlink_feed_example.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::types::Address`
[INFO] [stdout]  --> examples/chainlink_feed_example.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web3::types::Address;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3_rust_wrapper::traits::GetAddress`
[INFO] [stdout]  --> examples/chainlink_feed_example.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use web3_rust_wrapper::traits::GetAddress;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::contract::Contract`
[INFO] [stdout]  --> src/utils.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use web3::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]   --> src/utils.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use web3::transports::Http;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemTime`, `UNIX_EPOCH`
[INFO] [stdout]  --> src/main.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::{SystemTime, UNIX_EPOCH};
[INFO] [stdout]   |                 ^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Chart`, `Plot`, `Shape`
[INFO] [stdout]  --> src/main.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use textplots::{Chart, Plot, Shape};
[INFO] [stdout]   |                 ^^^^^  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `web3m` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> examples/chainlink_feed_example.rs:17:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let web3m: Web3Manager = Web3Manager::new(web3_http_url, web3_websocket_url, chain_id).await;
[INFO] [stdout]    |         ----- help: consider changing this to be mutable: `mut web3m`
[INFO] [stdout] 16 | 
[INFO] [stdout] 17 |     let price: Int = web3m.get_latest_price(RinkeByTestNet, "ATOM / USD").await;
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web3_rust_wrapper` due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused imports: `thread`, `time`
[INFO] [stdout]  --> examples/swap.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, thread, time};
[INFO] [stdout]   |                ^^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `U256`
[INFO] [stdout]  --> examples/swap.rs:6:31
[INFO] [stdout]   |
[INFO] [stdout] 6 | use web3::types::{H160, H256, U256};
[INFO] [stdout]   |                               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PublicKey`, `SecretKey`
[INFO] [stdout]  --> examples/generate_keypair.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use secp256k1::{PublicKey, SecretKey};
[INFO] [stdout]   |                 ^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value`
[INFO] [stdout]  --> examples/generate_keypair.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde_json::Value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utils.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let mut is_enabled: bool = false;
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::contract::Contract`
[INFO] [stdout]  --> examples/subs.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use web3::contract::Contract;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::ethabi::Uint`
[INFO] [stdout]  --> examples/subs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use web3::ethabi::Uint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::transports::Http`
[INFO] [stdout]  --> examples/subs.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web3::transports::Http;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web3::types::H160`
[INFO] [stdout]  --> examples/subs.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use web3::types::H160;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_only`
[INFO] [stdout]   --> examples/generate_keypair.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let time_only = NaiveTime::parse_from_str("23:56:04", "%H:%M:%S").unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_only`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date_only`
[INFO] [stdout]   --> examples/generate_keypair.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let date_only = NaiveDate::parse_from_str("2015-09-05", "%Y-%m-%d").unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_date_only`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> examples/generate_keypair.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let now = chrono::offset::Utc::now();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contract_abi`
[INFO] [stdout]   --> examples/subs.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let contract_abi = include_bytes!("../abi/TokenAbi.json");
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_abi`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price_history`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut price_history: Vec<(f32, f32)> = Vec::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_price_history`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slippage`
[INFO] [stdout]   --> src/main.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut slippage = 1usize;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slippage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_slippage`
[INFO] [stdout]   --> src/main.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let max_slippage = 25usize;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_slippage`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_trading_active`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut is_trading_active: bool = false;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_trading_active`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/main.rs:29:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let (token_address, value, account_puk, account_prk) = get_env_variables().await;
[INFO] [stdout]    |                         ^^^^^ help: if this is intentional, prefix it with an underscore: `_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account_puk`
[INFO] [stdout]   --> src/main.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let (token_address, value, account_puk, account_prk) = get_env_variables().await;
[INFO] [stdout]    |                                ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_puk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account_prk`
[INFO] [stdout]   --> src/main.rs:29:45
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let (token_address, value, account_puk, account_prk) = get_env_variables().await;
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_prk`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]   --> src/utils.rs:39:14
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]    |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:159:18
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:213:14
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:278:14
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_pm`
[INFO] [stdout]    --> src/utils.rs:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 |         let (is_pm, hour) = now.hour12();
[INFO] [stdout]     |              ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_pm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut price_history: Vec<(f32, f32)> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut slippage = 1usize;
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut is_trading_active: bool = false;
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_welcome`
[INFO] [stdout]    --> src/utils.rs:387:4
[INFO] [stdout]     |
[INFO] [stdout] 387 | fn print_welcome() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `router_abi_path` is assigned to, but never used
[INFO] [stdout]    --> src/lib.rs:374:17
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let mut router_abi_path = "0x9Ac64Cc6e4415144C455BD8E4837Fea55603e5c3";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]     = note: consider using `_router_abi_path` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `contract_function` is never read
[INFO] [stdout]    --> src/lib.rs:375:17
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let mut contract_function: &str = "swapExactETHForTokens";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:385:17
[INFO] [stdout]     |
[INFO] [stdout] 385 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:390:17
[INFO] [stdout]     |
[INFO] [stdout] 390 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:395:17
[INFO] [stdout]     |
[INFO] [stdout] 395 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `router_abi_path` is never read
[INFO] [stdout]    --> src/lib.rs:400:17
[INFO] [stdout]     |
[INFO] [stdout] 400 |                 router_abi_path = "../abi/PancakeRouterAbi.json";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `wei_to_eth2`
[INFO] [stdout]    --> src/lib.rs:212:8
[INFO] [stdout]     |
[INFO] [stdout] 212 |     fn wei_to_eth2(val: &str) -> U256 {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/swap.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 &path_address,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ expected struct `U256`, found `&Vec<&str>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `U256`
[INFO] [stdout]            found reference `&Vec<&str>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web3_rust_wrapper` due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/instance_contract_example.rs:40:31
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let token_balance: Uint = web3m
[INFO] [stdout]    |  _______________________________^
[INFO] [stdout] 41 | |         .query_contract(&contract_instance, "balanceOf", account)
[INFO] [stdout] 42 | |         .await;
[INFO] [stdout]    | |______________^ expected struct `U256`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `U256`
[INFO] [stdout]                 found enum `Result<_, web3::contract::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/instance_contract_example.rs:45:30
[INFO] [stdout]    |
[INFO] [stdout] 45 |       let busd_balance: Uint = web3m
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 46 | |         .query_contract(&busd_instance, "balanceOf", account)
[INFO] [stdout] 47 | |         .await;
[INFO] [stdout]    | |______________^ expected struct `U256`, found enum `Result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `U256`
[INFO] [stdout]                 found enum `Result<_, web3::contract::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web3_rust_wrapper` due to 3 previous errors
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d0f68734a47c53f2bac527785085e55fccdec443c504f3c88c612ddb2327aa39", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0f68734a47c53f2bac527785085e55fccdec443c504f3c88c612ddb2327aa39", kill_on_drop: false }`
[INFO] [stdout] d0f68734a47c53f2bac527785085e55fccdec443c504f3c88c612ddb2327aa39
