[INFO] cloning repository https://github.com/HarshitRuwali/rust-web3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarshitRuwali/rust-web3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitRuwali%2Frust-web3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitRuwali%2Frust-web3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2d4180f7f051530b78b21336bd4965cb2ebf3cc [INFO] checking HarshitRuwali/rust-web3/d2d4180f7f051530b78b21336bd4965cb2ebf3cc against master#717f5df2c308dfb4b7b8e6c002c11fe8269c4011 for pr-133274 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitRuwali%2Frust-web3" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HarshitRuwali/rust-web3 on toolchain 717f5df2c308dfb4b7b8e6c002c11fe8269c4011 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HarshitRuwali/rust-web3 [INFO] finished tweaking git repo https://github.com/HarshitRuwali/rust-web3 [INFO] tweaked toml for git repo https://github.com/HarshitRuwali/rust-web3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HarshitRuwali/rust-web3 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" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethabi v14.1.0 [INFO] [stderr] Downloaded soketto v0.5.0 [INFO] [stderr] Downloaded web3 v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4592afed47613777d27d695b7b14122d6e3804b04e93b9810169cd831afb760 [INFO] running `Command { std: "docker" "start" "-a" "f4592afed47613777d27d695b7b14122d6e3804b04e93b9810169cd831afb760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4592afed47613777d27d695b7b14122d6e3804b04e93b9810169cd831afb760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4592afed47613777d27d695b7b14122d6e3804b04e93b9810169cd831afb760", kill_on_drop: false }` [INFO] [stdout] f4592afed47613777d27d695b7b14122d6e3804b04e93b9810169cd831afb760 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+717f5df2c308dfb4b7b8e6c002c11fe8269c4011" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09c977684be249b4878b92b8835a417c83957c97db0fd0f2ffd2901e9a374f5b [INFO] running `Command { std: "docker" "start" "-a" "09c977684be249b4878b92b8835a417c83957c97db0fd0f2ffd2901e9a374f5b", 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.89 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking byte-slice-cast v1.2.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uint v0.9.3 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [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] Checking tokio v1.17.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking soketto v0.5.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking web3-async-native-tls v0.4.0 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking impl-serde v0.3.2 [INFO] [stderr] Checking parity-scale-codec v2.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ethbloom v0.11.1 [INFO] [stderr] Checking impl-codec v0.5.1 [INFO] [stderr] Checking primitive-types v0.9.1 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking ethereum-types v0.11.0 [INFO] [stderr] Checking ethabi v14.1.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking web3 v0.17.0 [INFO] [stderr] Checking rust-web3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use secp256k1::SecretKey; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `secp256k1` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use secp256k1::SecretKey; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `secp256k1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tx_object` in this scope [INFO] [stdout] --> src/main.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | let signed = web3s.accounts().sign_transaction(tx_object, &prvk).await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the binding `tx_object` is available in a different scope in the same function [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let tx_object = TransactionParameters{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/main.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use web3::types::{H160, U256, Address, TransactionParameters}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::ethabi::ethereum_types` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use web3::ethabi::ethereum_types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tx_object` in this scope [INFO] [stdout] --> src/main.rs:42:49 [INFO] [stdout] | [INFO] [stdout] 42 | let signed = web3s.accounts().sign_transaction(tx_object, &prvk).await?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the binding `tx_object` is available in a different scope in the same function [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | let tx_object = TransactionParameters{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Address` [INFO] [stdout] --> src/main.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use web3::types::{H160, U256, Address, TransactionParameters}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web3::ethabi::ethereum_types` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use web3::ethabi::ethereum_types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-web3` (bin "rust-web3") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-web3` (bin "rust-web3" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09c977684be249b4878b92b8835a417c83957c97db0fd0f2ffd2901e9a374f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c977684be249b4878b92b8835a417c83957c97db0fd0f2ffd2901e9a374f5b", kill_on_drop: false }` [INFO] [stdout] 09c977684be249b4878b92b8835a417c83957c97db0fd0f2ffd2901e9a374f5b