[INFO] cloning repository https://github.com/wbv/photomanip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wbv/photomanip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbv%2Fphotomanip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbv%2Fphotomanip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa4af8333e77b5c8ae9fc72b1ba923d7b4ccbfbd [INFO] testing wbv/photomanip 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%2Fwbv%2Fphotomanip" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbv/photomanip 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/wbv/photomanip [INFO] finished tweaking git repo https://github.com/wbv/photomanip [INFO] tweaked toml for git repo https://github.com/wbv/photomanip written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/wbv/photomanip 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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] ee409244f3c3a21f3ba090d2e44f054e4036ca2c106707327ca6e4d0ba53a0ef [INFO] running `Command { std: "docker" "start" "-a" "ee409244f3c3a21f3ba090d2e44f054e4036ca2c106707327ca6e4d0ba53a0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee409244f3c3a21f3ba090d2e44f054e4036ca2c106707327ca6e4d0ba53a0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee409244f3c3a21f3ba090d2e44f054e4036ca2c106707327ca6e4d0ba53a0ef", kill_on_drop: false }` [INFO] [stdout] ee409244f3c3a21f3ba090d2e44f054e4036ca2c106707327ca6e4d0ba53a0ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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] 9d4b72c47760b22c38aa9a0b0fe103bb8704270eb5e7dc72d543f7b43d622de2 [INFO] running `Command { std: "docker" "start" "-a" "9d4b72c47760b22c38aa9a0b0fe103bb8704270eb5e7dc72d543f7b43d622de2", kill_on_drop: false }` [INFO] [stderr] Compiling photomanip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let opts = parse_args(env::args()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/image.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | fn brighten(&self, amount: i32) -> ColorImage { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/image.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | fn brighten(&self, amount: i32) -> ColorImage { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | op: ManipOption, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ProgOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[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: field is never read: `mode` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | mode: OutputMode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[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: field is never read: `infile` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | infile: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[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: field is never read: `outfile` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | outfile: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgOpts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[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: field is never read: `width` [INFO] [stdout] --> src/image.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `height` [INFO] [stdout] --> src/image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `maxval` [INFO] [stdout] --> src/image.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | maxval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `rpixels` [INFO] [stdout] --> src/image.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | rpixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `gpixels` [INFO] [stdout] --> src/image.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | gpixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `bpixels` [INFO] [stdout] --> src/image.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | bpixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `width` [INFO] [stdout] --> src/image.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GrayImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [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: field is never read: `height` [INFO] [stdout] --> src/image.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GrayImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [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: field is never read: `maxval` [INFO] [stdout] --> src/image.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | maxval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GrayImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [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: field is never read: `pixels` [INFO] [stdout] --> src/image.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GrayImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [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: variant is never constructed: `Grayscale` [INFO] [stdout] --> src/image.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Grayscale(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[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: variant is never constructed: `Color` [INFO] [stdout] --> src/image.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Color(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[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: function is never used: `load_from_file` [INFO] [stdout] --> src/image.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn load_from_file(path: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "9d4b72c47760b22c38aa9a0b0fe103bb8704270eb5e7dc72d543f7b43d622de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4b72c47760b22c38aa9a0b0fe103bb8704270eb5e7dc72d543f7b43d622de2", kill_on_drop: false }` [INFO] [stdout] 9d4b72c47760b22c38aa9a0b0fe103bb8704270eb5e7dc72d543f7b43d622de2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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] 42ff546534477621df6f131e1f25b9ea413740b13d802732f83d81c31ad81bfe [INFO] running `Command { std: "docker" "start" "-a" "42ff546534477621df6f131e1f25b9ea413740b13d802732f83d81c31ad81bfe", kill_on_drop: false }` [INFO] [stderr] Compiling photomanip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let opts = parse_args(env::args()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/image.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | fn brighten(&self, amount: i32) -> ColorImage { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/image.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | fn brighten(&self, amount: i32) -> ColorImage { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/image.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | width: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `height` [INFO] [stdout] --> src/image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | height: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `maxval` [INFO] [stdout] --> src/image.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | maxval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `rpixels` [INFO] [stdout] --> src/image.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | rpixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `gpixels` [INFO] [stdout] --> src/image.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | gpixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `bpixels` [INFO] [stdout] --> src/image.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | bpixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Clone)] [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: field is never read: `maxval` [INFO] [stdout] --> src/image.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | maxval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GrayImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/image.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Clone)] [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "42ff546534477621df6f131e1f25b9ea413740b13d802732f83d81c31ad81bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ff546534477621df6f131e1f25b9ea413740b13d802732f83d81c31ad81bfe", kill_on_drop: false }` [INFO] [stdout] 42ff546534477621df6f131e1f25b9ea413740b13d802732f83d81c31ad81bfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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] a4b4690ccf29b4a7932a2412d38c3237cc98a84367e24d8f30d54c1b62a26dfe [INFO] running `Command { std: "docker" "start" "-a" "a4b4690ccf29b4a7932a2412d38c3237cc98a84367e24d8f30d54c1b62a26dfe", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stdout] running 21 tests [INFO] [stderr] --> src/main.rs:76:9 [INFO] [stderr] | [INFO] [stderr] 76 | let opts = parse_args(env::args()); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/image.rs:225:24 [INFO] [stderr] | [INFO] [stderr] 225 | fn brighten(&self, amount: i32) -> ColorImage { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amount` [INFO] [stderr] --> src/image.rs:246:24 [INFO] [stderr] | [INFO] [stderr] 246 | fn brighten(&self, amount: i32) -> ColorImage { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `width` [INFO] [stderr] --> src/image.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | width: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/image.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Clone)] [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: field is never read: `height` [INFO] [stderr] --> src/image.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | height: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/image.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Clone)] [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: field is never read: `maxval` [INFO] [stderr] --> src/image.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | maxval: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/image.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Clone)] [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: field is never read: `rpixels` [INFO] [stderr] --> src/image.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | rpixels: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/image.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Clone)] [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: field is never read: `gpixels` [INFO] [stderr] --> src/image.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | gpixels: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/image.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Clone)] [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: field is never read: `bpixels` [INFO] [stderr] --> src/image.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | bpixels: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColorImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/image.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Clone)] [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: field is never read: `maxval` [INFO] [stderr] --> src/image.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | maxval: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GrayImage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/image.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, Clone)] [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: `photomanip` (bin "photomanip" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/photomanip-5bad8ef1bbf4af3c) [INFO] [stdout] test image::tests::make_image ... ok [INFO] [stdout] test image::tests::open_nonexistent_file ... ok [INFO] [stdout] test image::tests::mutate_image ... ok [INFO] [stdout] test tests::brighten ... ok [INFO] [stdout] test image::tests::open_non_image_file ... ok [INFO] [stdout] test tests::extra_contrast_arg ... ok [INFO] [stdout] test tests::grayscale ... ok [INFO] [stdout] test tests::contrast ... ok [INFO] [stdout] test tests::brighten_noarg ... ok [INFO] [stdout] test image::tests::open_valid_image_files ... ok [INFO] [stdout] test tests::negate ... ok [INFO] [stdout] test tests::outbin ... ok [INFO] [stdout] test tests::sharpen ... ok [INFO] [stdout] test tests::infile ... ok [INFO] [stdout] test tests::outfile ... ok [INFO] [stdout] test tests::two_args ... ok [INFO] [stdout] test tests::outascii ... ok [INFO] [stdout] test tests::smooth ... ok [INFO] [stdout] test tests::one_arg ... ok [INFO] [stdout] test tests::six_args ... ok [INFO] [stdout] test tests::no_args ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a4b4690ccf29b4a7932a2412d38c3237cc98a84367e24d8f30d54c1b62a26dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b4690ccf29b4a7932a2412d38c3237cc98a84367e24d8f30d54c1b62a26dfe", kill_on_drop: false }` [INFO] [stdout] a4b4690ccf29b4a7932a2412d38c3237cc98a84367e24d8f30d54c1b62a26dfe