[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] e91b9a893ad19cf993c3b240a4739495df1f68e8 [INFO] testing wbv/photomanip against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbv%2Fphotomanip" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbv/photomanip on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-5/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53af04709c94467e173d62eaeee48b1a3bb9b6e73e6f2b3ddbf5b9d5e8d4c9cf [INFO] running `Command { std: "docker" "start" "-a" "53af04709c94467e173d62eaeee48b1a3bb9b6e73e6f2b3ddbf5b9d5e8d4c9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53af04709c94467e173d62eaeee48b1a3bb9b6e73e6f2b3ddbf5b9d5e8d4c9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53af04709c94467e173d62eaeee48b1a3bb9b6e73e6f2b3ddbf5b9d5e8d4c9cf", kill_on_drop: false }` [INFO] [stdout] 53af04709c94467e173d62eaeee48b1a3bb9b6e73e6f2b3ddbf5b9d5e8d4c9cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a94f0eddb5f227600a9901236d4267edc8578784802d5d833b90bae2dc4f22c4 [INFO] running `Command { std: "docker" "start" "-a" "a94f0eddb5f227600a9901236d4267edc8578784802d5d833b90bae2dc4f22c4", kill_on_drop: false }` [INFO] [stderr] Compiling photomanip v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "a94f0eddb5f227600a9901236d4267edc8578784802d5d833b90bae2dc4f22c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a94f0eddb5f227600a9901236d4267edc8578784802d5d833b90bae2dc4f22c4", kill_on_drop: false }` [INFO] [stdout] a94f0eddb5f227600a9901236d4267edc8578784802d5d833b90bae2dc4f22c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87bce06d01501c9f71a03512d98309e1473fd9b7e280a1e3fc0963d84467d432 [INFO] running `Command { std: "docker" "start" "-a" "87bce06d01501c9f71a03512d98309e1473fd9b7e280a1e3fc0963d84467d432", kill_on_drop: false }` [INFO] [stderr] Compiling photomanip v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "87bce06d01501c9f71a03512d98309e1473fd9b7e280a1e3fc0963d84467d432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87bce06d01501c9f71a03512d98309e1473fd9b7e280a1e3fc0963d84467d432", kill_on_drop: false }` [INFO] [stdout] 87bce06d01501c9f71a03512d98309e1473fd9b7e280a1e3fc0963d84467d432 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27da6caa609f8ecf16f6dd842f4217ba26f577747271f151d30d5c5e9d870e1d [INFO] running `Command { std: "docker" "start" "-a" "27da6caa609f8ecf16f6dd842f4217ba26f577747271f151d30d5c5e9d870e1d", kill_on_drop: false }` [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] = note: `#[warn(unused_variables)]` on by default [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 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/photomanip-0227d8675ff98a3d) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test image::tests::make_image ... ok [INFO] [stdout] test image::tests::mutate_image ... ok [INFO] [stdout] test image::tests::open_non_image_file ... ok [INFO] [stdout] test image::tests::open_nonexistent_file ... ok [INFO] [stdout] test tests::brighten ... ok [INFO] [stdout] test tests::brighten_noarg ... ok [INFO] [stdout] test tests::contrast ... ok [INFO] [stdout] test tests::grayscale ... ok [INFO] [stdout] test tests::extra_contrast_arg ... ok [INFO] [stdout] test tests::infile ... ok [INFO] [stdout] test tests::negate ... ok [INFO] [stdout] test tests::no_args ... ok [INFO] [stdout] test tests::one_arg ... ok [INFO] [stdout] test tests::outascii ... ok [INFO] [stdout] test tests::outbin ... ok [INFO] [stdout] test tests::sharpen ... ok [INFO] [stdout] test tests::outfile ... ok [INFO] [stdout] test tests::six_args ... ok [INFO] [stdout] test tests::two_args ... ok [INFO] [stdout] test image::tests::open_valid_image_files ... ok [INFO] [stdout] test tests::smooth ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27da6caa609f8ecf16f6dd842f4217ba26f577747271f151d30d5c5e9d870e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27da6caa609f8ecf16f6dd842f4217ba26f577747271f151d30d5c5e9d870e1d", kill_on_drop: false }` [INFO] [stdout] 27da6caa609f8ecf16f6dd842f4217ba26f577747271f151d30d5c5e9d870e1d