[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#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleopard1218%2FRust_ethereum_address" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leopard1218/Rust_ethereum_address on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.5 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded tiny-keccak v1.5.0 [INFO] [stderr] Downloaded digest v0.10.2 [INFO] [stderr] Downloaded anyhow v1.0.53 [INFO] [stderr] Downloaded tracing v0.1.30 [INFO] [stderr] Downloaded crypto-common v0.1.2 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c5559ca0e03c6e44e3abbb21d9b7d5c68f510db6415aa7065a5a9347d0979df [INFO] running `Command { std: "docker" "start" "-a" "4c5559ca0e03c6e44e3abbb21d9b7d5c68f510db6415aa7065a5a9347d0979df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c5559ca0e03c6e44e3abbb21d9b7d5c68f510db6415aa7065a5a9347d0979df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c5559ca0e03c6e44e3abbb21d9b7d5c68f510db6415aa7065a5a9347d0979df", kill_on_drop: false }` [INFO] [stdout] 4c5559ca0e03c6e44e3abbb21d9b7d5c68f510db6415aa7065a5a9347d0979df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb862a91be027d9e58484044b52431cbf60a2ba516bbc082995dcb1111c2838e [INFO] running `Command { std: "docker" "start" "-a" "fb862a91be027d9e58484044b52431cbf60a2ba516bbc082995dcb1111c2838e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling crypto-common v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling want v0.3.0 [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 openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling tiny-keccak v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling fixed-hash v0.7.0 [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 pin-project v1.0.10 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [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 tokio-stream v0.1.8 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [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 hyper v0.14.17 [INFO] [stderr] Compiling ethereum-types v0.11.0 [INFO] [stderr] Compiling ethabi v14.1.0 [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 50.94s [INFO] running `Command { std: "docker" "inspect" "fb862a91be027d9e58484044b52431cbf60a2ba516bbc082995dcb1111c2838e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb862a91be027d9e58484044b52431cbf60a2ba516bbc082995dcb1111c2838e", kill_on_drop: false }` [INFO] [stdout] fb862a91be027d9e58484044b52431cbf60a2ba516bbc082995dcb1111c2838e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7781310bcefa4366cb42a301ea040d8cf593121735d39326195d0024745e59ed [INFO] running `Command { std: "docker" "start" "-a" "7781310bcefa4366cb42a301ea040d8cf593121735d39326195d0024745e59ed", 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.02s [INFO] running `Command { std: "docker" "inspect" "7781310bcefa4366cb42a301ea040d8cf593121735d39326195d0024745e59ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7781310bcefa4366cb42a301ea040d8cf593121735d39326195d0024745e59ed", kill_on_drop: false }` [INFO] [stdout] 7781310bcefa4366cb42a301ea040d8cf593121735d39326195d0024745e59ed