[INFO] cloning repository https://github.com/osarrouy/argent-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osarrouy/argent-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosarrouy%2Fargent-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosarrouy%2Fargent-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77badeb1e944befc461d022d4fdf5a79b9cec41e [INFO] testing osarrouy/argent-cli against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosarrouy%2Fargent-cli" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/osarrouy/argent-cli on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/osarrouy/argent-cli [INFO] finished tweaking git repo https://github.com/osarrouy/argent-cli [INFO] tweaked toml for git repo https://github.com/osarrouy/argent-cli written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/osarrouy/argent-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef4684fc92e06c8849e85cf1d1ebe927495f465758f7e3bf289e5dda2c2befb [INFO] running `Command { std: "docker" "start" "-a" "4ef4684fc92e06c8849e85cf1d1ebe927495f465758f7e3bf289e5dda2c2befb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef4684fc92e06c8849e85cf1d1ebe927495f465758f7e3bf289e5dda2c2befb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef4684fc92e06c8849e85cf1d1ebe927495f465758f7e3bf289e5dda2c2befb", kill_on_drop: false }` [INFO] [stdout] 4ef4684fc92e06c8849e85cf1d1ebe927495f465758f7e3bf289e5dda2c2befb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24ba87f88b36c19b34f7166d543fd45c12db4bf3a47e02b993d059c0f8174915 [INFO] running `Command { std: "docker" "start" "-a" "24ba87f88b36c19b34f7166d543fd45c12db4bf3a47e02b993d059c0f8174915", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling cc v1.0.41 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling bitvec v0.15.2 [INFO] [stderr] Compiling byte-slice-cast v0.3.5 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.13 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling tiny-keccak v2.0.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v1.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling colored v1.9.2 [INFO] [stderr] Compiling rlp v0.4.4 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling uint v0.8.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling impl-rlp v0.2.1 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling regex v1.3.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling fixed-hash v0.5.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.17 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling dialoguer v0.5.0 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling hyper v0.10.16 [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.104 [INFO] [stderr] Compiling derive_more v0.99.2 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling parity-scale-codec v1.1.2 [INFO] [stderr] Compiling impl-serde v0.2.3 [INFO] [stderr] Compiling impl-serde v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling ethbloom v0.8.1 [INFO] [stderr] Compiling jsonrpc-core v14.0.5 [INFO] [stderr] Compiling impl-codec v0.4.2 [INFO] [stderr] Compiling primitive-types v0.6.2 [INFO] [stderr] Compiling ethereum-types v0.8.0 [INFO] [stderr] Compiling ethabi v9.0.1 [INFO] [stderr] Compiling web3 v0.10.0 [INFO] [stderr] Compiling argent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sha3` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tiny_keccak::{Hasher, Sha3, Keccak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H160` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | use web3::types::{Address, Bytes, CallRequest, TransactionRequest, H160, H256, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ... let prefix = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0,... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let padding = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let t = "0x".as_bytes().to_hex::(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `owner` [INFO] [stdout] --> src/ens/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn owner(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERC1077_HASH` [INFO] [stdout] --> src/constants/abis.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ERC1077_HASH: &[u8] = include_bytes!("../abis/erc1077_hash.abi"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contract` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | contract: web3::contract::Contract, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RecoveryManager` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hash_sign` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn hash_sign( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `just_hash` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | fn just_hash(&self, data: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.87s [INFO] running `Command { std: "docker" "inspect" "24ba87f88b36c19b34f7166d543fd45c12db4bf3a47e02b993d059c0f8174915", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24ba87f88b36c19b34f7166d543fd45c12db4bf3a47e02b993d059c0f8174915", kill_on_drop: false }` [INFO] [stdout] 24ba87f88b36c19b34f7166d543fd45c12db4bf3a47e02b993d059c0f8174915 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b558e2867b215d089e91cf4c1bd82a060134275155c86db2cbed0398f5309be2 [INFO] running `Command { std: "docker" "start" "-a" "b558e2867b215d089e91cf4c1bd82a060134275155c86db2cbed0398f5309be2", kill_on_drop: false }` [INFO] [stderr] Compiling argent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Sha3` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tiny_keccak::{Hasher, Sha3, Keccak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H160` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | use web3::types::{Address, Bytes, CallRequest, TransactionRequest, H160, H256, U256}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefix` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | ... let prefix = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0,... [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `padding` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let padding = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let t = "0x".as_bytes().to_hex::(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `owner` [INFO] [stdout] --> src/ens/mod.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn owner(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `ERC1077_HASH` [INFO] [stdout] --> src/constants/abis.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ERC1077_HASH: &[u8] = include_bytes!("../abis/erc1077_hash.abi"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `contract` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | contract: web3::contract::Contract, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RecoveryManager` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hash_sign` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn hash_sign( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `just_hash` [INFO] [stdout] --> src/modules/recovery_manager/mod.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 266 | fn just_hash(&self, data: Vec) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.17s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/argent-10a2bdc9e83f7065) [INFO] running `Command { std: "docker" "inspect" "b558e2867b215d089e91cf4c1bd82a060134275155c86db2cbed0398f5309be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b558e2867b215d089e91cf4c1bd82a060134275155c86db2cbed0398f5309be2", kill_on_drop: false }` [INFO] [stdout] b558e2867b215d089e91cf4c1bd82a060134275155c86db2cbed0398f5309be2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 067750345e32b3aaa7053e72b45df701dd763cb27732f7f0564d100f0d404207 [INFO] running `Command { std: "docker" "start" "-a" "067750345e32b3aaa7053e72b45df701dd763cb27732f7f0564d100f0d404207", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `Sha3` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use tiny_keccak::{Hasher, Sha3, Keccak}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `H160` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:16:68 [INFO] [stderr] | [INFO] [stderr] 16 | use web3::types::{Address, Bytes, CallRequest, TransactionRequest, H160, H256, U256}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prefix` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | ... let prefix = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0,... [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefix` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `padding` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:176:13 [INFO] [stderr] | [INFO] [stderr] 176 | let padding = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_padding` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `t` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:188:13 [INFO] [stderr] | [INFO] [stderr] 188 | let t = "0x".as_bytes().to_hex::(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `owner` [INFO] [stderr] --> src/ens/mod.rs:91:12 [INFO] [stderr] | [INFO] [stderr] 91 | pub fn owner(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `ERC1077_HASH` [INFO] [stderr] --> src/constants/abis.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub const ERC1077_HASH: &[u8] = include_bytes!("../abis/erc1077_hash.abi"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `contract` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | contract: web3::contract::Contract, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RecoveryManager` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hash_sign` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:93:8 [INFO] [stderr] | [INFO] [stderr] 93 | fn hash_sign( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `just_hash` [INFO] [stderr] --> src/modules/recovery_manager/mod.rs:266:8 [INFO] [stderr] | [INFO] [stderr] 266 | fn just_hash(&self, data: Vec) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `argent` (bin "argent" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 28.83s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/argent-10a2bdc9e83f7065) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ens::test::test_namehash ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ens::test::test_namehash stdout ---- [INFO] [stdout] thread 'ens::test::test_namehash' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `32`, [INFO] [stdout] right: `20`', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/primitive-types-0.6.2/src/lib.rs:41:1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55574103eabd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55574103eabd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55574103eabd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55574103eabd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5557410613cc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55574103b481 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x555741040805 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x555741040805 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x555741040805 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5557410404f4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x555741040d52 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x555741040c37 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55574103ef74 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x555741040969 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x555740fcc3e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55574105ff98 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x55574101efca - core::panicking::assert_failed::h0fd4524e29cf4479 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x555741014f02 - primitive_types::H160::from_slice::h7a15c407fc2f9651 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/fixed-hash-0.5.2/src/hash.rs:200:5 [INFO] [stdout] 18: 0x555740fce345 - argent::ens::test::test_namehash::hd377a4017e77d8e0 [INFO] [stdout] at /opt/rustwide/workdir/src/ens/mod.rs:151:32 [INFO] [stdout] 19: 0x555740fce03a - argent::ens::test::test_namehash::{{closure}}::hd63e2a76b2885914 [INFO] [stdout] at /opt/rustwide/workdir/src/ens/mod.rs:144:5 [INFO] [stdout] 20: 0x555740fcd2ae - core::ops::function::FnOnce::call_once::he42bfe2f7e249754 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x555741004283 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x555741004283 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x555741003039 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x555741003039 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x555741003039 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x555741003039 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x555741003039 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x555741003039 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x555741003039 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x555740fcf1ee - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x555740fcf1ee - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x555740fd4758 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x555740fd4758 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x555740fd4758 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x555740fd4758 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x555740fd4758 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x555740fd4758 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x555740fd4758 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x555741045563 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x555741045563 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x555741045563 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7fd6add51609 - start_thread [INFO] [stdout] 43: 0x7fd6adea6163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ens::test::test_namehash [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin argent' [INFO] running `Command { std: "docker" "inspect" "067750345e32b3aaa7053e72b45df701dd763cb27732f7f0564d100f0d404207", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067750345e32b3aaa7053e72b45df701dd763cb27732f7f0564d100f0d404207", kill_on_drop: false }` [INFO] [stdout] 067750345e32b3aaa7053e72b45df701dd763cb27732f7f0564d100f0d404207