[INFO] cloning repository https://github.com/leopard1218/Rust_ethereum_address [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leopard1218/Rust_ethereum_address" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleopard1218%2FRust_ethereum_address", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleopard1218%2FRust_ethereum_address'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34f29d15b5d33895e0f91a6b043978542f6927d8 [INFO] building leopard1218/Rust_ethereum_address against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleopard1218%2FRust_ethereum_address" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leopard1218/Rust_ethereum_address [INFO] finished tweaking git repo https://github.com/leopard1218/Rust_ethereum_address [INFO] tweaked toml for git repo https://github.com/leopard1218/Rust_ethereum_address written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leopard1218/Rust_ethereum_address on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leopard1218/Rust_ethereum_address 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded secp256k1 v0.20.3 [INFO] [stderr] Downloaded rlp v0.5.1 [INFO] [stderr] Downloaded web3-async-native-tls v0.4.0 [INFO] [stderr] Downloaded sha-1 v0.9.8 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded soketto v0.5.0 [INFO] [stderr] Downloaded ethbloom v0.11.1 [INFO] [stderr] Downloaded keccak v0.1.0 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded ethabi v14.1.0 [INFO] [stderr] Downloaded anyhow v1.0.53 [INFO] [stderr] Downloaded impl-serde v0.3.2 [INFO] [stderr] Downloaded parity-scale-codec v2.3.1 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded web3 v0.17.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.1 [INFO] [stderr] Downloaded uint v0.9.3 [INFO] [stderr] Downloaded digest v0.10.2 [INFO] [stderr] Downloaded semver v1.0.5 [INFO] [stderr] Downloaded hyper v0.14.17 [INFO] [stderr] Downloaded crypto-common v0.1.2 [INFO] [stderr] Downloaded fixed-hash v0.7.0 [INFO] [stderr] Downloaded wyz v0.2.0 [INFO] [stderr] Downloaded bitvec v0.20.4 [INFO] [stderr] Downloaded funty v1.1.0 [INFO] [stderr] Downloaded byte-slice-cast v1.2.0 [INFO] [stderr] Downloaded impl-codec v0.5.1 [INFO] [stderr] Downloaded primitive-types v0.9.1 [INFO] [stderr] Downloaded ethereum-types v0.11.0 [INFO] [stderr] Downloaded libc v0.2.117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c5bcaee039fd3990cac9af899bfd7dec256a27e6ed78136607945e4a35748d1 [INFO] running `Command { std: "docker" "start" "-a" "7c5bcaee039fd3990cac9af899bfd7dec256a27e6ed78136607945e4a35748d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c5bcaee039fd3990cac9af899bfd7dec256a27e6ed78136607945e4a35748d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c5bcaee039fd3990cac9af899bfd7dec256a27e6ed78136607945e4a35748d1", kill_on_drop: false }` [INFO] [stdout] 7c5bcaee039fd3990cac9af899bfd7dec256a27e6ed78136607945e4a35748d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f917c8fbdea5b66e49b5b1e550cd7a4339228a7439808a3ed2a0c3fc1551ae97 [INFO] running `Command { std: "docker" "start" "-a" "f917c8fbdea5b66e49b5b1e550cd7a4339228a7439808a3ed2a0c3fc1551ae97", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.2 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling digest v0.10.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling soketto v0.5.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling jsonrpc-core v18.0.0 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling web3 v0.17.0 [INFO] [stderr] Compiling rust-eth-crypto-wallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/eth_wallet.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | types::{Address, TransactionParameters, H256, U256}, [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 variable: `signed` [INFO] [stdout] --> src/eth_wallet.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let signed = web3 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transact_hash` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let transact_hash = eth_wallet::sign(&web3_con, transaction, &loaded_wallet.get_secret_key()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transact_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_public_key` is never used [INFO] [stdout] --> src/eth_wallet.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_public_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "f917c8fbdea5b66e49b5b1e550cd7a4339228a7439808a3ed2a0c3fc1551ae97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f917c8fbdea5b66e49b5b1e550cd7a4339228a7439808a3ed2a0c3fc1551ae97", kill_on_drop: false }` [INFO] [stdout] f917c8fbdea5b66e49b5b1e550cd7a4339228a7439808a3ed2a0c3fc1551ae97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6fee1b78e9cebc6b4a3f6f7f5a93738db6d8b6fc0ff1ab1a0c4ebe70fea3fa6 [INFO] running `Command { std: "docker" "start" "-a" "b6fee1b78e9cebc6b4a3f6f7f5a93738db6d8b6fc0ff1ab1a0c4ebe70fea3fa6", kill_on_drop: false }` [INFO] [stderr] Compiling rust-eth-crypto-wallet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `H256` [INFO] [stdout] --> src/eth_wallet.rs:11:45 [INFO] [stdout] | [INFO] [stdout] 11 | types::{Address, TransactionParameters, H256, U256}, [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 variable: `signed` [INFO] [stdout] --> src/eth_wallet.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let signed = web3 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transact_hash` [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let transact_hash = eth_wallet::sign(&web3_con, transaction, &loaded_wallet.get_secret_key()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transact_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_public_key` is never used [INFO] [stdout] --> src/eth_wallet.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl Wallet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_public_key(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.50s [INFO] running `Command { std: "docker" "inspect" "b6fee1b78e9cebc6b4a3f6f7f5a93738db6d8b6fc0ff1ab1a0c4ebe70fea3fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6fee1b78e9cebc6b4a3f6f7f5a93738db6d8b6fc0ff1ab1a0c4ebe70fea3fa6", kill_on_drop: false }` [INFO] [stdout] b6fee1b78e9cebc6b4a3f6f7f5a93738db6d8b6fc0ff1ab1a0c4ebe70fea3fa6