[INFO] cloning repository https://github.com/rishabh-bector/pixelsorter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rishabh-bector/pixelsorter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishabh-bector%2Fpixelsorter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishabh-bector%2Fpixelsorter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d4f2c0d6fc24efc45fac536f6a8a4a9bb978029 [INFO] checking rishabh-bector/pixelsorter against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frishabh-bector%2Fpixelsorter" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rishabh-bector/pixelsorter on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rishabh-bector/pixelsorter [INFO] finished tweaking git repo https://github.com/rishabh-bector/pixelsorter [INFO] tweaked toml for git repo https://github.com/rishabh-bector/pixelsorter written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/rishabh-bector/pixelsorter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.8 [INFO] [stderr] Downloaded pbr v1.0.4 [INFO] [stderr] Downloaded meval v0.2.0 [INFO] [stderr] Downloaded rand v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e15ac3428ba76873dded57b458336f3c0bc8064350c2e71158df24f390de6d2 [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" "8e15ac3428ba76873dded57b458336f3c0bc8064350c2e71158df24f390de6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e15ac3428ba76873dded57b458336f3c0bc8064350c2e71158df24f390de6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e15ac3428ba76873dded57b458336f3c0bc8064350c2e71158df24f390de6d2", kill_on_drop: false }` [INFO] [stdout] 8e15ac3428ba76873dded57b458336f3c0bc8064350c2e71158df24f390de6d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] 1e1306137b9f75f527aec456686baa9a2bb533a98c469dc9df32700e3c1470c1 [INFO] running `Command { std: "docker" "start" "-a" "1e1306137b9f75f527aec456686baa9a2bb533a98c469dc9df32700e3c1470c1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking text_io v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking getrandom v0.2.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking meval v0.2.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking pbr v1.0.4 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking pixelsorter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/main.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | let mut pos = (0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/main.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | for p in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/main.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | fn find_next(dims: (u32, u32), pos: (u32, u32)) -> (u32, u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn from_rgba(x: u32, y: u32, rgba: image::Rgba) -> SortablePixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | fn from_rgba(x: u32, y: u32, rgba: image::Rgba) -> SortablePixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pos` is never read [INFO] [stdout] --> src/main.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | let mut pos = (0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/main.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | for p in 0..size { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dims` [INFO] [stdout] --> src/main.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | fn find_next(dims: (u32, u32), pos: (u32, u32)) -> (u32, u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dims` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn from_rgba(x: u32, y: u32, rgba: image::Rgba) -> SortablePixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | fn from_rgba(x: u32, y: u32, rgba: image::Rgba) -> SortablePixel { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let mut dimensions = im.dimensions(); [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/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let mut dimensions = im.dimensions(); [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/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let mut rng = rand::thread_rng(); [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/main.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let mut out = (pos.0 + 1, pos.1 + 1); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transform_axis` [INFO] [stdout] --> src/main.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn transform_axis(in1: u32, size1: u32, size2: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_next` [INFO] [stdout] --> src/main.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn find_next(dims: (u32, u32), pos: (u32, u32)) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let mut dimensions = im.dimensions(); [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/main.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | let mut dimensions = im.dimensions(); [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/main.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | let mut rng = rand::thread_rng(); [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/main.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | let mut out = (pos.0 + 1, pos.1 + 1); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transform_axis` [INFO] [stdout] --> src/main.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn transform_axis(in1: u32, size1: u32, size2: u32) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_next` [INFO] [stdout] --> src/main.rs:303:4 [INFO] [stdout] | [INFO] [stdout] 303 | fn find_next(dims: (u32, u32), pos: (u32, u32)) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.23s [INFO] running `Command { std: "docker" "inspect" "1e1306137b9f75f527aec456686baa9a2bb533a98c469dc9df32700e3c1470c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e1306137b9f75f527aec456686baa9a2bb533a98c469dc9df32700e3c1470c1", kill_on_drop: false }` [INFO] [stdout] 1e1306137b9f75f527aec456686baa9a2bb533a98c469dc9df32700e3c1470c1