[INFO] updating cached repository https://github.com/KIPFoundation/ethindia-hack-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b729b3f73982044523aa8c1f3a7aa0f4a4709fe [INFO] testing KIPFoundation/ethindia-hack-2019 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKIPFoundation%2Fethindia-hack-2019" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KIPFoundation/ethindia-hack-2019 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config [INFO] started tweaking git repo https://github.com/KIPFoundation/ethindia-hack-2019 [INFO] finished tweaking git repo https://github.com/KIPFoundation/ethindia-hack-2019 [INFO] tweaked toml for git repo https://github.com/KIPFoundation/ethindia-hack-2019 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/KIPFoundation/ethindia-hack-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 753347b9f6edb872067326c34098a4c7433be0ca056b305e007265343ae5d830 [INFO] running `Command { std: "docker" "start" "-a" "753347b9f6edb872067326c34098a4c7433be0ca056b305e007265343ae5d830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "753347b9f6edb872067326c34098a4c7433be0ca056b305e007265343ae5d830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "753347b9f6edb872067326c34098a4c7433be0ca056b305e007265343ae5d830", kill_on_drop: false }` [INFO] [stdout] 753347b9f6edb872067326c34098a4c7433be0ca056b305e007265343ae5d830 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7113a01868728e813afa637daf9c44833d552d3265a37e3d414dd9f070bef879 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7113a01868728e813afa637daf9c44833d552d3265a37e3d414dd9f070bef879", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling futures v0.1.28 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rustc-hex v2.0.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling static_assertions v0.2.5 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling ucd-util v0.1.5 [INFO] [stderr] Compiling safemem v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rlp v0.4.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling lock_api v0.1.5 [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 crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling impl-rlp v0.2.0 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling uint v0.7.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rpassword v3.0.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling aho-corasick v0.7.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling fixed-hash v0.3.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-uds v0.1.7 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling websocket v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling impl-serde v0.2.0 [INFO] [stderr] Compiling parity-codec v3.5.4 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling ethbloom v0.6.4 [INFO] [stderr] Compiling impl-codec v0.2.0 [INFO] [stderr] Compiling primitive-types v0.3.0 [INFO] [stderr] Compiling jsonrpc-core v13.0.0 [INFO] [stderr] Compiling ethereum-types v0.6.0 [INFO] [stderr] Compiling ethabi v8.0.0 [INFO] [stderr] Compiling web3 v0.8.0 (https://github.com/tomusdrw/rust-web3#7c80ad33) [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Write`, `stdin`, `stdout` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H160`, `H256` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use web3::types::{Address, H160, H256}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let sub = "5.9 - 5.3"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sub` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multi` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let multi = "10.4 *6.3"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_multi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let div = "6 / 5"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rem` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let rem = "6 % 6"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sqt` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let sqt = "sqrt(16)"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sqt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pow` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let pow = "exp(3)"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nlog` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let nlog = "ln(1)"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nlog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let absolute = "abs(-8)"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let round = "round(4.8584)"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let e = "e"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let pi = "pi"; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let sign = "signum (-0.1)"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeAccount` should have a snake case name [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let nodeAccount = web3.personal().new_account(&str).wait().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `node_account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 02s [INFO] running `Command { std: "docker" "inspect" "7113a01868728e813afa637daf9c44833d552d3265a37e3d414dd9f070bef879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7113a01868728e813afa637daf9c44833d552d3265a37e3d414dd9f070bef879", kill_on_drop: false }` [INFO] [stdout] 7113a01868728e813afa637daf9c44833d552d3265a37e3d414dd9f070bef879 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 688bed2996f3e00daf1701cc9070034524ccf370e16a32f21110bc950e0766c2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "688bed2996f3e00daf1701cc9070034524ccf370e16a32f21110bc950e0766c2", kill_on_drop: false }` [INFO] [stderr] Compiling calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Write`, `stdin`, `stdout` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H160`, `H256` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use web3::types::{Address, H160, H256}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let sub = "5.9 - 5.3"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sub` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `multi` [INFO] [stdout] --> src/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let multi = "10.4 *6.3"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_multi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let div = "6 / 5"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rem` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let rem = "6 % 6"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sqt` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let sqt = "sqrt(16)"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sqt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pow` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let pow = "exp(3)"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nlog` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let nlog = "ln(1)"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nlog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `absolute` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let absolute = "abs(-8)"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `round` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let round = "round(4.8584)"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let e = "e"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pi` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let pi = "pi"; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sign` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let sign = "signum (-0.1)"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeAccount` should have a snake case name [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let nodeAccount = web3.personal().new_account(&str).wait().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `node_account` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "688bed2996f3e00daf1701cc9070034524ccf370e16a32f21110bc950e0766c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "688bed2996f3e00daf1701cc9070034524ccf370e16a32f21110bc950e0766c2", kill_on_drop: false }` [INFO] [stdout] 688bed2996f3e00daf1701cc9070034524ccf370e16a32f21110bc950e0766c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32cdf97e2348d81ff6234e618a08bf7fb19912f055aaeb1149764a0512bb95cd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32cdf97e2348d81ff6234e618a08bf7fb19912f055aaeb1149764a0512bb95cd", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Write`, `stdin`, `stdout` [INFO] [stderr] --> src/main.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{stdin,stdout,Write}; [INFO] [stderr] | ^^^^^ ^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `H160`, `H256` [INFO] [stderr] --> src/main.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | use web3::types::{Address, H160, H256}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sub` [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let sub = "5.9 - 5.3"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sub` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `multi` [INFO] [stderr] --> src/main.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let multi = "10.4 *6.3"; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_multi` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `div` [INFO] [stderr] --> src/main.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let div = "6 / 5"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_div` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rem` [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let rem = "6 % 6"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sqt` [INFO] [stderr] --> src/main.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let sqt = "sqrt(16)"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_sqt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pow` [INFO] [stderr] --> src/main.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let pow = "exp(3)"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pow` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `nlog` [INFO] [stderr] --> src/main.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let nlog = "ln(1)"; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nlog` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `absolute` [INFO] [stderr] --> src/main.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let absolute = "abs(-8)"; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_absolute` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `round` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let round = "round(4.8584)"; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_round` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let e = "e"; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pi` [INFO] [stderr] --> src/main.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | let pi = "pi"; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_pi` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sign` [INFO] [stderr] --> src/main.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let sign = "signum (-0.1)"; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign` [INFO] [stderr] [INFO] [stderr] warning: variable `nodeAccount` should have a snake case name [INFO] [stderr] --> src/main.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | let nodeAccount = web3.personal().new_account(&str).wait().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `node_account` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/calculator-6892dcf15e7762bf [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "32cdf97e2348d81ff6234e618a08bf7fb19912f055aaeb1149764a0512bb95cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cdf97e2348d81ff6234e618a08bf7fb19912f055aaeb1149764a0512bb95cd", kill_on_drop: false }` [INFO] [stdout] 32cdf97e2348d81ff6234e618a08bf7fb19912f055aaeb1149764a0512bb95cd