[INFO] cloning repository https://github.com/ischaaf/image-generation-sandbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ischaaf/image-generation-sandbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fischaaf%2Fimage-generation-sandbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fischaaf%2Fimage-generation-sandbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e465df51ba2928b339c144a3c2288476d892302d [INFO] checking ischaaf/image-generation-sandbox against try#d534db0721b23cf977073bf4cd306dbf501e6b4d for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fischaaf%2Fimage-generation-sandbox" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ischaaf/image-generation-sandbox on toolchain d534db0721b23cf977073bf4cd306dbf501e6b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ischaaf/image-generation-sandbox [INFO] finished tweaking git repo https://github.com/ischaaf/image-generation-sandbox [INFO] tweaked toml for git repo https://github.com/ischaaf/image-generation-sandbox written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ischaaf/image-generation-sandbox 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" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c67d1db127290058c300a19b97d7316f44c9fd576e363a61b1a16c7395e42e19 [INFO] running `Command { std: "docker" "start" "-a" "c67d1db127290058c300a19b97d7316f44c9fd576e363a61b1a16c7395e42e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c67d1db127290058c300a19b97d7316f44c9fd576e363a61b1a16c7395e42e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67d1db127290058c300a19b97d7316f44c9fd576e363a61b1a16c7395e42e19", kill_on_drop: false }` [INFO] [stdout] c67d1db127290058c300a19b97d7316f44c9fd576e363a61b1a16c7395e42e19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8406242d8a985e9eda82cc1756477b895f2c258c139ae43c061b533b7b74dd6 [INFO] running `Command { std: "docker" "start" "-a" "d8406242d8a985e9eda82cc1756477b895f2c258c139ae43c061b533b7b74dd6", kill_on_drop: false }` [INFO] [stderr] Checking png_encode_mini v0.1.2 [INFO] [stderr] Checking image-patterns v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::tessellation::CenterFn` [INFO] [stdout] --> src/regions/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | pub use super::tessellation::CenterFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tessellation::MakePolygonFn` [INFO] [stdout] --> src/regions/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | pub use super::tessellation::MakePolygonFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blended_tessellation::BlendedTessellationTF` [INFO] [stdout] --> src/transformers/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use blended_tessellation::BlendedTessellationTF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tessellation::CenterFn` [INFO] [stdout] --> src/regions/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | pub use super::tessellation::CenterFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tessellation::MakePolygonFn` [INFO] [stdout] --> src/regions/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | pub use super::tessellation::MakePolygonFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `blended_tessellation::BlendedTessellationTF` [INFO] [stdout] --> src/transformers/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use blended_tessellation::BlendedTessellationTF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/curves.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | Box::new(move |point: &Point, bounds: &Point| val) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/curves.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | Box::new(move |point: &Point, bounds: &Point| val) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/curves.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | Box::new(move |point: &Point, bounds: &Point| val) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounds` [INFO] [stdout] --> src/curves.rs:11:35 [INFO] [stdout] | [INFO] [stdout] 11 | Box::new(move |point: &Point, bounds: &Point| val) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_bound_color` [INFO] [stdout] --> src/transformers/colored_tessellation.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let full_bound_color = Pixel::hsl(120.0, 1.0, 0.5); // green [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_bound_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `standard_bound_color` [INFO] [stdout] --> src/transformers/colored_tessellation.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let standard_bound_color = Pixel::hsl(240.0, 1.0, 0.5); // blue [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standard_bound_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/transformers/solid_color.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_mutations(&self, image: &Image, mutations: &mut Vec<(Point, Pixel)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_ratio` is never used [INFO] [stdout] --> src/curves.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn apply_ratio(x: f32, d_max: f32, r_start: f32, r_end: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant` is never used [INFO] [stdout] --> src/curves.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn constant(val: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_x` is never used [INFO] [stdout] --> src/curves.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn linear_x(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_y` is never used [INFO] [stdout] --> src/curves.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn linear_y(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagonal` is never used [INFO] [stdout] --> src/curves.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn diagonal(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radiate` is never used [INFO] [stdout] --> src/curves.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn radiate(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radiate_linear` is never used [INFO] [stdout] --> src/curves.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn radiate_linear(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/images.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Pixel { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn hue(h: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn complements(self) -> [Self; 2] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn analogous(self) -> [Self; 3] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn triadic(self) -> [Self; 3] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn tetradic(self) -> [Self; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn saturate(&self, s: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn luminate(&self, l: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn blend_multiple_no_alpha(pixels: &[&Pixel]) -> Pixel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_3` is never used [INFO] [stdout] --> src/polygons/hexagon.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ROOT_3: f64 = 1.732; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hexagon` is never constructed [INFO] [stdout] --> src/polygons/hexagon.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hexagon {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bounds`, `tessellate`, `tessellation_center_fn`, `regular_bounds`, and `regular_step` are never used [INFO] [stdout] --> src/polygons/hexagon.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Hexagon { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 8 | pub fn from_bounds(bounds: &Rectangle) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn tessellate(center: &Point, side_len: i32, bounds: &Rectangle) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn tessellation_center_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn regular_bounds(side_len: i32) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn regular_step(side_len: i32) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectanglePoly` is never constructed [INFO] [stdout] --> src/polygons/rectangle.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RectanglePoly {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `from_bbox`, `tessellate`, and `regular_bounds` are never used [INFO] [stdout] --> src/polygons/rectangle.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RectanglePoly { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 6 | pub fn new(bot_left: Point, size: Point) -> Polygon { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn from_bbox(bbox: &Rectangle) -> Polygon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn tessellate( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn regular_bounds(side_len: i32) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_3` is never used [INFO] [stdout] --> src/regions/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ROOT_3: f64 = 1.732; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_linear` is never used [INFO] [stdout] --> src/regions/point.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_linear(value: i32, max_x: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `truncate`, `distance`, and `distance_square` are never used [INFO] [stdout] --> src/regions/point.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl PointFloat { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn truncate(&self) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn distance(&self, other: &PointFloat) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn distance_square(&self, other: &PointFloat) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `center` and `center_on` are never used [INFO] [stdout] --> src/regions/rectangle.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn center(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn center_on(mut self, new_center: &Point) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MakePolygonFn` is never used [INFO] [stdout] --> src/regions/tessellation.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type MakePolygonFn = fn(bounds: &Rectangle) -> Polygon; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CenterFn` is never used [INFO] [stdout] --> src/regions/tessellation.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type CenterFn = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_standard` is never used [INFO] [stdout] --> src/regions/triangle.rs:425:12 [INFO] [stdout] | [INFO] [stdout] 424 | impl Triangle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 425 | pub fn new_standard(p1: Point, p2: Point, p3: Point, orientation: Orientation) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_gradient` is never used [INFO] [stdout] --> src/test_shapes.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn test_gradient() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_primitives` is never used [INFO] [stdout] --> src/test_shapes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_primitives() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tessellation` is never used [INFO] [stdout] --> src/test_shapes.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn test_tessellation() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/blended_tessellation.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlendedTessellationTF { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(tessellation: tess::PolygonTessellation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/colored_tessellation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ColoredTessellationTF { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(tessellation: tess::PolygonTessellation, colors: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/gradient.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ColorWaveTF { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(hue_fn: CurveFn, sat_fn: CurveFn, lum_fn: CurveFn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/solid_color.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SolidColorPolygon { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(polygon: Polygon, color: Pixel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_any` are never used [INFO] [stdout] --> src/transformers/solid_triangle.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SolidTriangle { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 12 | pub fn new(p1: Point, p2: Point, p3: Point, orientation: Orientation, color: Pixel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_any(p1: Point, p2: Point, p3: Point, color: Pixel) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/solid_triangle.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl SolidRectangle { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(origin: Point, size: Point, color: Pixel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `Pixel` instead of cloning the inner type [INFO] [stdout] --> src/transformers/blended_tessellation.rs:38:68 [INFO] [stdout] | [INFO] [stdout] 38 | blended_pixel = blended_pixel.blend(&pixel_to_blind.clone().set_alpha(alpha)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `full_bound_color` [INFO] [stdout] --> src/transformers/colored_tessellation.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let full_bound_color = Pixel::hsl(120.0, 1.0, 0.5); // green [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_full_bound_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `standard_bound_color` [INFO] [stdout] --> src/transformers/colored_tessellation.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let standard_bound_color = Pixel::hsl(240.0, 1.0, 0.5); // blue [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standard_bound_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/transformers/solid_color.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | fn get_mutations(&self, image: &Image, mutations: &mut Vec<(Point, Pixel)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_ratio` is never used [INFO] [stdout] --> src/curves.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn apply_ratio(x: f32, d_max: f32, r_start: f32, r_end: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constant` is never used [INFO] [stdout] --> src/curves.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn constant(val: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_x` is never used [INFO] [stdout] --> src/curves.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn linear_x(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear_y` is never used [INFO] [stdout] --> src/curves.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn linear_y(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diagonal` is never used [INFO] [stdout] --> src/curves.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn diagonal(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radiate` is never used [INFO] [stdout] --> src/curves.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn radiate(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radiate_linear` is never used [INFO] [stdout] --> src/curves.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn radiate_linear(min: f32, max: f32) -> CurveFn { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/images.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Pixel { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn hue(h: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn complements(self) -> [Self; 2] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn analogous(self) -> [Self; 3] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn triadic(self) -> [Self; 3] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn tetradic(self) -> [Self; 4] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn saturate(&self, s: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn luminate(&self, l: f32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn blend_multiple_no_alpha(pixels: &[&Pixel]) -> Pixel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_3` is never used [INFO] [stdout] --> src/polygons/hexagon.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ROOT_3: f64 = 1.732; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hexagon` is never constructed [INFO] [stdout] --> src/polygons/hexagon.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Hexagon {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_bounds`, `tessellate`, `tessellation_center_fn`, `regular_bounds`, and `regular_step` are never used [INFO] [stdout] --> src/polygons/hexagon.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Hexagon { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 8 | pub fn from_bounds(bounds: &Rectangle) -> Polygon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn tessellate(center: &Point, side_len: i32, bounds: &Rectangle) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn tessellation_center_fn( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn regular_bounds(side_len: i32) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn regular_step(side_len: i32) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectanglePoly` is never constructed [INFO] [stdout] --> src/polygons/rectangle.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct RectanglePoly {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `from_bbox`, `tessellate`, and `regular_bounds` are never used [INFO] [stdout] --> src/polygons/rectangle.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl RectanglePoly { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 6 | pub fn new(bot_left: Point, size: Point) -> Polygon { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn from_bbox(bbox: &Rectangle) -> Polygon { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn tessellate( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn regular_bounds(side_len: i32) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ROOT_3` is never used [INFO] [stdout] --> src/regions/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ROOT_3: f64 = 1.732; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_linear` is never used [INFO] [stdout] --> src/regions/point.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_linear(value: i32, max_x: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `truncate`, `distance`, and `distance_square` are never used [INFO] [stdout] --> src/regions/point.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl PointFloat { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn truncate(&self) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn distance(&self, other: &PointFloat) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn distance_square(&self, other: &PointFloat) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `center` and `center_on` are never used [INFO] [stdout] --> src/regions/rectangle.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rectangle { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn center(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn center_on(mut self, new_center: &Point) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `MakePolygonFn` is never used [INFO] [stdout] --> src/regions/tessellation.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type MakePolygonFn = fn(bounds: &Rectangle) -> Polygon; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CenterFn` is never used [INFO] [stdout] --> src/regions/tessellation.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type CenterFn = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_standard` is never used [INFO] [stdout] --> src/regions/triangle.rs:425:12 [INFO] [stdout] | [INFO] [stdout] 424 | impl Triangle { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 425 | pub fn new_standard(p1: Point, p2: Point, p3: Point, orientation: Orientation) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_gradient` is never used [INFO] [stdout] --> src/test_shapes.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn test_gradient() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_primitives` is never used [INFO] [stdout] --> src/test_shapes.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn test_primitives() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_tessellation` is never used [INFO] [stdout] --> src/test_shapes.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn test_tessellation() -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/blended_tessellation.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BlendedTessellationTF { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(tessellation: tess::PolygonTessellation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/colored_tessellation.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ColoredTessellationTF { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(tessellation: tess::PolygonTessellation, colors: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/gradient.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ColorWaveTF { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(hue_fn: CurveFn, sat_fn: CurveFn, lum_fn: CurveFn) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/solid_color.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SolidColorPolygon { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(polygon: Polygon, color: Pixel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_any` are never used [INFO] [stdout] --> src/transformers/solid_triangle.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SolidTriangle { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 12 | pub fn new(p1: Point, p2: Point, p3: Point, orientation: Orientation, color: Pixel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new_any(p1: Point, p2: Point, p3: Point, color: Pixel) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/solid_triangle.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl SolidRectangle { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(origin: Point, size: Point, color: Pixel) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `Pixel` instead of cloning the inner type [INFO] [stdout] --> src/transformers/blended_tessellation.rs:38:68 [INFO] [stdout] | [INFO] [stdout] 38 | blended_pixel = blended_pixel.blend(&pixel_to_blind.clone().set_alpha(alpha)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "d8406242d8a985e9eda82cc1756477b895f2c258c139ae43c061b533b7b74dd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8406242d8a985e9eda82cc1756477b895f2c258c139ae43c061b533b7b74dd6", kill_on_drop: false }` [INFO] [stdout] d8406242d8a985e9eda82cc1756477b895f2c258c139ae43c061b533b7b74dd6