[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] 7ecc4a703027c5e4a5603c7ac1a753bb400321f3 [INFO] building wbv/photomanip against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwbv%2Fphotomanip" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wbv/photomanip on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dc6dbcca274bd6b7f6619221089963f00afc295ed7e737a689b936a9887ab54 [INFO] running `Command { std: "docker" "start" "-a" "4dc6dbcca274bd6b7f6619221089963f00afc295ed7e737a689b936a9887ab54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dc6dbcca274bd6b7f6619221089963f00afc295ed7e737a689b936a9887ab54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dc6dbcca274bd6b7f6619221089963f00afc295ed7e737a689b936a9887ab54", kill_on_drop: false }` [INFO] [stdout] 4dc6dbcca274bd6b7f6619221089963f00afc295ed7e737a689b936a9887ab54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9024c14ccca3604c7382958698ddc2ededc01cecbeb84b4ecb61cff43fba5977 [INFO] running `Command { std: "docker" "start" "-a" "9024c14ccca3604c7382958698ddc2ededc01cecbeb84b4ecb61cff43fba5977", kill_on_drop: false }` [INFO] [stderr] Compiling photomanip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/image.rs:79:47 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'a> ImageHeader<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 79 | fn read(filedata: &'a [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ColorImage` is more private than the item `ImageManip::brighten` [INFO] [stdout] --> src/image.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | fn brighten(&self, amount: i32) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::brighten` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GrayImage` is more private than the item `ImageManip::contrast` [INFO] [stdout] --> src/image.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | fn contrast(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::contrast` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GrayImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct GrayImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GrayImage` is more private than the item `ImageManip::grayscale` [INFO] [stdout] --> src/image.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 451 | fn grayscale(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::grayscale` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GrayImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct GrayImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ColorImage` is more private than the item `ImageManip::negate` [INFO] [stdout] --> src/image.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | fn negate(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::negate` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ColorImage` is more private than the item `ImageManip::sharpen` [INFO] [stdout] --> src/image.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | fn sharpen(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::sharpen` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ColorImage` is more private than the item `ImageManip::smooth` [INFO] [stdout] --> src/image.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | fn smooth(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::smooth` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/args.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Brighten(usize), [INFO] [stdout] | -------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Brighten(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `mode`, `infile`, and `outfile` are never read [INFO] [stdout] --> src/args.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ProgOpts { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 34 | op: ManipOption, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | mode: OutputMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | infile: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | outfile: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `maxval`, `rpixels`, `gpixels`, and `bpixels` are never read [INFO] [stdout] --> src/image.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 17 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | maxval: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | rpixels: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | gpixels: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | bpixels: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, `maxval`, and `pixels` are never read [INFO] [stdout] --> src/image.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct GrayImage { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | maxval: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pixels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImageType` is never used [INFO] [stdout] --> src/image.rs:34:6 [INFO] [stdout] | [INFO] [stdout] 34 | enum ImageType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorType` is never used [INFO] [stdout] --> src/image.rs:39:6 [INFO] [stdout] | [INFO] [stdout] 39 | enum ColorType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RasterType` is never used [INFO] [stdout] --> src/image.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | enum RasterType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_color` is never read [INFO] [stdout] --> src/image.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | struct ImageHeader<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 50 | is_color: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `read` and `get_kind` are never used [INFO] [stdout] --> src/image.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'a> ImageHeader<'a> { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | fn read(filedata: &'a [u8]) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn get_kind(filedata: &[u8]) -> io::Result<(ColorType, RasterType)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image` is never constructed [INFO] [stdout] --> src/image.rs:239:12 [INFO] [stdout] | [INFO] [stdout] 239 | pub struct Image(ImageType); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/image.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 241 | impl Image { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn load(path: &str) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `brighten`, `contrast`, `grayscale`, `negate`, `sharpen`, and `smooth` are never used [INFO] [stdout] --> src/image.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 448 | pub trait ImageManip { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 449 | fn brighten(&self, amount: i32) -> ColorImage; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 450 | fn contrast(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 451 | fn grayscale(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 452 | fn negate(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 453 | fn sharpen(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 454 | fn smooth(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "9024c14ccca3604c7382958698ddc2ededc01cecbeb84b4ecb61cff43fba5977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9024c14ccca3604c7382958698ddc2ededc01cecbeb84b4ecb61cff43fba5977", kill_on_drop: false }` [INFO] [stdout] 9024c14ccca3604c7382958698ddc2ededc01cecbeb84b4ecb61cff43fba5977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e8cf20b6f3f67909ad5d5d08498328fb62487b2d61b07121e43b6d7ec0466dd [INFO] running `Command { std: "docker" "start" "-a" "0e8cf20b6f3f67909ad5d5d08498328fb62487b2d61b07121e43b6d7ec0466dd", kill_on_drop: false }` [INFO] [stderr] Compiling photomanip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/image.rs:79:47 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'a> ImageHeader<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 79 | fn read(filedata: &'a [u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `image::ColorImage` is more private than the item `ImageManip::brighten` [INFO] [stdout] --> src/image.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | fn brighten(&self, amount: i32) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::brighten` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `image::ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `image::GrayImage` is more private than the item `ImageManip::contrast` [INFO] [stdout] --> src/image.rs:450:5 [INFO] [stdout] | [INFO] [stdout] 450 | fn contrast(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::contrast` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `image::GrayImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct GrayImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `image::GrayImage` is more private than the item `ImageManip::grayscale` [INFO] [stdout] --> src/image.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 451 | fn grayscale(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::grayscale` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `image::GrayImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | struct GrayImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `image::ColorImage` is more private than the item `ImageManip::negate` [INFO] [stdout] --> src/image.rs:452:5 [INFO] [stdout] | [INFO] [stdout] 452 | fn negate(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::negate` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `image::ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `image::ColorImage` is more private than the item `ImageManip::sharpen` [INFO] [stdout] --> src/image.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | fn sharpen(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::sharpen` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `image::ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `image::ColorImage` is more private than the item `ImageManip::smooth` [INFO] [stdout] --> src/image.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | fn smooth(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `ImageManip::smooth` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `image::ColorImage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/image.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct ColorImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `brighten`, `contrast`, `grayscale`, `negate`, `sharpen`, and `smooth` are never used [INFO] [stdout] --> src/image.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 448 | pub trait ImageManip { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 449 | fn brighten(&self, amount: i32) -> ColorImage; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 450 | fn contrast(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 451 | fn grayscale(&self) -> GrayImage; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 452 | fn negate(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 453 | fn sharpen(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 454 | fn smooth(&self) -> ColorImage; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "0e8cf20b6f3f67909ad5d5d08498328fb62487b2d61b07121e43b6d7ec0466dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8cf20b6f3f67909ad5d5d08498328fb62487b2d61b07121e43b6d7ec0466dd", kill_on_drop: false }` [INFO] [stdout] 0e8cf20b6f3f67909ad5d5d08498328fb62487b2d61b07121e43b6d7ec0466dd