[INFO] fetching crate xsnappy 0.1.0... [INFO] building xsnappy-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate xsnappy 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate xsnappy 0.1.0 [INFO] finished tweaking crates.io crate xsnappy 0.1.0 [INFO] tweaked toml for crates.io crate xsnappy 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xsnappy 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e34797a633d016018bba2b1dd33aacacddcefe1c890af5f385f06db787ddb47d [INFO] running `Command { std: "docker" "start" "-a" "e34797a633d016018bba2b1dd33aacacddcefe1c890af5f385f06db787ddb47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e34797a633d016018bba2b1dd33aacacddcefe1c890af5f385f06db787ddb47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34797a633d016018bba2b1dd33aacacddcefe1c890af5f385f06db787ddb47d", kill_on_drop: false }` [INFO] [stdout] e34797a633d016018bba2b1dd33aacacddcefe1c890af5f385f06db787ddb47d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5beec7e387126926343505ba60b28272373b6c7bc6a89ce654f9b1f68ef647cb [INFO] running `Command { std: "docker" "start" "-a" "5beec7e387126926343505ba60b28272373b6c7bc6a89ce654f9b1f68ef647cb", kill_on_drop: false }` [INFO] [stderr] Compiling xsnappy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/encode.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `candidate` is never read [INFO] [stdout] --> src/encode.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut candidate = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encode.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut base = s; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut p; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut src_end = src.offset(src_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut dst_end = dst.offset(dst_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut dst_end = dst.offset(dst_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_match` is never used [INFO] [stdout] --> src/encode.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn extend_match(src: &[u8], mut s: usize, mut i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "5beec7e387126926343505ba60b28272373b6c7bc6a89ce654f9b1f68ef647cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5beec7e387126926343505ba60b28272373b6c7bc6a89ce654f9b1f68ef647cb", kill_on_drop: false }` [INFO] [stdout] 5beec7e387126926343505ba60b28272373b6c7bc6a89ce654f9b1f68ef647cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d194161b139a8616f8768d0267e649de437b2333059346cfc98eb8e2a6bf4c1 [INFO] running `Command { std: "docker" "start" "-a" "7d194161b139a8616f8768d0267e649de437b2333059346cfc98eb8e2a6bf4c1", kill_on_drop: false }` [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/encode.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `candidate` is never read [INFO] [stdout] --> src/encode.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut candidate = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encode.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut base = s; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut p; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut src_end = src.offset(src_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut dst_end = dst.offset(dst_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut dst_end = dst.offset(dst_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_match` is never used [INFO] [stdout] --> src/encode.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn extend_match(src: &[u8], mut s: usize, mut i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xsnappy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/encode.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let mut i = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `candidate` is never read [INFO] [stdout] --> src/encode.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut candidate = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/encode.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut base = s; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut p; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | let mut src_end = src.offset(src_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut dst_end = dst.offset(dst_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut dst_end = dst.offset(dst_len as isize); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extend_match` is never used [INFO] [stdout] --> src/encode.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn extend_match(src: &[u8], mut s: usize, mut i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "7d194161b139a8616f8768d0267e649de437b2333059346cfc98eb8e2a6bf4c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d194161b139a8616f8768d0267e649de437b2333059346cfc98eb8e2a6bf4c1", kill_on_drop: false }` [INFO] [stdout] 7d194161b139a8616f8768d0267e649de437b2333059346cfc98eb8e2a6bf4c1