[INFO] fetching crate picolo 0.3.7... [INFO] checking picolo-0.3.7 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate picolo 0.3.7 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate picolo 0.3.7 [INFO] finished tweaking crates.io crate picolo 0.3.7 [INFO] tweaked toml for crates.io crate picolo 0.3.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate picolo 0.3.7 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate picolo 0.3.7 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a18096eb78bf1de76a45650301175840d5f8958e8a64ace828a4ca22e3dc34b [INFO] running `Command { std: "docker" "start" "-a" "9a18096eb78bf1de76a45650301175840d5f8958e8a64ace828a4ca22e3dc34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a18096eb78bf1de76a45650301175840d5f8958e8a64ace828a4ca22e3dc34b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a18096eb78bf1de76a45650301175840d5f8958e8a64ace828a4ca22e3dc34b", kill_on_drop: false }` [INFO] [stdout] 9a18096eb78bf1de76a45650301175840d5f8958e8a64ace828a4ca22e3dc34b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e9f3dd4600ad88b1f1d3e61736d94043b1bd76610a54c5c7b97956f11a86507 [INFO] running `Command { std: "docker" "start" "-a" "6e9f3dd4600ad88b1f1d3e61736d94043b1bd76610a54c5c7b97956f11a86507", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking futures-core v0.3.21 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking rayon-core v1.9.3 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling proc_vector2d v1.0.2 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking vector2d v2.2.0 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking rayon v1.5.3 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.13 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking picolo v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/listops.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | array[(array.len()/2)] as f64 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - array[(array.len()/2)] as f64 [INFO] [stdout] 32 + array[array.len()/2] as f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_clr` is never read [INFO] [stdout] --> src/plot.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut curr_clr = &plot; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/plot.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut temp = 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/listops.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut min_value = *vec.iter().max().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listops.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut min_value = *vec.iter().min().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/readimg.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | if precision < 0 || precision > 100 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/listops.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | array[(array.len()/2)] as f64 [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - array[(array.len()/2)] as f64 [INFO] [stdout] 32 + array[array.len()/2] as f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `picolo::readimg::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use picolo::readimg::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `picolo::readimg::*` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use picolo::readimg::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `picolo::plot::*` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use picolo::plot::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `picolo::listops::*` [INFO] [stdout] --> src/tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use picolo::listops::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_clr` is never read [INFO] [stdout] --> src/plot.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut curr_clr = &plot; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `temp` is never read [INFO] [stdout] --> src/plot.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let mut temp = 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/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut b_setting = PlotSettings::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/readimg.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pixel` is never constructed [INFO] [stdout] --> src/readimg.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Pixel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_width` is never used [INFO] [stdout] --> src/readimg.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_width(img: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_height` is never used [INFO] [stdout] --> src/readimg.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_height(img: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_picture` is never used [INFO] [stdout] --> src/readimg.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load_picture(img: &str, precision: u32) -> Vec<[Pixel; 1]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/readimg.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | if precision < 0 || precision > 100 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listops.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut min_value = *vec.iter().max().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listops.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut min_value = *vec.iter().min().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/readimg.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | if precision < 0 || precision > 100 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `picolo::readimg::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use picolo::readimg::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut b_setting = PlotSettings::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Color` is never constructed [INFO] [stdout] --> src/readimg.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pixel` is never constructed [INFO] [stdout] --> src/readimg.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Pixel { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_width` is never used [INFO] [stdout] --> src/readimg.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_width(img: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_height` is never used [INFO] [stdout] --> src/readimg.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_height(img: &str) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_picture` is never used [INFO] [stdout] --> src/readimg.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load_picture(img: &str, precision: u32) -> Vec<[Pixel; 1]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/readimg.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 79 | if precision < 0 || precision > 100 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.26s [INFO] running `Command { std: "docker" "inspect" "6e9f3dd4600ad88b1f1d3e61736d94043b1bd76610a54c5c7b97956f11a86507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9f3dd4600ad88b1f1d3e61736d94043b1bd76610a54c5c7b97956f11a86507", kill_on_drop: false }` [INFO] [stdout] 6e9f3dd4600ad88b1f1d3e61736d94043b1bd76610a54c5c7b97956f11a86507