[INFO] fetching crate lebe 0.5.2... [INFO] checking lebe-0.5.2 against master#b92758a9aef1cef7b79e2b72c3d8ba113e547f89 for pr-124305-1 [INFO] extracting crate lebe 0.5.2 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate lebe 0.5.2 on toolchain b92758a9aef1cef7b79e2b72c3d8ba113e547f89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lebe 0.5.2 [INFO] finished tweaking crates.io crate lebe 0.5.2 [INFO] tweaked toml for crates.io crate lebe 0.5.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.5.0 [INFO] [stderr] Downloaded bencher v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a2c333fe65093d9ff37eea00ffe9106eda205a7a7c95ffc9c20ba4e9a6b6c33 [INFO] running `Command { std: "docker" "start" "-a" "4a2c333fe65093d9ff37eea00ffe9106eda205a7a7c95ffc9c20ba4e9a6b6c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a2c333fe65093d9ff37eea00ffe9106eda205a7a7c95ffc9c20ba4e9a6b6c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a2c333fe65093d9ff37eea00ffe9106eda205a7a7c95ffc9c20ba4e9a6b6c33", kill_on_drop: false }` [INFO] [stdout] 4a2c333fe65093d9ff37eea00ffe9106eda205a7a7c95ffc9c20ba4e9a6b6c33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b92758a9aef1cef7b79e2b72c3d8ba113e547f89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4797b6f9bda6b1473947789a7d3065b16e170a7ef03343f9a68bc7504edb4bf2 [INFO] running `Command { std: "docker" "start" "-a" "4797b6f9bda6b1473947789a7d3065b16e170a7ef03343f9a68bc7504edb4bf2", kill_on_drop: false }` [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lebe v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `COUNT_16` is never used [INFO] [stdout] --> benches/benches.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const COUNT_16: usize = COUNT_8 / 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COUNT_64` is never used [INFO] [stdout] --> benches/benches.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const COUNT_64: usize = COUNT_8 / 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/tests.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | let a = u16::read_from_big_endian(&mut read.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let b: u16 = read.clone().read_from_big_endian().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let c = read.clone().read_u16::().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/tests.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | let a = u16::read_from_little_endian(&mut read.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let b: u16 = read.clone().read_from_little_endian().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let c = read.clone().read_u16::().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/tests.rs:146:51 [INFO] [stdout] | [INFO] [stdout] 146 | let a = f32::read_from_little_endian(&mut read.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let b: f32 = read.clone().read_from_little_endian().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let c = read.clone().read_f32::().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "4797b6f9bda6b1473947789a7d3065b16e170a7ef03343f9a68bc7504edb4bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4797b6f9bda6b1473947789a7d3065b16e170a7ef03343f9a68bc7504edb4bf2", kill_on_drop: false }` [INFO] [stdout] 4797b6f9bda6b1473947789a7d3065b16e170a7ef03343f9a68bc7504edb4bf2 [INFO] checking lebe-0.5.2 against try#c1a4c206c24587a392f3bf286bc2e2a61502d44b for pr-124305-1 [INFO] extracting crate lebe 0.5.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate lebe 0.5.2 on toolchain c1a4c206c24587a392f3bf286bc2e2a61502d44b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1a4c206c24587a392f3bf286bc2e2a61502d44b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lebe 0.5.2 [INFO] finished tweaking crates.io crate lebe 0.5.2 [INFO] tweaked toml for crates.io crate lebe 0.5.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1a4c206c24587a392f3bf286bc2e2a61502d44b" "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 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c1a4c206c24587a392f3bf286bc2e2a61502d44b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+c1a4c206c24587a392f3bf286bc2e2a61502d44b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a4f7d52fc3b2654e4c72656605fb2c81d9772237adf6501b63cbaf5b7af21d9 [INFO] running `Command { std: "docker" "start" "-a" "8a4f7d52fc3b2654e4c72656605fb2c81d9772237adf6501b63cbaf5b7af21d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a4f7d52fc3b2654e4c72656605fb2c81d9772237adf6501b63cbaf5b7af21d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4f7d52fc3b2654e4c72656605fb2c81d9772237adf6501b63cbaf5b7af21d9", kill_on_drop: false }` [INFO] [stdout] 8a4f7d52fc3b2654e4c72656605fb2c81d9772237adf6501b63cbaf5b7af21d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+c1a4c206c24587a392f3bf286bc2e2a61502d44b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19c0f6a025558b4f866c4f506c224da7e4aceaee63ba87d9982883b665ca97b4 [INFO] running `Command { std: "docker" "start" "-a" "19c0f6a025558b4f866c4f506c224da7e4aceaee63ba87d9982883b665ca97b4", kill_on_drop: false }` [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lebe v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `COUNT_16` is never used [INFO] [stdout] --> benches/benches.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const COUNT_16: usize = COUNT_8 / 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COUNT_64` is never used [INFO] [stdout] --> benches/benches.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const COUNT_64: usize = COUNT_8 / 8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/tests.rs:124:48 [INFO] [stdout] | [INFO] [stdout] 124 | let a = u16::read_from_big_endian(&mut read.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let b: u16 = read.clone().read_from_big_endian().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 126 | let c = read.clone().read_u16::().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/tests.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 135 | let a = u16::read_from_little_endian(&mut read.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let b: u16 = read.clone().read_from_little_endian().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let c = read.clone().read_u16::().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/tests.rs:146:51 [INFO] [stdout] | [INFO] [stdout] 146 | let a = f32::read_from_little_endian(&mut read.clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let b: f32 = read.clone().read_from_little_endian().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&mut &[u8]` instead of cloning the inner type [INFO] [stdout] --> tests/tests.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let c = read.clone().read_f32::().unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "19c0f6a025558b4f866c4f506c224da7e4aceaee63ba87d9982883b665ca97b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c0f6a025558b4f866c4f506c224da7e4aceaee63ba87d9982883b665ca97b4", kill_on_drop: false }` [INFO] [stdout] 19c0f6a025558b4f866c4f506c224da7e4aceaee63ba87d9982883b665ca97b4