[INFO] cloning repository https://github.com/smitea/scrape [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smitea/scrape" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmitea%2Fscrape", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmitea%2Fscrape'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53295ca0176c813a2e42dbd1666fb40a91839204 [INFO] building smitea/scrape/53295ca0176c813a2e42dbd1666fb40a91839204 against master#70591dc15db32941fe3595fdbf98e58d6975f95e for pr-127731 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmitea%2Fscrape" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smitea/scrape on toolchain 70591dc15db32941fe3595fdbf98e58d6975f95e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smitea/scrape [INFO] finished tweaking git repo https://github.com/smitea/scrape [INFO] tweaked toml for git repo https://github.com/smitea/scrape written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/smitea/scrape 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" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05cef46f8c48fbd24204a59316162093f4309315ef72c2b4802d6a49dd9edafa [INFO] running `Command { std: "docker" "start" "-a" "05cef46f8c48fbd24204a59316162093f4309315ef72c2b4802d6a49dd9edafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05cef46f8c48fbd24204a59316162093f4309315ef72c2b4802d6a49dd9edafa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05cef46f8c48fbd24204a59316162093f4309315ef72c2b4802d6a49dd9edafa", kill_on_drop: false }` [INFO] [stdout] 05cef46f8c48fbd24204a59316162093f4309315ef72c2b4802d6a49dd9edafa [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ec8d4590a8dbc9b5178de558a453a2eab67cda0f7f2a520c61e0927f358e422 [INFO] running `Command { std: "docker" "start" "-a" "7ec8d4590a8dbc9b5178de558a453a2eab67cda0f7f2a520c61e0927f358e422", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rlp v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling impl-rlp v0.3.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [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 sha3 v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling secp256k1 v0.20.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.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.18.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.34 [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.7.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling web3-async-native-tls v0.4.0 [INFO] [stderr] Compiling h2 v0.3.13 [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.19 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling web3 v0.17.0 [INFO] [stderr] Compiling producer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `input::web3_event::Web3EventInput` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use input::web3_event::Web3EventInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `runtime::Builder` [INFO] [stdout] --> src/output/console.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::{runtime::Builder, sync::mpsc::Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::sync::mpsc::error::RecvError`: This type is unused because recv returns an Option. [INFO] [stdout] --> src/error.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | from_error!(CHANNEL_RECV, tokio::sync::mpsc::error::RecvError); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::Input` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use input::Input; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/decode/transfer.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | fn decode(bytes: [u8; 0]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/input/web3_event.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let input = Self::new(config); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/input/web3_event.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | processor: P, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/input/web3_event.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | decoder: D, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/input/web3_event.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | sender: Sender, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/lib.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut sender, reciver) = tokio::sync::mpsc::channel(buffer_size as usize); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut sender, reciver) = tokio::sync::mpsc::channel(buffer_size as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_path` is never used [INFO] [stdout] --> src/config.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn find_path>(p: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/decode/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Decoder { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 6 | fn decode(bytes: [u8; 0]) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferDecoder` is never constructed [INFO] [stdout] --> src/decode/transfer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TransferDecoder {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/input/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Input { [INFO] [stdout] | ----- associated function in this trait [INFO] [stdout] 8 | fn start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `web3` is never read [INFO] [stdout] --> src/input/web3_event.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Web3EventInput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | web3: Web3, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `U256` and `tokens::Detokenize` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | contract::{tokens::Detokenize, Contract, Options}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ethabi::Token, [INFO] [stdout] 7 | types::{Address, Bytes, CallRequest, U256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.72s [INFO] running `Command { std: "docker" "inspect" "7ec8d4590a8dbc9b5178de558a453a2eab67cda0f7f2a520c61e0927f358e422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec8d4590a8dbc9b5178de558a453a2eab67cda0f7f2a520c61e0927f358e422", kill_on_drop: false }` [INFO] [stdout] 7ec8d4590a8dbc9b5178de558a453a2eab67cda0f7f2a520c61e0927f358e422 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+70591dc15db32941fe3595fdbf98e58d6975f95e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1359ca861304dec289f36ec71d2725f55e0c9a918217e0f44199ee83431a9c82 [INFO] running `Command { std: "docker" "start" "-a" "1359ca861304dec289f36ec71d2725f55e0c9a918217e0f44199ee83431a9c82", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `input::web3_event::Web3EventInput` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use input::web3_event::Web3EventInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `runtime::Builder` [INFO] [stdout] --> src/output/console.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::{runtime::Builder, sync::mpsc::Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::sync::mpsc::error::RecvError`: This type is unused because recv returns an Option. [INFO] [stdout] --> src/error.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | from_error!(CHANNEL_RECV, tokio::sync::mpsc::error::RecvError); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::Input` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use input::Input; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/decode/transfer.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | fn decode(bytes: [u8; 0]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/input/web3_event.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let input = Self::new(config); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/input/web3_event.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | processor: P, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/input/web3_event.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | decoder: D, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/input/web3_event.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | sender: Sender, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/lib.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut sender, reciver) = tokio::sync::mpsc::channel(buffer_size as usize); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut sender, reciver) = tokio::sync::mpsc::channel(buffer_size as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_path` is never used [INFO] [stdout] --> src/config.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn find_path>(p: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/decode/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Decoder { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 6 | fn decode(bytes: [u8; 0]) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferDecoder` is never constructed [INFO] [stdout] --> src/decode/transfer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TransferDecoder {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/input/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Input { [INFO] [stdout] | ----- associated function in this trait [INFO] [stdout] 8 | fn start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `web3` is never read [INFO] [stdout] --> src/input/web3_event.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Web3EventInput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | web3: Web3, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling producer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `U256` and `tokens::Detokenize` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | contract::{tokens::Detokenize, Contract, Options}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ethabi::Token, [INFO] [stdout] 7 | types::{Address, Bytes, CallRequest, U256}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::web3_event::Web3EventInput` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use input::web3_event::Web3EventInput; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `runtime::Builder` [INFO] [stdout] --> src/output/console.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::{runtime::Builder, sync::mpsc::Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::sync::mpsc::error::RecvError`: This type is unused because recv returns an Option. [INFO] [stdout] --> src/error.rs:206:53 [INFO] [stdout] | [INFO] [stdout] 206 | from_error!(CHANNEL_RECV, tokio::sync::mpsc::error::RecvError); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `input::Input` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use input::Input; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/decode/transfer.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | fn decode(bytes: [u8; 0]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/input/web3_event.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let input = Self::new(config); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `processor` [INFO] [stdout] --> src/input/web3_event.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | processor: P, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_processor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoder` [INFO] [stdout] --> src/input/web3_event.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | decoder: D, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/input/web3_event.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | sender: Sender, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/lib.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut sender, reciver) = tokio::sync::mpsc::channel(buffer_size as usize); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut sender, reciver) = tokio::sync::mpsc::channel(buffer_size as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/decode/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Decoder { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 6 | fn decode(bytes: [u8; 0]) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TransferDecoder` is never constructed [INFO] [stdout] --> src/decode/transfer.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TransferDecoder {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start` is never used [INFO] [stdout] --> src/input/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Input { [INFO] [stdout] | ----- associated function in this trait [INFO] [stdout] 8 | fn start( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `web3` is never read [INFO] [stdout] --> src/input/web3_event.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Web3EventInput { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 7 | web3: Web3, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "1359ca861304dec289f36ec71d2725f55e0c9a918217e0f44199ee83431a9c82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1359ca861304dec289f36ec71d2725f55e0c9a918217e0f44199ee83431a9c82", kill_on_drop: false }` [INFO] [stdout] 1359ca861304dec289f36ec71d2725f55e0c9a918217e0f44199ee83431a9c82