[INFO] cloning repository https://github.com/darti/rmk-notebook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darti/rmk-notebook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarti%2Frmk-notebook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarti%2Frmk-notebook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6255e5dc2d1573842200ff707eea330408dd79ca [INFO] checking darti/rmk-notebook against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarti%2Frmk-notebook" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darti/rmk-notebook on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darti/rmk-notebook [INFO] finished tweaking git repo https://github.com/darti/rmk-notebook [INFO] tweaked toml for git repo https://github.com/darti/rmk-notebook written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/darti/rmk-notebook 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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lopdf v0.27.0 [INFO] [stderr] Downloaded pom v3.2.0 [INFO] [stderr] Downloaded printpdf v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4320fbc9978f4db62ab4ac2c0dcfd31ed092024e7f9be0263d00a926cce60b3c [INFO] running `Command { std: "docker" "start" "-a" "4320fbc9978f4db62ab4ac2c0dcfd31ed092024e7f9be0263d00a926cce60b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4320fbc9978f4db62ab4ac2c0dcfd31ed092024e7f9be0263d00a926cce60b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4320fbc9978f4db62ab4ac2c0dcfd31ed092024e7f9be0263d00a926cce60b3c", kill_on_drop: false }` [INFO] [stdout] 4320fbc9978f4db62ab4ac2c0dcfd31ed092024e7f9be0263d00a926cce60b3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 525f4ca9d0b64c093ca923384288b89c5fd3af5dc96e6cebebf782574ea8cef6 [INFO] running `Command { std: "docker" "start" "-a" "525f4ca9d0b64c093ca923384288b89c5fd3af5dc96e6cebebf782574ea8cef6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking pom v3.2.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking owned_ttf_parser v0.12.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking lopdf v0.27.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking printpdf v0.5.2 [INFO] [stderr] Checking serde_with v1.12.0 [INFO] [stderr] Checking rmk-notebook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Object`, `Pt`, and `content::Operation` [INFO] [stdout] --> src/render.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | lopdf::{content::Operation, Object}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | CurTransMat, Line as PdfLine, Mm, PdfDocument, PdfLayerReference, Point as PdfPoint, Pt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Object`, `Pt`, and `content::Operation` [INFO] [stdout] --> src/render.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | lopdf::{content::Operation, Object}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 4 | CurTransMat, Line as PdfLine, Mm, PdfDocument, PdfLayerReference, Point as PdfPoint, Pt, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/notebook.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let metadata = super::read_metadata(&root, id)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_height` [INFO] [stdout] --> src/render.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let screen_height = 1872.; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `screen_height` [INFO] [stdout] --> src/render.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let screen_height = 1872.; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_screen_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `pagedata` are never read [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Notebook { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | metadata: Metadata, [INFO] [stdout] 15 | content: Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pagedata: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_type`, `page_count`, and `orientation` are never read [INFO] [stdout] --> src/notebook.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Content { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 21 | pub file_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub page_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub pages: Vec, [INFO] [stdout] 24 | pub orientation: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_modified`, `parent`, and `typ` are never read [INFO] [stdout] --> src/notebook.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Metadata { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub last_modified: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub parent: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/rm.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LinesData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub version: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `brush_type`, `color`, `unknown_line_attribute`, `unknown_line_attribute_2`, and `brush_base_size` are never read [INFO] [stdout] --> src/rm.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Line { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 109 | pub brush_type: BrushType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 110 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | pub unknown_line_attribute: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub unknown_line_attribute_2: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | pub brush_base_size: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `segment_length`, `length`, and `average_width` are never used [INFO] [stdout] --> src/rm.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 118 | fn segment_length(&self, i: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn average_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> src/rm.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 212 | fn distance(&self, point: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `ZERO` is never used [INFO] [stdout] --> src/rm.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 258 | impl DirectionVec { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] 259 | const ZERO: DirectionVec = DirectionVec { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `black`, `grey`, `white`, `blue`, and `red` are never read [INFO] [stdout] --> src/rm.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct LayerColor { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 383 | pub black: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 384 | pub grey: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 385 | pub white: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 386 | pub blue: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 387 | pub red: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerColor` 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 `content` and `pagedata` are never read [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Notebook { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 14 | metadata: Metadata, [INFO] [stdout] 15 | content: Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | pagedata: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_type`, `page_count`, and `orientation` are never read [INFO] [stdout] --> src/notebook.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Content { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 21 | pub file_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub page_count: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub pages: Vec, [INFO] [stdout] 24 | pub orientation: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_modified`, `parent`, and `typ` are never read [INFO] [stdout] --> src/notebook.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Metadata { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub last_modified: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub parent: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub typ: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/rm.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct LinesData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub version: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinesData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `brush_type`, `color`, `unknown_line_attribute`, `unknown_line_attribute_2`, and `brush_base_size` are never read [INFO] [stdout] --> src/rm.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Line { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 109 | pub brush_type: BrushType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 110 | pub color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | pub unknown_line_attribute: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | pub unknown_line_attribute_2: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | pub brush_base_size: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `segment_length`, `length`, `average_width`, `offsets`, and `with_points` are never used [INFO] [stdout] --> src/rm.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 118 | fn segment_length(&self, i: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | fn average_width(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn offsets(&self, offset_distance: f32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | fn with_points(template: Point, points: &[(f32, f32)]) -> Line { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance` is never used [INFO] [stdout] --> src/rm.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 211 | impl Point { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 212 | fn distance(&self, point: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ZERO`, `length`, `set_length`, and `rotate_orthogonally` are never used [INFO] [stdout] --> src/rm.rs:259:11 [INFO] [stdout] | [INFO] [stdout] 258 | impl DirectionVec { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 259 | const ZERO: DirectionVec = DirectionVec { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^ [INFO] [stdout] 260 | [INFO] [stdout] 261 | fn length(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn set_length(mut self, length: f32) -> DirectionVec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | fn rotate_orthogonally(mut self) -> DirectionVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `black`, `grey`, `white`, `blue`, and `red` are never read [INFO] [stdout] --> src/rm.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 382 | pub struct LayerColor { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 383 | pub black: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 384 | pub grey: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 385 | pub white: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 386 | pub blue: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 387 | pub red: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LayerColor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/bin/convert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path` [INFO] [stdout] --> src/bin/convert.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.18s [INFO] running `Command { std: "docker" "inspect" "525f4ca9d0b64c093ca923384288b89c5fd3af5dc96e6cebebf782574ea8cef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "525f4ca9d0b64c093ca923384288b89c5fd3af5dc96e6cebebf782574ea8cef6", kill_on_drop: false }` [INFO] [stdout] 525f4ca9d0b64c093ca923384288b89c5fd3af5dc96e6cebebf782574ea8cef6