[INFO] fetching crate merino 0.1.3... [INFO] checking merino-0.1.3 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate merino 0.1.3 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate merino 0.1.3 [INFO] finished tweaking crates.io crate merino 0.1.3 [INFO] tweaked toml for crates.io crate merino 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate merino 0.1.3 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--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] Locking 80 packages to latest compatible versions [INFO] [stderr] Adding pretty_env_logger v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding snafu v0.4.4 (available: v0.8.9) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded snafu-derive v0.4.4 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded snafu v0.4.4 [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded doc-comment v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32c5105838228015f5b919d96e4e1d70c2744ab9b8b4624e154de0e2b8027571 [INFO] running `Command { std: "docker" "start" "-a" "32c5105838228015f5b919d96e4e1d70c2744ab9b8b4624e154de0e2b8027571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32c5105838228015f5b919d96e4e1d70c2744ab9b8b4624e154de0e2b8027571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32c5105838228015f5b919d96e4e1d70c2744ab9b8b4624e154de0e2b8027571", kill_on_drop: false }` [INFO] [stdout] 32c5105838228015f5b919d96e4e1d70c2744ab9b8b4624e154de0e2b8027571 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 483ade699145976c87d434dbd9dc1afc817743b2b5141d405c4baa9f834e772e [INFO] running `Command { std: "docker" "start" "-a" "483ade699145976c87d434dbd9dc1afc817743b2b5141d405c4baa9f834e772e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Compiling doc-comment v0.3.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Checking merino v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [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] 443 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 443 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:480:24 [INFO] [stdout] | [INFO] [stdout] 480 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 480 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:443:24 [INFO] [stdout] | [INFO] [stdout] 443 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [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] 443 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 443 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/lib.rs:480:24 [INFO] [stdout] | [INFO] [stdout] 480 | ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 480 - ((addr[(x * 2)] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] 480 + ((addr[x * 2] as u16) << 8) | addr[(x * 2) + 1] as u16 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RuleFailure` and `ConnectionRefused` are never constructed [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | RuleFailure = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | ConnectionRefused = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseCode` 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] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/lib.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 489 | struct SOCKSReq { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 490 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RuleFailure` and `ConnectionRefused` are never constructed [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 37 | enum ResponseCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 42 | RuleFailure = 0x02, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | ConnectionRefused = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseCode` 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] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/lib.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 489 | struct SOCKSReq { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 490 | pub version: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/lib.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 396 | copy(&mut outbound_in, &mut inbound_out).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 396 | let _ = copy(&mut outbound_in, &mut inbound_out).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/lib.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | copy(&mut inbound_in, &mut outbound_out).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 403 | let _ = copy(&mut inbound_in, &mut outbound_out).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/lib.rs:396:25 [INFO] [stdout] | [INFO] [stdout] 396 | copy(&mut outbound_in, &mut inbound_out).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 396 | let _ = copy(&mut outbound_in, &mut inbound_out).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/lib.rs:403:25 [INFO] [stdout] | [INFO] [stdout] 403 | copy(&mut inbound_in, &mut outbound_out).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 403 | let _ = copy(&mut inbound_in, &mut outbound_out).is_ok(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.58s [INFO] running `Command { std: "docker" "inspect" "483ade699145976c87d434dbd9dc1afc817743b2b5141d405c4baa9f834e772e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483ade699145976c87d434dbd9dc1afc817743b2b5141d405c4baa9f834e772e", kill_on_drop: false }` [INFO] [stdout] 483ade699145976c87d434dbd9dc1afc817743b2b5141d405c4baa9f834e772e