[INFO] cloning repository https://github.com/svenslaggare/imageeditor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/svenslaggare/imageeditor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenslaggare%2Fimageeditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenslaggare%2Fimageeditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e477788f2eda4854f4130256c367e4e6183a9f1 [INFO] checking svenslaggare/imageeditor against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsvenslaggare%2Fimageeditor" "/workspace/builds/worker-71/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-71/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/svenslaggare/imageeditor on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/svenslaggare/imageeditor [INFO] finished tweaking git repo https://github.com/svenslaggare/imageeditor [INFO] tweaked toml for git repo https://github.com/svenslaggare/imageeditor written to /workspace/builds/worker-71/source/Cargo.toml [INFO] crate git repo https://github.com/svenslaggare/imageeditor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/PistonDevelopers/freetype-rs` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glfw-sys v3.3.2 [INFO] [stderr] Downloaded freetype-sys v0.9.0 [INFO] [stderr] Downloaded glfw v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b574c48ede9375816b0e4c7ef653c45748fec716fee0782231a2ce987bdc09e [INFO] running `Command { std: "docker" "start" "-a" "6b574c48ede9375816b0e4c7ef653c45748fec716fee0782231a2ce987bdc09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b574c48ede9375816b0e4c7ef653c45748fec716fee0782231a2ce987bdc09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b574c48ede9375816b0e4c7ef653c45748fec716fee0782231a2ce987bdc09e", kill_on_drop: false }` [INFO] [stdout] 6b574c48ede9375816b0e4c7ef653c45748fec716fee0782231a2ce987bdc09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-71/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e34934e6c249ae16c09785ab991c65510fdbf6ea0d329c6a83b164a9a866bd95 [INFO] running `Command { std: "docker" "start" "-a" "e34934e6c249ae16c09785ab991c65510fdbf6ea0d329c6a83b164a9a866bd95", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling freetype-sys v0.9.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking freetype-rs v0.23.0 (https://github.com/PistonDevelopers/freetype-rs#9378ace6) [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking glfw v0.35.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking jpeg-decoder v0.1.18 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.4 [INFO] [stderr] Checking imageeditor v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/editor/draw_tools/selection.rs (6 fixes) [INFO] [stderr] Fixed src/main.rs (8 fixes) [INFO] [stderr] Fixed src/editor/image.rs (1 fix) [INFO] [stderr] Fixed src/editor/image_operation.rs (3 fixes) [INFO] [stderr] Fixed src/rendering/texture.rs (1 fix) [INFO] [stderr] Fixed src/editor/draw_tools/pencil.rs (3 fixes) [INFO] [stderr] Fixed src/editor/draw_tools/effect.rs (7 fixes) [INFO] [stderr] Fixed src/editor/editor.rs (1 fix) [INFO] [stderr] Fixed src/editor/draw_tools/rectangle.rs (5 fixes) [INFO] [stderr] Fixed src/ui/button.rs (1 fix) [INFO] [stderr] Fixed src/program.rs (1 fix) [INFO] [stderr] Fixed src/editor/draw_tools/line.rs (5 fixes) [INFO] [stderr] Fixed src/rendering/texture_render.rs (1 fix) [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/editor/image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/editor/image.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut end_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut end_y = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/editor/image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/editor/image.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut end_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut end_y = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Color` [INFO] [stdout] --> src/rendering/prelude.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Color = cgmath::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_width` [INFO] [stdout] --> src/rendering/font.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | texture_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_height` [INFO] [stdout] --> src/rendering/font.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | texture_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `characters` [INFO] [stdout] --> src/rendering/font.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | characters: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(filename: &str, size: u32, characters: &Vec) -> FontMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Font` [INFO] [stdout] --> src/rendering/font.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Font { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(filename: &str, size: u32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `texture_id` [INFO] [stdout] --> src/rendering/font.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn texture_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_only` [INFO] [stdout] --> src/rendering/font.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_only(&self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/rendering/font.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&mut self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_height` [INFO] [stdout] --> src/rendering/font.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn line_height(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bool` [INFO] [stdout] --> src/rendering/shader.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn set_bool(&self, name: &CStr, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_int32` [INFO] [stdout] --> src/rendering/shader.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub unsafe fn set_int32(&self, name: &CStr, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_float32` [INFO] [stdout] --> src/rendering/shader.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub unsafe fn set_float32(&self, name: &CStr, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector2` [INFO] [stdout] --> src/rendering/shader.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | pub unsafe fn set_vector2(&self, name: &CStr, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector3` [INFO] [stdout] --> src/rendering/shader.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub unsafe fn set_vector3(&self, name: &CStr, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_index` [INFO] [stdout] --> src/rendering/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn base_index(&self, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `color_buffer_id` [INFO] [stdout] --> src/rendering/framebuffer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn color_buffer_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adaptive_cols` [INFO] [stdout] --> src/ui/layout.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn adaptive_cols(origin: Position, cell_size: (f32, f32), row_height: f32, num_elements: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `raw_pixels` [INFO] [stdout] --> src/editor/image.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn raw_pixels(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_image` [INFO] [stdout] --> src/editor/image.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_image(&self) -> &Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetPixel` [INFO] [stdout] --> src/editor/image_operation.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SetPixel { x: i32, y: i32, color: Color }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Color` [INFO] [stdout] --> src/rendering/prelude.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Color = cgmath::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_width` [INFO] [stdout] --> src/rendering/font.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | texture_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_height` [INFO] [stdout] --> src/rendering/font.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | texture_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `characters` [INFO] [stdout] --> src/rendering/font.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | characters: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(filename: &str, size: u32, characters: &Vec) -> FontMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Font` [INFO] [stdout] --> src/rendering/font.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Font { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(filename: &str, size: u32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `texture_id` [INFO] [stdout] --> src/rendering/font.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn texture_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_only` [INFO] [stdout] --> src/rendering/font.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_only(&self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/rendering/font.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&mut self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_height` [INFO] [stdout] --> src/rendering/font.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn line_height(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bool` [INFO] [stdout] --> src/rendering/shader.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn set_bool(&self, name: &CStr, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_int32` [INFO] [stdout] --> src/rendering/shader.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub unsafe fn set_int32(&self, name: &CStr, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_float32` [INFO] [stdout] --> src/rendering/shader.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub unsafe fn set_float32(&self, name: &CStr, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector2` [INFO] [stdout] --> src/rendering/shader.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | pub unsafe fn set_vector2(&self, name: &CStr, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector3` [INFO] [stdout] --> src/rendering/shader.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub unsafe fn set_vector3(&self, name: &CStr, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_index` [INFO] [stdout] --> src/rendering/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn base_index(&self, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `color_buffer_id` [INFO] [stdout] --> src/rendering/framebuffer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn color_buffer_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adaptive_cols` [INFO] [stdout] --> src/ui/layout.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn adaptive_cols(origin: Position, cell_size: (f32, f32), row_height: f32, num_elements: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `raw_pixels` [INFO] [stdout] --> src/editor/image.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn raw_pixels(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_image` [INFO] [stdout] --> src/editor/image.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_image(&self) -> &Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetPixel` [INFO] [stdout] --> src/editor/image_operation.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SetPixel { x: i32, y: i32, color: Color }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking imageeditor v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/editor/image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/editor/image.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut end_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut end_y = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/editor/image.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/editor/image.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{GenericImageView, GenericImage, Rgba}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut x = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | let mut y = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_x` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut end_x = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `end_y` is never read [INFO] [stdout] --> src/editor/image_operation_helpers.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut end_y = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Color` [INFO] [stdout] --> src/rendering/prelude.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Color = cgmath::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_width` [INFO] [stdout] --> src/rendering/font.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | texture_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_height` [INFO] [stdout] --> src/rendering/font.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | texture_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `characters` [INFO] [stdout] --> src/rendering/font.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | characters: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(filename: &str, size: u32, characters: &Vec) -> FontMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Font` [INFO] [stdout] --> src/rendering/font.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Font { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(filename: &str, size: u32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `texture_id` [INFO] [stdout] --> src/rendering/font.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn texture_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_only` [INFO] [stdout] --> src/rendering/font.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_only(&self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/rendering/font.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&mut self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_height` [INFO] [stdout] --> src/rendering/font.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn line_height(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bool` [INFO] [stdout] --> src/rendering/shader.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn set_bool(&self, name: &CStr, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_int32` [INFO] [stdout] --> src/rendering/shader.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub unsafe fn set_int32(&self, name: &CStr, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_float32` [INFO] [stdout] --> src/rendering/shader.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub unsafe fn set_float32(&self, name: &CStr, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector2` [INFO] [stdout] --> src/rendering/shader.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | pub unsafe fn set_vector2(&self, name: &CStr, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector3` [INFO] [stdout] --> src/rendering/shader.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub unsafe fn set_vector3(&self, name: &CStr, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_index` [INFO] [stdout] --> src/rendering/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn base_index(&self, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `color_buffer_id` [INFO] [stdout] --> src/rendering/framebuffer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn color_buffer_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adaptive_cols` [INFO] [stdout] --> src/ui/layout.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn adaptive_cols(origin: Position, cell_size: (f32, f32), row_height: f32, num_elements: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `raw_pixels` [INFO] [stdout] --> src/editor/image.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn raw_pixels(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_image` [INFO] [stdout] --> src/editor/image.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_image(&self) -> &Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetPixel` [INFO] [stdout] --> src/editor/image_operation.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SetPixel { x: i32, y: i32, color: Color }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Color` [INFO] [stdout] --> src/rendering/prelude.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub type Color = cgmath::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_width` [INFO] [stdout] --> src/rendering/font.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | texture_width: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_height` [INFO] [stdout] --> src/rendering/font.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | texture_height: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `characters` [INFO] [stdout] --> src/rendering/font.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | characters: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn new(filename: &str, size: u32, characters: &Vec) -> FontMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Font` [INFO] [stdout] --> src/rendering/font.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Font { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/rendering/font.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn new(filename: &str, size: u32) -> Font { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `texture_id` [INFO] [stdout] --> src/rendering/font.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn texture_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_only` [INFO] [stdout] --> src/rendering/font.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_only(&self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/rendering/font.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get(&mut self, character: char) -> Option<&FontCharacter> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_height` [INFO] [stdout] --> src/rendering/font.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn line_height(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_bool` [INFO] [stdout] --> src/rendering/shader.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | pub unsafe fn set_bool(&self, name: &CStr, value: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_int32` [INFO] [stdout] --> src/rendering/shader.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | pub unsafe fn set_int32(&self, name: &CStr, value: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_float32` [INFO] [stdout] --> src/rendering/shader.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | pub unsafe fn set_float32(&self, name: &CStr, value: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector2` [INFO] [stdout] --> src/rendering/shader.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | pub unsafe fn set_vector2(&self, name: &CStr, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_vector3` [INFO] [stdout] --> src/rendering/shader.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | pub unsafe fn set_vector3(&self, name: &CStr, x: f32, y: f32, z: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `base_index` [INFO] [stdout] --> src/rendering/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn base_index(&self, x: u32, y: u32) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `color_buffer_id` [INFO] [stdout] --> src/rendering/framebuffer.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn color_buffer_id(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adaptive_cols` [INFO] [stdout] --> src/ui/layout.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn adaptive_cols(origin: Position, cell_size: (f32, f32), row_height: f32, num_elements: usize) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `raw_pixels` [INFO] [stdout] --> src/editor/image.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn raw_pixels(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_image` [INFO] [stdout] --> src/editor/image.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn get_image(&self) -> &Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SetPixel` [INFO] [stdout] --> src/editor/image_operation.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SetPixel { x: i32, y: i32, color: Color }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "e34934e6c249ae16c09785ab991c65510fdbf6ea0d329c6a83b164a9a866bd95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e34934e6c249ae16c09785ab991c65510fdbf6ea0d329c6a83b164a9a866bd95", kill_on_drop: false }` [INFO] [stdout] e34934e6c249ae16c09785ab991c65510fdbf6ea0d329c6a83b164a9a866bd95