[INFO] cloning repository https://github.com/Rantanen/waste [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rantanen/waste" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRantanen%2Fwaste", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRantanen%2Fwaste'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b3c0c455c28096ee5e706a0a39877acb4f06e4c [INFO] checking Rantanen/waste against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRantanen%2Fwaste" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rantanen/waste on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rantanen/waste [INFO] finished tweaking git repo https://github.com/Rantanen/waste [INFO] tweaked toml for git repo https://github.com/Rantanen/waste written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Rantanen/waste already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43b83a8509d1bb80706250e7035d52ac9f826c8e0956579a66c96669f6a1bed6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "43b83a8509d1bb80706250e7035d52ac9f826c8e0956579a66c96669f6a1bed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43b83a8509d1bb80706250e7035d52ac9f826c8e0956579a66c96669f6a1bed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b83a8509d1bb80706250e7035d52ac9f826c8e0956579a66c96669f6a1bed6", kill_on_drop: false }` [INFO] [stdout] 43b83a8509d1bb80706250e7035d52ac9f826c8e0956579a66c96669f6a1bed6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a7a36f173b7ce6dd46d721132344534a74554dcd406e98a97cbb6f92d0008099 [INFO] running `Command { std: "docker" "start" "-a" "a7a36f173b7ce6dd46d721132344534a74554dcd406e98a97cbb6f92d0008099", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking widestring v0.4.3 [INFO] [stderr] Checking bytes v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking waste v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let segment = match start { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/main.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copied` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let copied = std::io::copy(&mut limited, writer)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment` [INFO] [stdout] --> src/main.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let segment = match start { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/main.rs:316:27 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `copied` [INFO] [stdout] --> src/main.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let copied = std::io::copy(&mut limited, writer)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_copied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_memory` [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/main.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn read(reader: &mut dyn Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_memory` [INFO] [stdout] --> src/main.rs:316:8 [INFO] [stdout] | [INFO] [stdout] 316 | fn read_memory(&self, reader: &mut dyn Read, addr: u64, length: u64) -> bytes::BytesMut { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.67s [INFO] running `Command { std: "docker" "inspect" "a7a36f173b7ce6dd46d721132344534a74554dcd406e98a97cbb6f92d0008099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a36f173b7ce6dd46d721132344534a74554dcd406e98a97cbb6f92d0008099", kill_on_drop: false }` [INFO] [stdout] a7a36f173b7ce6dd46d721132344534a74554dcd406e98a97cbb6f92d0008099