[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 against try#df1b9bf194c9183fb7c0604484171064069ce232 for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarshitRuwali%2Frust-web3" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HarshitRuwali/rust-web3 on toolchain df1b9bf194c9183fb7c0604484171064069ce232 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+df1b9bf194c9183fb7c0604484171064069ce232" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethereum-types v0.11.0 [INFO] [stderr] Downloaded rlp v0.5.1 [INFO] [stderr] Downloaded primitive-types v0.9.1 [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded web3 v0.17.0 [INFO] [stderr] Downloaded ethabi v14.1.0 [INFO] [stderr] Downloaded secp256k1 v0.21.3 [INFO] [stderr] Downloaded soketto v0.5.0 [INFO] [stderr] Downloaded secp256k1 v0.20.3 [INFO] [stderr] Downloaded web3-async-native-tls v0.4.0 [INFO] [stderr] Downloaded secp256k1-sys v0.4.2 [INFO] [stderr] Downloaded libc v0.2.120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2ba77835182c929d523d8115c7a18e0b70fc14ce5fc45839c49685224dcd611 [INFO] running `Command { std: "docker" "start" "-a" "a2ba77835182c929d523d8115c7a18e0b70fc14ce5fc45839c49685224dcd611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2ba77835182c929d523d8115c7a18e0b70fc14ce5fc45839c49685224dcd611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2ba77835182c929d523d8115c7a18e0b70fc14ce5fc45839c49685224dcd611", kill_on_drop: false }` [INFO] [stdout] a2ba77835182c929d523d8115c7a18e0b70fc14ce5fc45839c49685224dcd611 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48fddd0d249f9971e4c7284aca88e6a4f1461c21c782a6ac93cee32b8ba57e9f [INFO] running `Command { std: "docker" "start" "-a" "48fddd0d249f9971e4c7284aca88e6a4f1461c21c782a6ac93cee32b8ba57e9f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Checking pin-project-lite v0.2.8 [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 parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking rlp v0.5.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking impl-rlp v0.3.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking anyhow v1.0.56 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking uint v0.9.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking secp256k1 v0.20.3 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking headers v0.3.7 [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 futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [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] Compiling thiserror v1.0.30 [INFO] [stderr] Checking pin-project v1.0.10 [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 unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `secp256k1` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `secp256k1`, use `cargo add secp256k1` to add it to your `Cargo.toml` [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] 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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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] 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] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-web3` (bin "rust-web3" test) 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") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48fddd0d249f9971e4c7284aca88e6a4f1461c21c782a6ac93cee32b8ba57e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48fddd0d249f9971e4c7284aca88e6a4f1461c21c782a6ac93cee32b8ba57e9f", kill_on_drop: false }` [INFO] [stdout] 48fddd0d249f9971e4c7284aca88e6a4f1461c21c782a6ac93cee32b8ba57e9f