[INFO] cloning repository https://github.com/dac456/cabal-extract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dac456/cabal-extract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdac456%2Fcabal-extract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdac456%2Fcabal-extract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d4ce572f25ea76dda873ce9a095229925060df7 [INFO] checking dac456/cabal-extract against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdac456%2Fcabal-extract" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dac456/cabal-extract 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/dac456/cabal-extract [INFO] finished tweaking git repo https://github.com/dac456/cabal-extract [INFO] tweaked toml for git repo https://github.com/dac456/cabal-extract written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/dac456/cabal-extract 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 bmp v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1ebd3e2397655f28979c76d2cf9dc1761d286603feb881f60fb79ffd97f6d4f [INFO] running `Command { std: "docker" "start" "-a" "b1ebd3e2397655f28979c76d2cf9dc1761d286603feb881f60fb79ffd97f6d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1ebd3e2397655f28979c76d2cf9dc1761d286603feb881f60fb79ffd97f6d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1ebd3e2397655f28979c76d2cf9dc1761d286603feb881f60fb79ffd97f6d4f", kill_on_drop: false }` [INFO] [stdout] b1ebd3e2397655f28979c76d2cf9dc1761d286603feb881f60fb79ffd97f6d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] b7eb59c236c13f5bd330314b3ffe50a7c71d74fcf6fa66101551e040cc2b1ded [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" "b7eb59c236c13f5bd330314b3ffe50a7c71d74fcf6fa66101551e040cc2b1ded", kill_on_drop: false }` [INFO] [stderr] Checking bmp v0.2.0 [INFO] [stderr] Checking cabal-extract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/postprocess/superxbr.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | (dw1 - dw2) [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/postprocess/superxbr.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | (dw1 - dw2) [INFO] [stdout] | ^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hdr_size` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let hdr_size = buf.read_u16::().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hdr_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let flags = buf.read_u16::().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | fn read_level_data(mut buf: &mut T) -> Level { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => break [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 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: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:46 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/postprocess/superxbr.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let cx = x / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cy` [INFO] [stdout] --> src/postprocess/superxbr.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let cy = y / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:46 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:30 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:38 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:46 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/postprocess/superxbr.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | let cx = x / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cy` [INFO] [stdout] --> src/postprocess/superxbr.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | let cy = y / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:22 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:30 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:38 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:46 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.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:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn read_header(mut buf: &mut T) -> Result<(u16, u32), std::io::Error> { [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:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | fn read_palette_data(mut buf: &mut T) -> Palette { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hdr_size` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let hdr_size = buf.read_u16::().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hdr_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let flags = buf.read_u16::().unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/main.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | fn read_level_data(mut buf: &mut T) -> Level { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | Err(e) => break [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:22 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 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: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:38 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:173:46 [INFO] [stdout] | [INFO] [stdout] 173 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/postprocess/superxbr.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let cx = x / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cy` [INFO] [stdout] --> src/postprocess/superxbr.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | let cy = y / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:30 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:38 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:258:46 [INFO] [stdout] | [INFO] [stdout] 258 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:30 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:38 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:312:46 [INFO] [stdout] | [INFO] [stdout] 312 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/postprocess/superxbr.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | let cx = x / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cy` [INFO] [stdout] --> src/postprocess/superxbr.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | let cy = y / f; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:22 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:30 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bf` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:38 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.0); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `af` is never read [INFO] [stdout] --> src/postprocess/superxbr.rs:393:46 [INFO] [stdout] | [INFO] [stdout] 393 | let (mut rf, mut gf, mut bf, mut af) = (0.0, 0.0, 0.0, 0.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:56:33 [INFO] [stdout] | [INFO] [stdout] 56 | fn read_header(mut buf: &mut T) -> Result<(u16, u32), std::io::Error> { [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:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | fn read_palette_data(mut buf: &mut T) -> Palette { [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:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn read_level_data(mut buf: &mut T) -> Level { [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:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut level = Level { rebuild_zone: 0 }; [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:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn read_level_data(mut buf: &mut T) -> Level { [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:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | let mut level = Level { rebuild_zone: 0 }; [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/postprocess/superxbr.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | let mut ri: i32 = clamp(rf.ceil() as i32, 0, 255); [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/postprocess/superxbr.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let mut gi: i32 = clamp(gf.ceil() as i32, 0, 255); [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/postprocess/superxbr.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut bi: i32 = clamp(bf.ceil() as i32, 0, 255); [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/postprocess/superxbr.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let mut ai: i32 = clamp(af.ceil() as i32, 0, 255); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pixel_size` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pixel_size: f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rebuild_zone` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | rebuild_zone: u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `step_by` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(step_by)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | file.read_to_end(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/postprocess/superxbr.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let mut Y: [[f32; 4]; 4] = [[0.0; 4]; 4]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/postprocess/superxbr.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let mut Y: [[f32; 4]; 4] = [[0.0; 4]; 4]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/postprocess/superxbr.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | let mut Y: [[f32; 4]; 4] = [[0.0; 4]; 4]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/postprocess/superxbr.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | let mut ri: i32 = clamp(rf.ceil() as i32, 0, 255); [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/postprocess/superxbr.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let mut gi: i32 = clamp(gf.ceil() as i32, 0, 255); [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/postprocess/superxbr.rs:413:17 [INFO] [stdout] | [INFO] [stdout] 413 | let mut bi: i32 = clamp(bf.ceil() as i32, 0, 255); [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/postprocess/superxbr.rs:414:17 [INFO] [stdout] | [INFO] [stdout] 414 | let mut ai: i32 = clamp(af.ceil() as i32, 0, 255); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pixel_size` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pixel_size: f32 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rebuild_zone` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | rebuild_zone: u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `step_by` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(step_by)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cabal-extract` due to 2 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | file.read_to_end(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/postprocess/superxbr.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | let mut Y: [[f32; 4]; 4] = [[0.0; 4]; 4]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/postprocess/superxbr.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | let mut Y: [[f32; 4]; 4] = [[0.0; 4]; 4]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/postprocess/superxbr.rs:351:21 [INFO] [stdout] | [INFO] [stdout] 351 | let mut Y: [[f32; 4]; 4] = [[0.0; 4]; 4]; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7eb59c236c13f5bd330314b3ffe50a7c71d74fcf6fa66101551e040cc2b1ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7eb59c236c13f5bd330314b3ffe50a7c71d74fcf6fa66101551e040cc2b1ded", kill_on_drop: false }` [INFO] [stdout] b7eb59c236c13f5bd330314b3ffe50a7c71d74fcf6fa66101551e040cc2b1ded