[INFO] cloning repository https://github.com/dxe4/rust-ginger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dxe4/rust-ginger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxe4%2Frust-ginger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxe4%2Frust-ginger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e006f2bfca80af63fb18e39562ef3a007e57323 [INFO] checking dxe4/rust-ginger against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxe4%2Frust-ginger" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dxe4/rust-ginger on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dxe4/rust-ginger [INFO] finished tweaking git repo https://github.com/dxe4/rust-ginger [INFO] tweaked toml for git repo https://github.com/dxe4/rust-ginger written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dxe4/rust-ginger 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" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cairo-sys-rs v0.18.0 [INFO] [stderr] Downloaded cairo-rs v0.18.0 [INFO] [stderr] Downloaded toml v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11e2ed71f0d5acdf32e4be08e3eca4c4d2efba0e7e09aa12b0df01668854ee7b [INFO] running `Command { std: "docker" "start" "-a" "11e2ed71f0d5acdf32e4be08e3eca4c4d2efba0e7e09aa12b0df01668854ee7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11e2ed71f0d5acdf32e4be08e3eca4c4d2efba0e7e09aa12b0df01668854ee7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e2ed71f0d5acdf32e4be08e3eca4c4d2efba0e7e09aa12b0df01668854ee7b", kill_on_drop: false }` [INFO] [stdout] 11e2ed71f0d5acdf32e4be08e3eca4c4d2efba0e7e09aa12b0df01668854ee7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b87ecc9847c18f18a2d2efaa45545a18f68ec78b1300cafe15932b221b80a3c [INFO] running `Command { std: "docker" "start" "-a" "5b87ecc9847c18f18a2d2efaa45545a18f68ec78b1300cafe15932b221b80a3c", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling target-lexicon v0.12.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling cfg-expr v0.15.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling toml v0.7.7 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Compiling system-deps v6.1.1 [INFO] [stderr] Compiling glib-macros v0.18.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.0 [INFO] [stderr] Checking glib v0.18.1 [INFO] [stderr] Checking cairo-rs v0.18.0 [INFO] [stderr] Checking rust-ginger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `init_point`, `init_poly_line`, and `xlabel` [INFO] [stdout] --> src/main.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | init_axis, init_error_bar_from_point, init_point, init_point_without_style, init_poly_line, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | ViewPortInput, xlabel, xlabel_from_float, ylabel_from_float, background, init_grid_lines, draw_to_file, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `init_point`, `init_poly_line`, and `xlabel` [INFO] [stdout] --> src/main.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | init_axis, init_error_bar_from_point, init_point, init_point_without_style, init_poly_line, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | ViewPortInput, xlabel, xlabel_from_float, ylabel_from_float, background, init_grid_lines, draw_to_file, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `MutexGuard`, `RefCell`, and `borrow::BorrowMut` [INFO] [stdout] --> src/graphic_object.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::BorrowMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 5 | rc::Rc, [INFO] [stdout] 6 | sync::{Mutex, MutexGuard}, fmt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derivative::Derivative` [INFO] [stdout] --> src/graphic_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use derivative::Derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionArg`, `PropertyGet`, and `subclass::types::FromObject` [INFO] [stdout] --> src/graphic_object.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use cairo::glib::{subclass::types::FromObject, OptionArg, PropertyGet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coord` [INFO] [stdout] --> src/quantity.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::coords::{Coord, Coord1D}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/unit_backends.rs:368:51 [INFO] [stdout] | [INFO] [stdout] 368 | fn get_child<'b>(&'b self, idx: usize) -> &'a ViewPort { [INFO] [stdout] | -- lifetime `'b` declared here ^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `MutexGuard`, `RefCell`, and `borrow::BorrowMut` [INFO] [stdout] --> src/graphic_object.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | borrow::BorrowMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | cell::{Cell, RefCell}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 5 | rc::Rc, [INFO] [stdout] 6 | sync::{Mutex, MutexGuard}, fmt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `derivative::Derivative` [INFO] [stdout] --> src/graphic_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use derivative::Derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OptionArg`, `PropertyGet`, and `subclass::types::FromObject` [INFO] [stdout] --> src/graphic_object.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use cairo::glib::{subclass::types::FromObject, OptionArg, PropertyGet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coord` [INFO] [stdout] --> src/quantity.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::coords::{Coord, Coord1D}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/unit_backends.rs:368:51 [INFO] [stdout] | [INFO] [stdout] 368 | fn get_child<'b>(&'b self, idx: usize) -> &'a ViewPort { [INFO] [stdout] | -- lifetime `'b` declared here ^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/coords.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | CoordType::Data(data) => self.to_relative(None).to_point(length), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/coords.rs:467:29 [INFO] [stdout] | [INFO] [stdout] 467 | CoordType::Data(data) => self.to_relative(None).to_point(length), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/graphic_object.rs:374:31 [INFO] [stdout] | [INFO] [stdout] 374 | GOKind::Composite(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/graphic_object.rs:374:31 [INFO] [stdout] | [INFO] [stdout] 374 | GOKind::Composite(data) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:1915:5 [INFO] [stdout] | [INFO] [stdout] 1915 | mut view: ViewPort, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:1939:5 [INFO] [stdout] | [INFO] [stdout] 1939 | mut view: ViewPort, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:1915:5 [INFO] [stdout] | [INFO] [stdout] 1915 | mut view: ViewPort, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:1939:5 [INFO] [stdout] | [INFO] [stdout] 1939 | mut view: ViewPort, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2192:17 [INFO] [stdout] | [INFO] [stdout] 2192 | let mut input = ViewPortInput { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2246:14 [INFO] [stdout] | [INFO] [stdout] 2246 | fn draw_line(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2192:17 [INFO] [stdout] | [INFO] [stdout] 2192 | let mut input = ViewPortInput { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2246:14 [INFO] [stdout] | [INFO] [stdout] 2246 | fn draw_line(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/unit_backends.rs:2332:9 [INFO] [stdout] | [INFO] [stdout] 2331 | marker => true, [INFO] [stdout] | ------ matches any value [INFO] [stdout] 2332 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/unit_backends.rs:2332:9 [INFO] [stdout] | [INFO] [stdout] 2331 | marker => true, [INFO] [stdout] | ------ matches any value [INFO] [stdout] 2332 | _ => false, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2531:18 [INFO] [stdout] | [INFO] [stdout] 2531 | fn draw_polyline(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2531:18 [INFO] [stdout] | [INFO] [stdout] 2531 | fn draw_polyline(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2596:14 [INFO] [stdout] | [INFO] [stdout] 2596 | fn draw_tick(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2596:14 [INFO] [stdout] | [INFO] [stdout] 2596 | fn draw_tick(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2661:14 [INFO] [stdout] | [INFO] [stdout] 2661 | fn draw_grid(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2661:14 [INFO] [stdout] | [INFO] [stdout] 2661 | fn draw_grid(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2869:25 [INFO] [stdout] | [INFO] [stdout] 2869 | fn draw_graphics_object(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2869:25 [INFO] [stdout] | [INFO] [stdout] 2869 | fn draw_graphics_object(mut img: Image, gobj: GraphicsObject) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2918:30 [INFO] [stdout] | [INFO] [stdout] 2918 | fn draw_viewport(img: Image, mut view: ViewPort) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unit_backends.rs:2918:30 [INFO] [stdout] | [INFO] [stdout] 2918 | fn draw_viewport(img: Image, mut view: ViewPort) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let rect = init_rect_from_coord(view1.clone(), InitRectInput::default(), coords_input.clone()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let rect = init_rect_from_coord(view1.clone(), InitRectInput::default(), coords_input.clone()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allign_kind` is never read [INFO] [stdout] --> src/base_types.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Font { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub allign_kind: TextAlignKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Font` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Svg`, `Pdf`, `Vega`, and `TeX` are never constructed [INFO] [stdout] --> src/base_types.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum FileTypeKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 49 | Svg, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | Png, [INFO] [stdout] 51 | Pdf, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | Vega, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | TeX, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileTypeKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `Dashed`, `Dotted`, `DotDash`, `LongDash`, and `TwoDash` are never constructed [INFO] [stdout] --> src/base_types.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum LineType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 58 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Solid, [INFO] [stdout] 60 | Dashed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | Dotted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | DotDash, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | LongDash, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | TwoDash, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LinesT` is never constructed [INFO] [stdout] --> src/base_types.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ErrorBarKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 68 | Lines, [INFO] [stdout] 69 | LinesT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorBarKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Italic` and `Oblique` are never constructed [INFO] [stdout] --> src/base_types.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum CFontSlant { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 81 | Normal, [INFO] [stdout] 82 | Italic, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | Oblique, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CFontSlant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hue_start`, `chroma`, and `luminance` are never read [INFO] [stdout] --> src/base_types.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct HueConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 87 | hue_start: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | chroma: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | luminance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `black` and `transparent` are never used [INFO] [stdout] --> src/base_types.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Color { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 110 | pub fn black() -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn transparent() -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorHCL` is never constructed [INFO] [stdout] --> src/base_types.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ColorHCL { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `allign_kind` is never read [INFO] [stdout] --> src/base_types.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Font { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub allign_kind: TextAlignKind, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Font` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Svg`, `Pdf`, `Vega`, and `TeX` are never constructed [INFO] [stdout] --> src/base_types.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum FileTypeKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 49 | Svg, [INFO] [stdout] | ^^^ [INFO] [stdout] 50 | Png, [INFO] [stdout] 51 | Pdf, [INFO] [stdout] | ^^^ [INFO] [stdout] 52 | Vega, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | TeX, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileTypeKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `None`, `Dashed`, `Dotted`, `DotDash`, `LongDash`, and `TwoDash` are never constructed [INFO] [stdout] --> src/base_types.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub enum LineType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 58 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 59 | Solid, [INFO] [stdout] 60 | Dashed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | Dotted, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 62 | DotDash, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 63 | LongDash, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | TwoDash, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LinesT` is never constructed [INFO] [stdout] --> src/base_types.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum ErrorBarKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 68 | Lines, [INFO] [stdout] 69 | LinesT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorBarKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Italic` and `Oblique` are never constructed [INFO] [stdout] --> src/base_types.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum CFontSlant { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 81 | Normal, [INFO] [stdout] 82 | Italic, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 83 | Oblique, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CFontSlant` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hue_start`, `chroma`, and `luminance` are never read [INFO] [stdout] --> src/base_types.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | struct HueConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 87 | hue_start: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 88 | chroma: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 89 | luminance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `black` and `transparent` are never used [INFO] [stdout] --> src/base_types.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl Color { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 110 | pub fn black() -> Color { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn transparent() -> Color { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ColorHCL` is never constructed [INFO] [stdout] --> src/base_types.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct ColorHCL { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gg_color_hue` is never used [INFO] [stdout] --> src/base_types.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl ColorHCL { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 125 | fn gg_color_hue(num: i64, hue_config: HueConfig) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Triangle`, `Rectangle`, `EmptyCircle`, and `EmptyRectangle` are never constructed [INFO] [stdout] --> src/base_types.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub enum MarkerKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 148 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | Rhombus, [INFO] [stdout] 150 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | EmptyCircle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | EmptyRectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarkerKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `gg_color_hue` is never used [INFO] [stdout] --> src/base_types.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 124 | impl ColorHCL { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 125 | fn gg_color_hue(num: i64, hue_config: HueConfig) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Triangle`, `Rectangle`, `EmptyCircle`, and `EmptyRectangle` are never constructed [INFO] [stdout] --> src/base_types.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub enum MarkerKind { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 148 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | Rhombus, [INFO] [stdout] 150 | Rectangle, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | EmptyCircle, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 154 | EmptyRectangle, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarkerKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation` is never read [INFO] [stdout] --> src/base_types.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Gradient { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 165 | pub colors: Vec, [INFO] [stdout] 166 | pub rotation: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gradient` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_bar_kind` and `font` are never read [INFO] [stdout] --> src/base_types.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Style { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | pub error_bar_kind: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 178 | pub gradient: Option, // overrides `color` [INFO] [stdout] 179 | pub font: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Style` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rotation` is never read [INFO] [stdout] --> src/base_types.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Gradient { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 165 | pub colors: Vec, [INFO] [stdout] 166 | pub rotation: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Gradient` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BothSides` is never constructed [INFO] [stdout] --> src/base_types.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub enum TickKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 215 | OneSide, [INFO] [stdout] 216 | BothSides, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TickKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_bar_kind` and `font` are never read [INFO] [stdout] --> src/base_types.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct Style { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 177 | pub error_bar_kind: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 178 | pub gradient: Option, // overrides `color` [INFO] [stdout] 179 | pub font: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Style` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BothSides` is never constructed [INFO] [stdout] --> src/base_types.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub enum TickKind { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 215 | OneSide, [INFO] [stdout] 216 | BothSides, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TickKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `to_kind`, `str_text`, and `str_font` are never read [INFO] [stdout] --> src/coords.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ToCord { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | pub to_kind: UnitKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub str_text: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub str_font: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToCord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_kind` is never used [INFO] [stdout] --> src/coords.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl ToCord { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 27 | fn from_kind(to_kind: UnitKind) -> ToCord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `to_kind`, `str_text`, and `str_font` are never read [INFO] [stdout] --> src/coords.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ToCord { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 17 | pub to_kind: UnitKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub str_text: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub str_font: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToCord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_kind` is never used [INFO] [stdout] --> src/coords.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl ToCord { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 27 | fn from_kind(to_kind: UnitKind) -> ToCord { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `update_from_view`, `get_str_height`, and `get_str_width` are never used [INFO] [stdout] --> src/coords.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl Coord1D { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn update_from_view(&mut self, view: ViewPort, axis_kind: AxisKind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn get_str_height(text: String, font: Font) -> Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn get_str_width(text: String, font: Font) -> Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_quantity_mul` is never used [INFO] [stdout] --> src/coords.rs:632:8 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn coord_quantity_mul(coord: &Coord1D, quantity: &Quantity) -> Coord1D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `update_from_view`, `get_str_height`, and `get_str_width` are never used [INFO] [stdout] --> src/coords.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl Coord1D { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn update_from_view(&mut self, view: ViewPort, axis_kind: AxisKind) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn get_str_height(text: String, font: Font) -> Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn get_str_width(text: String, font: Font) -> Quantity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_quantity_div` is never used [INFO] [stdout] --> src/coords.rs:647:8 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn coord_quantity_div(coord: &Coord1D, quantity: &Quantity) -> Coord1D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_quantity_mul` is never used [INFO] [stdout] --> src/coords.rs:632:8 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn coord_quantity_mul(coord: &Coord1D, quantity: &Quantity) -> Coord1D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text_extents` is never read [INFO] [stdout] --> src/g_cairo.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CairoBackend { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub text_extents: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CairoBackend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_quantity_div` is never used [INFO] [stdout] --> src/coords.rs:647:8 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn coord_quantity_div(coord: &Coord1D, quantity: &Quantity) -> Coord1D { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text_extents` is never read [INFO] [stdout] --> src/g_cairo.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CairoBackend { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub text_extents: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CairoBackend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fname` and `ftype` are never read [INFO] [stdout] --> src/g_cairo.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 46 | pub fname: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub ftype: FileTypeKind, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fname` and `ftype` are never read [INFO] [stdout] --> src/g_cairo.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 46 | pub fname: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub ftype: FileTypeKind, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/graphic_object.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct CompositeData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 99 | pub kind: CompositeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompositeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/graphic_object.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct CompositeData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 99 | pub kind: CompositeKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompositeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/graphic_object.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct GraphicsObject<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 305 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicsObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/graphic_object.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct GraphicsObject<'a> { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 305 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GraphicsObject` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divide` and `add` are never used [INFO] [stdout] --> src/quantity.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Quantity { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn divide( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divide` and `add` are never used [INFO] [stdout] --> src/quantity.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Quantity { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn divide( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.55s [INFO] running `Command { std: "docker" "inspect" "5b87ecc9847c18f18a2d2efaa45545a18f68ec78b1300cafe15932b221b80a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b87ecc9847c18f18a2d2efaa45545a18f68ec78b1300cafe15932b221b80a3c", kill_on_drop: false }` [INFO] [stdout] 5b87ecc9847c18f18a2d2efaa45545a18f68ec78b1300cafe15932b221b80a3c