[INFO] cloning repository https://github.com/lesguillemets/effective-fortnight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lesguillemets/effective-fortnight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesguillemets%2Feffective-fortnight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesguillemets%2Feffective-fortnight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2cd88ee8005042e87ea682c8dac2e5b183c94de [INFO] testing lesguillemets/effective-fortnight against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flesguillemets%2Feffective-fortnight" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lesguillemets/effective-fortnight on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lesguillemets/effective-fortnight [INFO] finished tweaking git repo https://github.com/lesguillemets/effective-fortnight [INFO] tweaked toml for git repo https://github.com/lesguillemets/effective-fortnight written to /workspace/builds/worker-38/source/Cargo.toml [INFO] crate git repo https://github.com/lesguillemets/effective-fortnight already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded adler32 v1.0.0 [INFO] [stderr] Downloaded gif v0.9.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.12 [INFO] [stderr] Downloaded num-rational v0.1.36 [INFO] [stderr] Downloaded image v0.12.3 [INFO] [stderr] Downloaded deflate v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1decec1646354a46144eeba90daebdc89d2984c82843c3c0de0dbfbf98c6bf78 [INFO] running `Command { std: "docker" "start" "-a" "1decec1646354a46144eeba90daebdc89d2984c82843c3c0de0dbfbf98c6bf78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1decec1646354a46144eeba90daebdc89d2984c82843c3c0de0dbfbf98c6bf78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1decec1646354a46144eeba90daebdc89d2984c82843c3c0de0dbfbf98c6bf78", kill_on_drop: false }` [INFO] [stdout] 1decec1646354a46144eeba90daebdc89d2984c82843c3c0de0dbfbf98c6bf78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e22108f9a56f4ecb3a3eadf7fc9dddb0cf80bc5ade5fef2531583e5839df5698 [INFO] running `Command { std: "docker" "start" "-a" "e22108f9a56f4ecb3a3eadf7fc9dddb0cf80bc5ade5fef2531583e5839df5698", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling rayon-core v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling deflate v0.7.6 [INFO] [stderr] Compiling gif v0.9.1 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num_cpus v1.3.0 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num-rational v0.1.36 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling rayon v0.7.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.12 [INFO] [stderr] Compiling image v0.12.3 [INFO] [stderr] Compiling colourful-converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColorType`, `Rgb` [INFO] [stdout] --> src/decode.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// decode the encoded file to validate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | let test_file = from_file.clone() + ".redecoded"; [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/decode.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{GenericImage, ImageDecoder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/decode.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let (w, h) = decoder.dimensions().expect("cannot get file dimensions"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let mut x = header.chunks(3).enumerate().skip_while(|&(i, p)| is_empty(p)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut header = body.next().expect("empty body"); [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:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut outf = &mut File::create(&Path::new(to_file)).expect("fileerror"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/decode.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DecodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/decode.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | test.write(&decode_file("out.png")); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.19s [INFO] running `Command { std: "docker" "inspect" "e22108f9a56f4ecb3a3eadf7fc9dddb0cf80bc5ade5fef2531583e5839df5698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22108f9a56f4ecb3a3eadf7fc9dddb0cf80bc5ade5fef2531583e5839df5698", kill_on_drop: false }` [INFO] [stdout] e22108f9a56f4ecb3a3eadf7fc9dddb0cf80bc5ade5fef2531583e5839df5698 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ab1558e8cf9fec84d87e84de33f3696263a5b23219fb6465c262d3138665db [INFO] running `Command { std: "docker" "start" "-a" "73ab1558e8cf9fec84d87e84de33f3696263a5b23219fb6465c262d3138665db", kill_on_drop: false }` [INFO] [stderr] Compiling colourful-converter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ColorType`, `Rgb` [INFO] [stdout] --> src/decode.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// decode the encoded file to validate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | let test_file = from_file.clone() + ".redecoded"; [INFO] [stdout] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/decode.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use image::{GenericImage, ImageDecoder}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/decode.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/decode.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let (w, h) = decoder.dimensions().expect("cannot get file dimensions"); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/decode.rs:73:60 [INFO] [stdout] | [INFO] [stdout] 73 | let mut x = header.chunks(3).enumerate().skip_while(|&(i, p)| is_empty(p)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut header = body.next().expect("empty body"); [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:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut outf = &mut File::create(&Path::new(to_file)).expect("fileerror"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/decode.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DecodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/decode.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive (Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | test.write(&decode_file("out.png")); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "73ab1558e8cf9fec84d87e84de33f3696263a5b23219fb6465c262d3138665db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ab1558e8cf9fec84d87e84de33f3696263a5b23219fb6465c262d3138665db", kill_on_drop: false }` [INFO] [stdout] 73ab1558e8cf9fec84d87e84de33f3696263a5b23219fb6465c262d3138665db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b5c5004a3652d14d26ed50394adc65ce79474d920373c08263b1245b17c95078 [INFO] running `Command { std: "docker" "start" "-a" "b5c5004a3652d14d26ed50394adc65ce79474d920373c08263b1245b17c95078", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `ColorType`, `Rgb` [INFO] [stderr] --> src/decode.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stderr] | ^^^^^^^^^ ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | /// decode the encoded file to validate [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | let test_file = from_file.clone() + ".redecoded"; [INFO] [stderr] | ------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused import: `GenericImage` [INFO] [stderr] --> src/decode.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use image::{GenericImage, ImageDecoder}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Pixel` [INFO] [stderr] --> src/decode.rs:4:29 [INFO] [stderr] | [INFO] [stderr] 4 | use image::{ColorType, Rgb, Pixel}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `w` [INFO] [stderr] --> src/decode.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | let (w, h) = decoder.dimensions().expect("cannot get file dimensions"); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/decode.rs:73:60 [INFO] [stderr] | [INFO] [stderr] 73 | let mut x = header.chunks(3).enumerate().skip_while(|&(i, p)| is_empty(p)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/decode.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let mut header = body.next().expect("empty body"); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | let mut outf = &mut File::create(&Path::new(to_file)).expect("fileerror"); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `size` [INFO] [stderr] --> src/decode.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DecodeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/decode.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive (Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | test.write(&decode_file("out.png")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | image::ImageRgb8(imgbuf).save(outf, image::PNG); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `colourful-converter` (bin "colourful-converter" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 45.93s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/colourful_converter-b5876faf107cf990) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5c5004a3652d14d26ed50394adc65ce79474d920373c08263b1245b17c95078", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5c5004a3652d14d26ed50394adc65ce79474d920373c08263b1245b17c95078", kill_on_drop: false }` [INFO] [stdout] b5c5004a3652d14d26ed50394adc65ce79474d920373c08263b1245b17c95078