[INFO] cloning repository https://github.com/hchockarprasad/hypersheets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hchockarprasad/hypersheets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchockarprasad%2Fhypersheets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchockarprasad%2Fhypersheets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de6067f2c5400be29660bf57b881b8e5d51da883 [INFO] checking hchockarprasad/hypersheets against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhchockarprasad%2Fhypersheets" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hchockarprasad/hypersheets 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/hchockarprasad/hypersheets [INFO] finished tweaking git repo https://github.com/hchockarprasad/hypersheets [INFO] tweaked toml for git repo https://github.com/hchockarprasad/hypersheets written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/hchockarprasad/hypersheets 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 46ef23094bbfaf451d1690d5278112adaca2ee8d36ad389b3b304ddc31a73f0c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "46ef23094bbfaf451d1690d5278112adaca2ee8d36ad389b3b304ddc31a73f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ef23094bbfaf451d1690d5278112adaca2ee8d36ad389b3b304ddc31a73f0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ef23094bbfaf451d1690d5278112adaca2ee8d36ad389b3b304ddc31a73f0c", kill_on_drop: false }` [INFO] [stdout] 46ef23094bbfaf451d1690d5278112adaca2ee8d36ad389b3b304ddc31a73f0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 8db288fff2bcf39b9c5d8c877f219b3f1409ffef1f924c3b3741f39123bf10e2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8db288fff2bcf39b9c5d8c877f219b3f1409ffef1f924c3b3741f39123bf10e2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.68 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.68 [INFO] [stderr] Checking js-sys v0.3.45 [INFO] [stderr] Checking web-sys v0.3.45 [INFO] [stderr] Checking hypersheets v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/canvas.rs (1 fix) [INFO] [stderr] Fixed src/events.rs (1 fix) [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Fixed src/scroll.rs (2 fixes) [INFO] [stderr] Fixed src/rectangle.rs (3 fixes) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/rectangle.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn origin() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus` [INFO] [stdout] --> src/rectangle.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn plus(&self, offset_x: f64, offset_y: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/rectangle.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn distance(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/rectangle.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn eq(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gt` [INFO] [stdout] --> src/rectangle.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn gt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lt` [INFO] [stdout] --> src/rectangle.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn lt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/rectangle.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_x_at` [INFO] [stdout] --> src/rectangle.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn flatten_x_at(&self, x: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_y_at` [INFO] [stdout] --> src/rectangle.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn flatten_y_at(&self, _y: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/rectangle.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn contains(&self, elm: Box) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extent` [INFO] [stdout] --> src/rectangle.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn extent(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_corner` [INFO] [stdout] --> src/rectangle.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_corner(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grow_by` [INFO] [stdout] --> src/rectangle.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn grow_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_by` [INFO] [stdout] --> src/rectangle.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn shrink_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/rectangle.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn union(&self, rect: Rectangle) -> Rectangle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `for_each` [INFO] [stdout] --> src/rectangle.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn for_each(&self, iteratee: F, context: Option) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersects` [INFO] [stdout] --> src/rectangle.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn intersects(&self, rect: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/rectangle.rs:303:3 [INFO] [stdout] | [INFO] [stdout] 303 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/rectangle.rs:304:3 [INFO] [stdout] | [INFO] [stdout] 304 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/rectangle.rs:306:3 [INFO] [stdout] | [INFO] [stdout] 306 | right: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom` [INFO] [stdout] --> src/rectangle.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | bottom: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/rectangle.rs:309:3 [INFO] [stdout] | [INFO] [stdout] 309 | width: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/rectangle.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | height: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/rectangle.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn right(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottom` [INFO] [stdout] --> src/rectangle.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn bottom(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Canvas` [INFO] [stdout] --> src/canvas.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/canvas.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(wrapper: HtmlElement) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_listeners` [INFO] [stdout] --> src/canvas.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn init_listeners(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_column_name` [INFO] [stdout] --> src/cell.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_column_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/cell.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/cell.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/cell.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_width` [INFO] [stdout] --> src/cell.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_width(&mut self, width: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_height` [INFO] [stdout] --> src/cell.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_height(&mut self, height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CellEditor` [INFO] [stdout] --> src/celleditor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CellEditor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/celleditor.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(container_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cols_within` [INFO] [stdout] --> src/column.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_cols_within(&self, col_idx: u8) -> Vec<&Column> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/events.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(_mouse: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mouse_point` [INFO] [stdout] --> src/events.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_mouse_point(&mut self, point: Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cell` [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_cell(&mut self, cell: Cell) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell` [INFO] [stdout] --> src/model.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_cell(&self, col_idx: u8, row_idx: u16) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within` [INFO] [stdout] --> src/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_cells_within(&self, col_idx: u8, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_rows` [INFO] [stdout] --> src/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_cells_within_rows(&self, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_cols` [INFO] [stdout] --> src/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_cells_within_cols(&self, col_idx: u8) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HyperSheetProperties` [INFO] [stdout] --> src/properties.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HyperSheetProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/properties.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rows_within` [INFO] [stdout] --> src/row.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_rows_within(&self, row_idx: u16) -> Vec<&Row> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/scroll.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/scroll.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | Horizontal [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBar` [INFO] [stdout] --> src/scroll.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ScrollBar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBarOption` [INFO] [stdout] --> src/scroll.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ScrollBarOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OrientationHash` [INFO] [stdout] --> src/scroll.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct OrientationHash { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Axis` [INFO] [stdout] --> src/scroll.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `axis` [INFO] [stdout] --> src/scroll.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / const axis: Axis = Axis { [INFO] [stdout] 63 | | top: ScrollBarOrientation::Vertical, [INFO] [stdout] 64 | | bottom: ScrollBarOrientation::Vertical, [INFO] [stdout] 65 | | height: ScrollBarOrientation::Vertical, [INFO] [stdout] ... | [INFO] [stdout] 68 | | width: ScrollBarOrientation::Horizontal, [INFO] [stdout] 69 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERTICAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / const VERTICAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 72 | | coordinate: "clientY", [INFO] [stdout] 73 | | axis: "pageY", [INFO] [stdout] 74 | | size: "height", [INFO] [stdout] ... | [INFO] [stdout] 82 | | delta: "deltaY", [INFO] [stdout] 83 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HORIZONTAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / const HORIZONTAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 86 | | coordinate: "clientX", [INFO] [stdout] 87 | | axis: "pageX", [INFO] [stdout] 88 | | size: "width", [INFO] [stdout] ... | [INFO] [stdout] 96 | | delta: "deltaX", [INFO] [stdout] 97 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scroll.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(options: ScrollBarOption) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_orientation` [INFO] [stdout] --> src/scroll.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn set_orientation(&mut self, orientation: ScrollBarOrientation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_orientation` [INFO] [stdout] --> src/scroll.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_orientation(&self) -> &ScrollBarOrientation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_class_prefix` [INFO] [stdout] --> src/scroll.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn set_class_prefix(&mut self, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_range` [INFO] [stdout] --> src/scroll.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_range(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_range` [INFO] [stdout] --> src/scroll.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_range(&mut self, min: u32, max: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_index` [INFO] [stdout] --> src/scroll.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn set_index(&mut self, idx: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scroll` [INFO] [stdout] --> src/scroll.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn set_scroll(&mut self, idx: u32, scaled: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `short_stop` [INFO] [stdout] --> src/scroll.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn short_stop(&self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_wheel` [INFO] [stdout] --> src/scroll.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn on_wheel(&mut self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Vertical` should have a snake case name [INFO] [stdout] --> src/scroll.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_vertical` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Horizontal` should have a snake case name [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `axis` should have an upper case name [INFO] [stdout] --> src/scroll.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const axis: Axis = Axis { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `AXIS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 78 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/rectangle.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn origin() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus` [INFO] [stdout] --> src/rectangle.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn plus(&self, offset_x: f64, offset_y: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minus` [INFO] [stdout] --> src/rectangle.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn minus(&self, offset_x: f64, offset_y: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min` [INFO] [stdout] --> src/rectangle.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn min(&self, point: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/rectangle.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn max(&self, point: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/rectangle.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn distance(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/rectangle.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn eq(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gt` [INFO] [stdout] --> src/rectangle.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn gt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lt` [INFO] [stdout] --> src/rectangle.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn lt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/rectangle.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_x_at` [INFO] [stdout] --> src/rectangle.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn flatten_x_at(&self, x: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_y_at` [INFO] [stdout] --> src/rectangle.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn flatten_y_at(&self, _y: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/rectangle.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn contains(&self, elm: Box) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extent` [INFO] [stdout] --> src/rectangle.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn extent(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_corner` [INFO] [stdout] --> src/rectangle.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_corner(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grow_by` [INFO] [stdout] --> src/rectangle.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn grow_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_by` [INFO] [stdout] --> src/rectangle.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn shrink_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/rectangle.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn union(&self, rect: Rectangle) -> Rectangle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `for_each` [INFO] [stdout] --> src/rectangle.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn for_each(&self, iteratee: F, context: Option) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/rectangle.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn intersect(&self, target: Rectangle, if_none: F, context: Option) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersects` [INFO] [stdout] --> src/rectangle.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn intersects(&self, rect: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/rectangle.rs:303:3 [INFO] [stdout] | [INFO] [stdout] 303 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/rectangle.rs:304:3 [INFO] [stdout] | [INFO] [stdout] 304 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/rectangle.rs:306:3 [INFO] [stdout] | [INFO] [stdout] 306 | right: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom` [INFO] [stdout] --> src/rectangle.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | bottom: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/rectangle.rs:309:3 [INFO] [stdout] | [INFO] [stdout] 309 | width: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/rectangle.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | height: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/rectangle.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn right(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottom` [INFO] [stdout] --> src/rectangle.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn bottom(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Canvas` [INFO] [stdout] --> src/canvas.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/canvas.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(wrapper: HtmlElement) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_listeners` [INFO] [stdout] --> src/canvas.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn init_listeners(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_column_name` [INFO] [stdout] --> src/cell.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_column_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/cell.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/cell.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/cell.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_width` [INFO] [stdout] --> src/cell.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_width(&mut self, width: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_height` [INFO] [stdout] --> src/cell.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_height(&mut self, height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CellEditor` [INFO] [stdout] --> src/celleditor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CellEditor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/celleditor.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(container_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cols_within` [INFO] [stdout] --> src/column.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_cols_within(&self, col_idx: u8) -> Vec<&Column> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/events.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(_mouse: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mouse_point` [INFO] [stdout] --> src/events.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_mouse_point(&mut self, point: Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cell` [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_cell(&mut self, cell: Cell) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell` [INFO] [stdout] --> src/model.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_cell(&self, col_idx: u8, row_idx: u16) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within` [INFO] [stdout] --> src/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_cells_within(&self, col_idx: u8, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_rows` [INFO] [stdout] --> src/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_cells_within_rows(&self, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_cols` [INFO] [stdout] --> src/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_cells_within_cols(&self, col_idx: u8) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HyperSheetProperties` [INFO] [stdout] --> src/properties.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HyperSheetProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/properties.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rows_within` [INFO] [stdout] --> src/row.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_rows_within(&self, row_idx: u16) -> Vec<&Row> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/scroll.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/scroll.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | Horizontal [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBar` [INFO] [stdout] --> src/scroll.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ScrollBar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBarOption` [INFO] [stdout] --> src/scroll.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ScrollBarOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OrientationHash` [INFO] [stdout] --> src/scroll.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct OrientationHash { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Axis` [INFO] [stdout] --> src/scroll.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `axis` [INFO] [stdout] --> src/scroll.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / const axis: Axis = Axis { [INFO] [stdout] 63 | | top: ScrollBarOrientation::Vertical, [INFO] [stdout] 64 | | bottom: ScrollBarOrientation::Vertical, [INFO] [stdout] 65 | | height: ScrollBarOrientation::Vertical, [INFO] [stdout] ... | [INFO] [stdout] 68 | | width: ScrollBarOrientation::Horizontal, [INFO] [stdout] 69 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERTICAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / const VERTICAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 72 | | coordinate: "clientY", [INFO] [stdout] 73 | | axis: "pageY", [INFO] [stdout] 74 | | size: "height", [INFO] [stdout] ... | [INFO] [stdout] 82 | | delta: "deltaY", [INFO] [stdout] 83 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HORIZONTAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / const HORIZONTAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 86 | | coordinate: "clientX", [INFO] [stdout] 87 | | axis: "pageX", [INFO] [stdout] 88 | | size: "width", [INFO] [stdout] ... | [INFO] [stdout] 96 | | delta: "deltaX", [INFO] [stdout] 97 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scroll.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(options: ScrollBarOption) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_orientation` [INFO] [stdout] --> src/scroll.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn set_orientation(&mut self, orientation: ScrollBarOrientation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_orientation` [INFO] [stdout] --> src/scroll.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_orientation(&self) -> &ScrollBarOrientation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_class_prefix` [INFO] [stdout] --> src/scroll.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn set_class_prefix(&mut self, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_range` [INFO] [stdout] --> src/scroll.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_range(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_range` [INFO] [stdout] --> src/scroll.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_range(&mut self, min: u32, max: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_index` [INFO] [stdout] --> src/scroll.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn set_index(&mut self, idx: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scroll` [INFO] [stdout] --> src/scroll.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn set_scroll(&mut self, idx: u32, scaled: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `short_stop` [INFO] [stdout] --> src/scroll.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn short_stop(&self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_wheel` [INFO] [stdout] --> src/scroll.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn on_wheel(&mut self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Vertical` should have a snake case name [INFO] [stdout] --> src/scroll.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_vertical` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Horizontal` should have a snake case name [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `axis` should have an upper case name [INFO] [stdout] --> src/scroll.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const axis: Axis = Axis { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `AXIS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking hypersheets v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/rectangle.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn origin() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus` [INFO] [stdout] --> src/rectangle.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn plus(&self, offset_x: f64, offset_y: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `minus` [INFO] [stdout] --> src/rectangle.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn minus(&self, offset_x: f64, offset_y: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `min` [INFO] [stdout] --> src/rectangle.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn min(&self, point: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `max` [INFO] [stdout] --> src/rectangle.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn max(&self, point: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/rectangle.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn distance(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/rectangle.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn eq(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gt` [INFO] [stdout] --> src/rectangle.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn gt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lt` [INFO] [stdout] --> src/rectangle.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn lt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/rectangle.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_x_at` [INFO] [stdout] --> src/rectangle.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn flatten_x_at(&self, x: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_y_at` [INFO] [stdout] --> src/rectangle.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn flatten_y_at(&self, _y: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/rectangle.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn contains(&self, elm: Box) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extent` [INFO] [stdout] --> src/rectangle.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn extent(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_corner` [INFO] [stdout] --> src/rectangle.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_corner(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grow_by` [INFO] [stdout] --> src/rectangle.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn grow_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_by` [INFO] [stdout] --> src/rectangle.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn shrink_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/rectangle.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn union(&self, rect: Rectangle) -> Rectangle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `for_each` [INFO] [stdout] --> src/rectangle.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn for_each(&self, iteratee: F, context: Option) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersect` [INFO] [stdout] --> src/rectangle.rs:245:10 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn intersect(&self, target: Rectangle, if_none: F, context: Option) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersects` [INFO] [stdout] --> src/rectangle.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn intersects(&self, rect: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/rectangle.rs:303:3 [INFO] [stdout] | [INFO] [stdout] 303 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/rectangle.rs:304:3 [INFO] [stdout] | [INFO] [stdout] 304 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/rectangle.rs:306:3 [INFO] [stdout] | [INFO] [stdout] 306 | right: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom` [INFO] [stdout] --> src/rectangle.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | bottom: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/rectangle.rs:309:3 [INFO] [stdout] | [INFO] [stdout] 309 | width: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/rectangle.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | height: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/rectangle.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn right(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottom` [INFO] [stdout] --> src/rectangle.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn bottom(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Canvas` [INFO] [stdout] --> src/canvas.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/canvas.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(wrapper: HtmlElement) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_listeners` [INFO] [stdout] --> src/canvas.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn init_listeners(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_column_name` [INFO] [stdout] --> src/cell.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_column_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/cell.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/cell.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/cell.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_width` [INFO] [stdout] --> src/cell.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_width(&mut self, width: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_height` [INFO] [stdout] --> src/cell.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_height(&mut self, height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CellEditor` [INFO] [stdout] --> src/celleditor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CellEditor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/celleditor.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(container_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cols_within` [INFO] [stdout] --> src/column.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_cols_within(&self, col_idx: u8) -> Vec<&Column> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/events.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(_mouse: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mouse_point` [INFO] [stdout] --> src/events.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_mouse_point(&mut self, point: Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cell` [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_cell(&mut self, cell: Cell) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell` [INFO] [stdout] --> src/model.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_cell(&self, col_idx: u8, row_idx: u16) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within` [INFO] [stdout] --> src/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_cells_within(&self, col_idx: u8, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_rows` [INFO] [stdout] --> src/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_cells_within_rows(&self, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_cols` [INFO] [stdout] --> src/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_cells_within_cols(&self, col_idx: u8) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HyperSheetProperties` [INFO] [stdout] --> src/properties.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HyperSheetProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/properties.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rows_within` [INFO] [stdout] --> src/row.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_rows_within(&self, row_idx: u16) -> Vec<&Row> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/scroll.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/scroll.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | Horizontal [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBar` [INFO] [stdout] --> src/scroll.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ScrollBar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBarOption` [INFO] [stdout] --> src/scroll.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ScrollBarOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OrientationHash` [INFO] [stdout] --> src/scroll.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct OrientationHash { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Axis` [INFO] [stdout] --> src/scroll.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `axis` [INFO] [stdout] --> src/scroll.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / const axis: Axis = Axis { [INFO] [stdout] 63 | | top: ScrollBarOrientation::Vertical, [INFO] [stdout] 64 | | bottom: ScrollBarOrientation::Vertical, [INFO] [stdout] 65 | | height: ScrollBarOrientation::Vertical, [INFO] [stdout] ... | [INFO] [stdout] 68 | | width: ScrollBarOrientation::Horizontal, [INFO] [stdout] 69 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERTICAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / const VERTICAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 72 | | coordinate: "clientY", [INFO] [stdout] 73 | | axis: "pageY", [INFO] [stdout] 74 | | size: "height", [INFO] [stdout] ... | [INFO] [stdout] 82 | | delta: "deltaY", [INFO] [stdout] 83 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HORIZONTAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / const HORIZONTAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 86 | | coordinate: "clientX", [INFO] [stdout] 87 | | axis: "pageX", [INFO] [stdout] 88 | | size: "width", [INFO] [stdout] ... | [INFO] [stdout] 96 | | delta: "deltaX", [INFO] [stdout] 97 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scroll.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(options: ScrollBarOption) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_orientation` [INFO] [stdout] --> src/scroll.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn set_orientation(&mut self, orientation: ScrollBarOrientation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_orientation` [INFO] [stdout] --> src/scroll.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_orientation(&self) -> &ScrollBarOrientation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_class_prefix` [INFO] [stdout] --> src/scroll.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn set_class_prefix(&mut self, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_range` [INFO] [stdout] --> src/scroll.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_range(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_range` [INFO] [stdout] --> src/scroll.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_range(&mut self, min: u32, max: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_index` [INFO] [stdout] --> src/scroll.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn set_index(&mut self, idx: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scroll` [INFO] [stdout] --> src/scroll.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn set_scroll(&mut self, idx: u32, scaled: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `short_stop` [INFO] [stdout] --> src/scroll.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn short_stop(&self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_wheel` [INFO] [stdout] --> src/scroll.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn on_wheel(&mut self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Vertical` should have a snake case name [INFO] [stdout] --> src/scroll.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_vertical` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Horizontal` should have a snake case name [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `axis` should have an upper case name [INFO] [stdout] --> src/scroll.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const axis: Axis = Axis { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `AXIS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `origin` [INFO] [stdout] --> src/rectangle.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn origin() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `plus` [INFO] [stdout] --> src/rectangle.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn plus(&self, offset_x: f64, offset_y: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [INFO] [stdout] --> src/rectangle.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn distance(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq` [INFO] [stdout] --> src/rectangle.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn eq(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gt` [INFO] [stdout] --> src/rectangle.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn gt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lt` [INFO] [stdout] --> src/rectangle.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn lt(&self, point: Point) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:167:10 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/rectangle.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_x_at` [INFO] [stdout] --> src/rectangle.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn flatten_x_at(&self, x: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `flatten_y_at` [INFO] [stdout] --> src/rectangle.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn flatten_y_at(&self, _y: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/rectangle.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn contains(&self, elm: Box) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extent` [INFO] [stdout] --> src/rectangle.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn extent(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_corner` [INFO] [stdout] --> src/rectangle.rs:195:10 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn get_corner(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `grow_by` [INFO] [stdout] --> src/rectangle.rs:203:10 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn grow_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shrink_by` [INFO] [stdout] --> src/rectangle.rs:212:10 [INFO] [stdout] | [INFO] [stdout] 212 | pub fn shrink_by(&self, padding: f64) -> Rectangle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `union` [INFO] [stdout] --> src/rectangle.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn union(&self, rect: Rectangle) -> Rectangle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `for_each` [INFO] [stdout] --> src/rectangle.rs:224:10 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn for_each(&self, iteratee: F, context: Option) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `intersects` [INFO] [stdout] --> src/rectangle.rs:264:10 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn intersects(&self, rect: Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:271:10 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/rectangle.rs:303:3 [INFO] [stdout] | [INFO] [stdout] 303 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/rectangle.rs:304:3 [INFO] [stdout] | [INFO] [stdout] 304 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/rectangle.rs:306:3 [INFO] [stdout] | [INFO] [stdout] 306 | right: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bottom` [INFO] [stdout] --> src/rectangle.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 307 | bottom: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/rectangle.rs:309:3 [INFO] [stdout] | [INFO] [stdout] 309 | width: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/rectangle.rs:310:3 [INFO] [stdout] | [INFO] [stdout] 310 | height: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `x` [INFO] [stdout] --> src/rectangle.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn x(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `y` [INFO] [stdout] --> src/rectangle.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn y(&self) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/rectangle.rs:339:10 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn right(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `bottom` [INFO] [stdout] --> src/rectangle.rs:343:10 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn bottom(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `width` [INFO] [stdout] --> src/rectangle.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn width(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `height` [INFO] [stdout] --> src/rectangle.rs:355:10 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn height(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Canvas` [INFO] [stdout] --> src/canvas.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/canvas.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(wrapper: HtmlElement) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `init_listeners` [INFO] [stdout] --> src/canvas.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn init_listeners(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_column_name` [INFO] [stdout] --> src/cell.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_column_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/cell.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/cell.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/cell.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_width` [INFO] [stdout] --> src/cell.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_width(&mut self, width: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_height` [INFO] [stdout] --> src/cell.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn set_height(&mut self, height: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CellEditor` [INFO] [stdout] --> src/celleditor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CellEditor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/celleditor.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(container_name: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cols_within` [INFO] [stdout] --> src/column.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_cols_within(&self, col_idx: u8) -> Vec<&Column> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/events.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(_mouse: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_mouse_point` [INFO] [stdout] --> src/events.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | fn set_mouse_point(&mut self, point: Point) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cell` [INFO] [stdout] --> src/model.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_cell(&mut self, cell: Cell) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell` [INFO] [stdout] --> src/model.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn get_cell(&self, col_idx: u8, row_idx: u16) -> Option<&Cell> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within` [INFO] [stdout] --> src/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_cells_within(&self, col_idx: u8, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_rows` [INFO] [stdout] --> src/model.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_cells_within_rows(&self, row_idx: u16) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_within_cols` [INFO] [stdout] --> src/model.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_cells_within_cols(&self, col_idx: u8) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HyperSheetProperties` [INFO] [stdout] --> src/properties.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct HyperSheetProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/properties.rs:135:10 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_rows_within` [INFO] [stdout] --> src/row.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_rows_within(&self, row_idx: u16) -> Vec<&Row> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/scroll.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/scroll.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | Horizontal [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBar` [INFO] [stdout] --> src/scroll.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ScrollBar { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ScrollBarOption` [INFO] [stdout] --> src/scroll.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ScrollBarOption { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `OrientationHash` [INFO] [stdout] --> src/scroll.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct OrientationHash { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Axis` [INFO] [stdout] --> src/scroll.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | struct Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `axis` [INFO] [stdout] --> src/scroll.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / const axis: Axis = Axis { [INFO] [stdout] 63 | | top: ScrollBarOrientation::Vertical, [INFO] [stdout] 64 | | bottom: ScrollBarOrientation::Vertical, [INFO] [stdout] 65 | | height: ScrollBarOrientation::Vertical, [INFO] [stdout] ... | [INFO] [stdout] 68 | | width: ScrollBarOrientation::Horizontal, [INFO] [stdout] 69 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERTICAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / const VERTICAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 72 | | coordinate: "clientY", [INFO] [stdout] 73 | | axis: "pageY", [INFO] [stdout] 74 | | size: "height", [INFO] [stdout] ... | [INFO] [stdout] 82 | | delta: "deltaY", [INFO] [stdout] 83 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HORIZONTAL_ORIENTATION_HASH` [INFO] [stdout] --> src/scroll.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / const HORIZONTAL_ORIENTATION_HASH: OrientationHash = OrientationHash { [INFO] [stdout] 86 | | coordinate: "clientX", [INFO] [stdout] 87 | | axis: "pageX", [INFO] [stdout] 88 | | size: "width", [INFO] [stdout] ... | [INFO] [stdout] 96 | | delta: "deltaX", [INFO] [stdout] 97 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/scroll.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | fn new(options: ScrollBarOption) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_orientation` [INFO] [stdout] --> src/scroll.rs:145:10 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn set_orientation(&mut self, orientation: ScrollBarOrientation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_orientation` [INFO] [stdout] --> src/scroll.rs:153:10 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn get_orientation(&self) -> &ScrollBarOrientation { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_class_prefix` [INFO] [stdout] --> src/scroll.rs:157:10 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn set_class_prefix(&mut self, prefix: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_range` [INFO] [stdout] --> src/scroll.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn get_range(&self) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_range` [INFO] [stdout] --> src/scroll.rs:172:10 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_range(&mut self, min: u32, max: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_index` [INFO] [stdout] --> src/scroll.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn set_index(&mut self, idx: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_scroll` [INFO] [stdout] --> src/scroll.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn set_scroll(&mut self, idx: u32, scaled: Option) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `short_stop` [INFO] [stdout] --> src/scroll.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn short_stop(&self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_wheel` [INFO] [stdout] --> src/scroll.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn on_wheel(&mut self, event: web_sys::Event) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Vertical` should have a snake case name [INFO] [stdout] --> src/scroll.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | _Vertical => "Vertical".to_string(), [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `_vertical` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `_Horizontal` should have a snake case name [INFO] [stdout] --> src/scroll.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | _Horizontal => "Horizontal".to_string() [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `_horizontal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `axis` should have an upper case name [INFO] [stdout] --> src/scroll.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const axis: Axis = Axis { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `AXIS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 78 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "8db288fff2bcf39b9c5d8c877f219b3f1409ffef1f924c3b3741f39123bf10e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db288fff2bcf39b9c5d8c877f219b3f1409ffef1f924c3b3741f39123bf10e2", kill_on_drop: false }` [INFO] [stdout] 8db288fff2bcf39b9c5d8c877f219b3f1409ffef1f924c3b3741f39123bf10e2