[INFO] cloning repository https://github.com/tbrunain/novaxcli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tbrunain/novaxcli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbrunain%2Fnovaxcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbrunain%2Fnovaxcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d1e33b54af5ec2c875c1ed8132e5a2cf9dc0e07 [INFO] testing tbrunain/novaxcli against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftbrunain%2Fnovaxcli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tbrunain/novaxcli [INFO] finished tweaking git repo https://github.com/tbrunain/novaxcli [INFO] tweaked toml for git repo https://github.com/tbrunain/novaxcli written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tbrunain/novaxcli on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tbrunain/novaxcli 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded web3-async-native-tls v0.4.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.76 [INFO] [stderr] Downloaded primitive-types v0.9.1 [INFO] [stderr] Downloaded uint v0.9.1 [INFO] [stderr] Downloaded secp256k1 v0.20.3 [INFO] [stderr] Downloaded publicsuffix v1.5.6 [INFO] [stderr] Downloaded ethbloom v0.11.0 [INFO] [stderr] Downloaded rlp v0.5.1 [INFO] [stderr] Downloaded soketto v0.5.0 [INFO] [stderr] Downloaded hex-literal v0.3.3 [INFO] [stderr] Downloaded derive_more v0.99.16 [INFO] [stderr] Downloaded anyhow v1.0.43 [INFO] [stderr] Downloaded flate2 v1.0.21 [INFO] [stderr] Downloaded web3 v0.17.0 [INFO] [stderr] Downloaded socket2 v0.4.1 [INFO] [stderr] Downloaded tracing-core v0.1.19 [INFO] [stderr] Downloaded h2 v0.3.4 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded secp256k1-sys v0.4.1 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded js-sys v0.3.53 [INFO] [stderr] Downloaded reqwest v0.11.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.76 [INFO] [stderr] Downloaded hyper v0.14.12 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.76 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded proc-macro-crate v1.0.0 [INFO] [stderr] Downloaded parity-scale-codec v2.2.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.26 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.76 [INFO] [stderr] Downloaded tokio v1.11.0 [INFO] [stderr] Downloaded ethabi v14.1.0 [INFO] [stderr] Downloaded byte-slice-cast v1.0.0 [INFO] [stderr] Downloaded impl-trait-for-tuples v0.2.1 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.2.0 [INFO] [stderr] Downloaded ethereum-types v0.11.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.76 [INFO] [stderr] Downloaded openssl-sys v0.9.66 [INFO] [stderr] Downloaded web-sys v0.3.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 638ac8b93239a74c5d0c82e6d23a136260e7fb2f8aab535aa0e1279bdd2f375c [INFO] running `Command { std: "docker" "start" "-a" "638ac8b93239a74c5d0c82e6d23a136260e7fb2f8aab535aa0e1279bdd2f375c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "638ac8b93239a74c5d0c82e6d23a136260e7fb2f8aab535aa0e1279bdd2f375c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638ac8b93239a74c5d0c82e6d23a136260e7fb2f8aab535aa0e1279bdd2f375c", kill_on_drop: false }` [INFO] [stdout] 638ac8b93239a74c5d0c82e6d23a136260e7fb2f8aab535aa0e1279bdd2f375c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69df6670400760b8d0dac1f840415a4d7b75d94bc1ccce47b1a6a595bdb47c0f [INFO] running `Command { std: "docker" "start" "-a" "69df6670400760b8d0dac1f840415a4d7b75d94bc1ccce47b1a6a595bdb47c0f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling byte-slice-cast v1.0.0 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tracing-core v0.1.19 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling secp256k1-sys v0.4.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling publicsuffix v1.5.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hex-literal v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling soketto v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling ethbloom v0.11.0 [INFO] [stderr] Compiling proc-macro-crate v1.0.0 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.2.0 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling hyper v0.14.12 [INFO] [stderr] Compiling parity-scale-codec v2.2.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling web3 v0.17.0 [INFO] [stderr] Compiling NovaXCli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use web3::{Web3, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::{Add, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockNumber` [INFO] [stdout] --> src/main.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | use web3::types::{TransactionParameters, BlockNumber}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::FilterBuilder` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | types::FilterBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::types::CallRequest` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use web3::types::CallRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn get_gas_usage_estimation(wallet_address: H160, mut gas_price: U256, web3: &Web3, game_contract: &Contract src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | futures::StreamExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut gas_price = U256::from(args.get(3).unwrap().parse::()?); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | ... fetch_info(planet_contract, game_contract, metal_contract, solar_contract, crystal_contract, planets_for_address, wallet_address).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = fetch_info(planet_contract, game_contract, metal_contract, solar_contract, crystal_contract, planets_for_address, wallet_address).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `planetNo` should have a snake case name [INFO] [stdout] --> src/utils.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub planetNo: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `planet_no` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "69df6670400760b8d0dac1f840415a4d7b75d94bc1ccce47b1a6a595bdb47c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69df6670400760b8d0dac1f840415a4d7b75d94bc1ccce47b1a6a595bdb47c0f", kill_on_drop: false }` [INFO] [stdout] 69df6670400760b8d0dac1f840415a4d7b75d94bc1ccce47b1a6a595bdb47c0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac2abad9cbb16579fe1523a5cea0afe3e22f42f3a39c7706c1f0ca818be3a134 [INFO] running `Command { std: "docker" "start" "-a" "ac2abad9cbb16579fe1523a5cea0afe3e22f42f3a39c7706c1f0ca818be3a134", kill_on_drop: false }` [INFO] [stderr] Compiling NovaXCli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/utils.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use web3::{Web3, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::{Add, Mul}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockNumber` [INFO] [stdout] --> src/main.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | use web3::types::{TransactionParameters, BlockNumber}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::FilterBuilder` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | types::FilterBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hex_literal::hex` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use hex_literal::hex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::types::CallRequest` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use web3::types::CallRequest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:57:61 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn get_gas_usage_estimation(wallet_address: H160, mut gas_price: U256, web3: &Web3, game_contract: &Contract src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | futures::StreamExt, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut gas_price = U256::from(args.get(3).unwrap().parse::()?); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | ... fetch_info(planet_contract, game_contract, metal_contract, solar_contract, crystal_contract, planets_for_address, wallet_address).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = fetch_info(planet_contract, game_contract, metal_contract, solar_contract, crystal_contract, planets_for_address, wallet_address).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `planetNo` should have a snake case name [INFO] [stdout] --> src/utils.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub planetNo: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `planet_no` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "ac2abad9cbb16579fe1523a5cea0afe3e22f42f3a39c7706c1f0ca818be3a134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac2abad9cbb16579fe1523a5cea0afe3e22f42f3a39c7706c1f0ca818be3a134", kill_on_drop: false }` [INFO] [stdout] ac2abad9cbb16579fe1523a5cea0afe3e22f42f3a39c7706c1f0ca818be3a134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3387e810c473aabd16d08feed62ccee89bc611e460816d660117693490b24c17 [INFO] running `Command { std: "docker" "start" "-a" "3387e810c473aabd16d08feed62ccee89bc611e460816d660117693490b24c17", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] warning: unused import: `Error` [INFO] [stdout] [INFO] [stderr] --> src/utils.rs:3:18 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 3 | use web3::{Web3, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Mul` [INFO] [stderr] --> src/main.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | use std::ops::{Add, Mul}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Serialize` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use serde::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BlockNumber` [INFO] [stderr] --> src/main.rs:13:42 [INFO] [stderr] | [INFO] [stderr] 13 | use web3::types::{TransactionParameters, BlockNumber}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `types::FilterBuilder` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | types::FilterBuilder, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `hex_literal::hex` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use hex_literal::hex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `web3::types::CallRequest` [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | use web3::types::CallRequest; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/utils.rs:57:61 [INFO] [stderr] | [INFO] [stderr] 57 | pub async fn get_gas_usage_estimation(wallet_address: H160, mut gas_price: U256, web3: &Web3, game_contract: &Contract src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | futures::StreamExt, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | let mut gas_price = U256::from(args.get(3).unwrap().parse::()?); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | ... fetch_info(planet_contract, game_contract, metal_contract, solar_contract, crystal_contract, planets_for_address, wallet_address).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 82 | let _ = fetch_info(planet_contract, game_contract, metal_contract, solar_contract, crystal_contract, planets_for_address, wallet_address).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: structure field `planetNo` should have a snake case name [INFO] [stderr] --> src/utils.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub planetNo: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `planet_no` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `NovaXCli` (bin "NovaXCli" test) generated 13 warnings (run `cargo fix --bin "NovaXCli" --tests` to apply 10 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/NovaXCli-406963a399918d36) [INFO] running `Command { std: "docker" "inspect" "3387e810c473aabd16d08feed62ccee89bc611e460816d660117693490b24c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3387e810c473aabd16d08feed62ccee89bc611e460816d660117693490b24c17", kill_on_drop: false }` [INFO] [stdout] 3387e810c473aabd16d08feed62ccee89bc611e460816d660117693490b24c17