[INFO] fetching crate astrup 0.0.9... [INFO] building astrup-0.0.9 against try#b755f8b9936d084e0363ce6b393c7e444a37080e for pr-97334-1 [INFO] extracting crate astrup 0.0.9 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate astrup 0.0.9 on toolchain b755f8b9936d084e0363ce6b393c7e444a37080e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate astrup 0.0.9 [INFO] finished tweaking crates.io crate astrup 0.0.9 [INFO] tweaked toml for crates.io crate astrup 0.0.9 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 678fd313edcea3923b464b2ab4c500147411518a2e4cc935479fce3b83de6318 [INFO] running `Command { std: "docker" "start" "-a" "678fd313edcea3923b464b2ab4c500147411518a2e4cc935479fce3b83de6318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "678fd313edcea3923b464b2ab4c500147411518a2e4cc935479fce3b83de6318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678fd313edcea3923b464b2ab4c500147411518a2e4cc935479fce3b83de6318", kill_on_drop: false }` [INFO] [stdout] 678fd313edcea3923b464b2ab4c500147411518a2e4cc935479fce3b83de6318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 107e42c7e4e0f617f14bf38107b32e5cbed590cac63bf6cc45f5b907034afefe [INFO] running `Command { std: "docker" "start" "-a" "107e42c7e4e0f617f14bf38107b32e5cbed590cac63bf6cc45f5b907034afefe", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling c_vec v1.2.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.47 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling glib-sys v0.5.0 [INFO] [stderr] Compiling gobject-sys v0.5.0 [INFO] [stderr] Compiling gio-sys v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs v0.5.0 [INFO] [stderr] Compiling pango-sys v0.5.0 [INFO] [stderr] Compiling gdk-sys v0.5.0 [INFO] [stderr] Compiling atk-sys v0.5.0 [INFO] [stderr] Compiling gtk-sys v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling glib v0.4.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling palette v0.2.1 [INFO] [stderr] Compiling pango v0.3.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling astrup v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/view.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] 65 + pub fn add(mut self, mut figure: Figure) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/view.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - Ok((self)) [INFO] [stdout] 69 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/figure.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] 138 + pub fn save(self, filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/figure.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Ok((self)) [INFO] [stdout] 156 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ((old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] | ^ [INFO] [stdout] 240 | (old_max - old_number) / (old_max - old_min) * new_min) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 ~ (old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] 240 ~ (old_max - old_number) / (old_max - old_min) * new_min [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hor_marks` and `ver_marks` are never read [INFO] [stdout] --> src/canvas.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Canvas { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | hor_marks: Vec, // TODO: Use these in stead of axis [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | ver_marks: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Canvas` 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 `font_matrix` is never read [INFO] [stdout] --> src/text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | font_matrix: Matrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Text` 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.65s [INFO] running `Command { std: "docker" "inspect" "107e42c7e4e0f617f14bf38107b32e5cbed590cac63bf6cc45f5b907034afefe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "107e42c7e4e0f617f14bf38107b32e5cbed590cac63bf6cc45f5b907034afefe", kill_on_drop: false }` [INFO] [stdout] 107e42c7e4e0f617f14bf38107b32e5cbed590cac63bf6cc45f5b907034afefe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+b755f8b9936d084e0363ce6b393c7e444a37080e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d52d0a904d87712ebb08c6fcd44693555bd416a123f21630edf38a134ea430d [INFO] running `Command { std: "docker" "start" "-a" "5d52d0a904d87712ebb08c6fcd44693555bd416a123f21630edf38a134ea430d", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/view.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] 65 + pub fn add(mut self, mut figure: Figure) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/view.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - Ok((self)) [INFO] [stdout] 69 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/figure.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] 138 + pub fn save(self, filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/figure.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Ok((self)) [INFO] [stdout] 156 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ((old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] | ^ [INFO] [stdout] 240 | (old_max - old_number) / (old_max - old_min) * new_min) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 ~ (old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] 240 ~ (old_max - old_number) / (old_max - old_min) * new_min [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hor_marks` and `ver_marks` are never read [INFO] [stdout] --> src/canvas.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Canvas { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | hor_marks: Vec, // TODO: Use these in stead of axis [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | ver_marks: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Canvas` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling astrup v0.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `font_matrix` is never read [INFO] [stdout] --> src/text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | font_matrix: Matrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Text` 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/view.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 65 - pub fn add(mut self, mut figure: Figure) -> Result<(Self), Error> { [INFO] [stdout] 65 + pub fn add(mut self, mut figure: Figure) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/view.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 69 - Ok((self)) [INFO] [stdout] 69 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/figure.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - pub fn save(self, filename: &str) -> Result<(Self), Error> { [INFO] [stdout] 138 + pub fn save(self, filename: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/figure.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok((self)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - Ok((self)) [INFO] [stdout] 156 + Ok(self) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/utils.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | ((old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] | ^ [INFO] [stdout] 240 | (old_max - old_number) / (old_max - old_min) * new_min) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 239 ~ (old_number - old_min) / (old_max - old_min) * new_max + [INFO] [stdout] 240 ~ (old_max - old_number) / (old_max - old_min) * new_min [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hor_marks` and `ver_marks` are never read [INFO] [stdout] --> src/canvas.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Canvas { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | hor_marks: Vec, // TODO: Use these in stead of axis [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | ver_marks: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Canvas` 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 `font_matrix` is never read [INFO] [stdout] --> src/text.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | font_matrix: Matrix, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Text` 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 20.12s [INFO] running `Command { std: "docker" "inspect" "5d52d0a904d87712ebb08c6fcd44693555bd416a123f21630edf38a134ea430d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d52d0a904d87712ebb08c6fcd44693555bd416a123f21630edf38a134ea430d", kill_on_drop: false }` [INFO] [stdout] 5d52d0a904d87712ebb08c6fcd44693555bd416a123f21630edf38a134ea430d