[INFO] fetching crate mining_proxy_sv2 0.1.1... [INFO] testing mining_proxy_sv2-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mining_proxy_sv2 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate mining_proxy_sv2 0.1.1 [INFO] finished tweaking crates.io crate mining_proxy_sv2 0.1.1 [INFO] tweaked toml for crates.io crate mining_proxy_sv2 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mining_proxy_sv2 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mining_proxy_sv2 0.1.1 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b5a788fff1d84460cf764f21ec204fc8b27b5b7f698fc45ae5d660d675ffbca [INFO] running `Command { std: "docker" "start" "-a" "5b5a788fff1d84460cf764f21ec204fc8b27b5b7f698fc45ae5d660d675ffbca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b5a788fff1d84460cf764f21ec204fc8b27b5b7f698fc45ae5d660d675ffbca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b5a788fff1d84460cf764f21ec204fc8b27b5b7f698fc45ae5d660d675ffbca", kill_on_drop: false }` [INFO] [stdout] 5b5a788fff1d84460cf764f21ec204fc8b27b5b7f698fc45ae5d660d675ffbca [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 517053a0aad2da19cd85a78603b1db3d8de1f8ca77796f710a3e6f5577207e21 [INFO] running `Command { std: "docker" "start" "-a" "517053a0aad2da19cd85a78603b1db3d8de1f8ca77796f710a3e6f5577207e21", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling bitcoin-internals v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling hex-conservative v0.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling binary_codec_sv2 v1.0.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bitcoin_hashes v0.11.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling bech32 v0.9.1 [INFO] [stderr] Compiling bitcoin_hashes v0.13.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling derive_codec_sv2 v1.0.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling buffer_sv2 v1.0.0 [INFO] [stderr] Compiling async-recursion v0.3.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling secp256k1 v0.24.3 [INFO] [stderr] Compiling bitcoin v0.29.2 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling const_sv2 v1.0.0 [INFO] [stderr] Compiling const_sv2 v0.1.3 [INFO] [stderr] Compiling noise_sv2 v1.1.0 [INFO] [stderr] Compiling binary_sv2 v1.0.0 [INFO] [stderr] Compiling framing_sv2 v1.0.0 [INFO] [stderr] Compiling mining_sv2 v1.0.0 [INFO] [stderr] Compiling job_declaration_sv2 v1.0.0 [INFO] [stderr] Compiling common_messages_sv2 v1.0.0 [INFO] [stderr] Compiling template_distribution_sv2 v1.0.0 [INFO] [stderr] Compiling codec_sv2 v1.0.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling stratum-common v1.0.0 [INFO] [stderr] Compiling roles_logic_sv2 v1.0.0 [INFO] [stderr] Compiling network_helpers_sv2 v2.0.0 [INFO] [stderr] Compiling key-utils v1.0.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling mining_proxy_sv2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib/upstream_mining.rs:406:34 [INFO] [stdout] | [INFO] [stdout] 406 | .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] 406 + .map_err(|e| error!("Failed to send {:?}", e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib/upstream_mining.rs:406:34 [INFO] [stdout] | [INFO] [stdout] 406 | .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] 406 + .map_err(|e| error!("Failed to send {:?}", e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | SendError(SendError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - SendError(SendError), [INFO] [stdout] 13 + SendError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | UpstreamNotAvailabe(SocketAddr), [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - UpstreamNotAvailabe(SocketAddr), [INFO] [stdout] 14 + UpstreamNotAvailabe(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | SetupConnectionError(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - SetupConnectionError(String), [INFO] [stdout] 15 + SetupConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.61s [INFO] running `Command { std: "docker" "inspect" "517053a0aad2da19cd85a78603b1db3d8de1f8ca77796f710a3e6f5577207e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517053a0aad2da19cd85a78603b1db3d8de1f8ca77796f710a3e6f5577207e21", kill_on_drop: false }` [INFO] [stdout] 517053a0aad2da19cd85a78603b1db3d8de1f8ca77796f710a3e6f5577207e21 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64d5c63b95944da5862820009cae1f295d19aba122c10020bb243710fd1df9ed [INFO] running `Command { std: "docker" "start" "-a" "64d5c63b95944da5862820009cae1f295d19aba122c10020bb243710fd1df9ed", kill_on_drop: false }` [INFO] [stderr] Compiling mining_proxy_sv2 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib/upstream_mining.rs:406:34 [INFO] [stdout] | [INFO] [stdout] 406 | .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] 406 + .map_err(|e| error!("Failed to send {:?}", e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib/upstream_mining.rs:406:34 [INFO] [stdout] | [INFO] [stdout] 406 | .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] 406 + .map_err(|e| error!("Failed to send {:?}", e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/lib/upstream_mining.rs:406:34 [INFO] [stdout] | [INFO] [stdout] 406 | .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 406 - .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stdout] 406 + .map_err(|e| error!("Failed to send {:?}", e))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | SendError(SendError), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - SendError(SendError), [INFO] [stdout] 13 + SendError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | UpstreamNotAvailabe(SocketAddr), [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - UpstreamNotAvailabe(SocketAddr), [INFO] [stdout] 14 + UpstreamNotAvailabe(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib/error.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | SetupConnectionError(String), [INFO] [stdout] | -------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - SetupConnectionError(String), [INFO] [stdout] 15 + SetupConnectionError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "64d5c63b95944da5862820009cae1f295d19aba122c10020bb243710fd1df9ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64d5c63b95944da5862820009cae1f295d19aba122c10020bb243710fd1df9ed", kill_on_drop: false }` [INFO] [stdout] 64d5c63b95944da5862820009cae1f295d19aba122c10020bb243710fd1df9ed [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a872902c9c0f042f9ef55cf449a16b98c95acedf590e6dc3f12d7f91e72c1576 [INFO] running `Command { std: "docker" "start" "-a" "a872902c9c0f042f9ef55cf449a16b98c95acedf590e6dc3f12d7f91e72c1576", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/lib/upstream_mining.rs:406:34 [INFO] [stderr] | [INFO] [stderr] 406 | .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 406 - .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stderr] 406 + .map_err(|e| error!("Failed to send {:?}", e))?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mining_proxy_sv2` (lib) generated 1 warning (run `cargo fix --lib -p mining_proxy_sv2` to apply 1 suggestion) [INFO] [stderr] warning: `mining_proxy_sv2` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:13:15 [INFO] [stderr] | [INFO] [stderr] 13 | SendError(SendError), [INFO] [stderr] | --------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - SendError(SendError), [INFO] [stderr] 13 + SendError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 14 | UpstreamNotAvailabe(SocketAddr), [INFO] [stderr] | ------------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 14 - UpstreamNotAvailabe(SocketAddr), [INFO] [stderr] 14 + UpstreamNotAvailabe(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/lib/error.rs:15:26 [INFO] [stderr] | [INFO] [stderr] 15 | SetupConnectionError(String), [INFO] [stderr] | -------------------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 15 - SetupConnectionError(String), [INFO] [stderr] 15 + SetupConnectionError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mining_proxy_sv2` (bin "mining_proxy_sv2" test) generated 4 warnings (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib/mod.rs (/opt/rustwide/target/debug/deps/mining_proxy_sv2-3b3b9c125a4707ea) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mining_proxy_sv2-e0b99101fdd44067) [INFO] [stdout] test upstream_mining::tests::new_upstream_minining_node ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test lib::upstream_mining::tests::new_upstream_minining_node ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mining_proxy_sv2 [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/lib/upstream_mining.rs:406:34 [INFO] [stderr] | [INFO] [stderr] 406 | .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 406 - .map_err(|e| (error!("Failed to send {:?}", e)))?; [INFO] [stderr] 406 + .map_err(|e| error!("Failed to send {:?}", e))?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a872902c9c0f042f9ef55cf449a16b98c95acedf590e6dc3f12d7f91e72c1576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a872902c9c0f042f9ef55cf449a16b98c95acedf590e6dc3f12d7f91e72c1576", kill_on_drop: false }` [INFO] [stdout] a872902c9c0f042f9ef55cf449a16b98c95acedf590e6dc3f12d7f91e72c1576