[INFO] cloning repository https://github.com/vaheqelyan/gl-event-reducer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vaheqelyan/gl-event-reducer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaheqelyan%2Fgl-event-reducer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaheqelyan%2Fgl-event-reducer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 849ac525a0c9fcfc3508cb462d6350c61ff627f8 [INFO] checking vaheqelyan/gl-event-reducer against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaheqelyan%2Fgl-event-reducer" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vaheqelyan/gl-event-reducer on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vaheqelyan/gl-event-reducer [INFO] finished tweaking git repo https://github.com/vaheqelyan/gl-event-reducer [INFO] tweaked toml for git repo https://github.com/vaheqelyan/gl-event-reducer written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/vaheqelyan/gl-event-reducer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b383616f720fdae936880f655995b65360f278fbbf243b77294ab78d4e26b87a [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" "b383616f720fdae936880f655995b65360f278fbbf243b77294ab78d4e26b87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b383616f720fdae936880f655995b65360f278fbbf243b77294ab78d4e26b87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b383616f720fdae936880f655995b65360f278fbbf243b77294ab78d4e26b87a", kill_on_drop: false }` [INFO] [stdout] b383616f720fdae936880f655995b65360f278fbbf243b77294ab78d4e26b87a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4497314d9cd8f49b76d40758796c34991e8b056b0b6329e433ceacc57b5ccec4 [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" "4497314d9cd8f49b76d40758796c34991e8b056b0b6329e433ceacc57b5ccec4", kill_on_drop: false }` [INFO] [stderr] Checking weezl v0.1.2 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Compiling num-rational v0.3.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-complex v0.2.4 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking fast-math v0.1.1 [INFO] [stderr] Checking cgmath v0.17.0 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling glfw-sys v3.3.2 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking simba v0.2.4 [INFO] [stderr] Checking image v0.23.11 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Checking glfw v0.34.0 [INFO] [stderr] Checking nalgebra v0.22.1 [INFO] [stderr] Checking nalgebra-glm v0.3.0 [INFO] [stderr] Checking gl-event-reducer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action`, `Context`, `Key` [INFO] [stdout] --> src/app.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dom::Bound` [INFO] [stdout] --> src/ddom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::dom::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/ddom.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | data_element.cursor_pos = clamp((size), 0.0, container - 1.0); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/ddom.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | data_element.cursor_pos = clamp((size - r), 0.0, container - 1.0); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cell::RefCell` [INFO] [stdout] --> src/dom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/dom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/gl_core.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp_max` [INFO] [stdout] --> src/utils.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::{clamp_max, clamp_min}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bound` [INFO] [stdout] --> src/utils.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::dom::{Bound, Dom, Element}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | size += (measure.advance * 0.07); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | let mut x2 = (tx - (measure.originX * s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | let mut y2 = (ty - (measure.originY * s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Matrix` [INFO] [stdout] --> src/window.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/window.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> src/window.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::types::*` [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gl::types::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/window.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/window.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/window.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/window.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/window.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/app.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action`, `Context`, `Key` [INFO] [stdout] --> src/app.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dom::Bound` [INFO] [stdout] --> src/ddom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::dom::Bound; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/ddom.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | data_element.cursor_pos = clamp((size), 0.0, container - 1.0); [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/ddom.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | data_element.cursor_pos = clamp((size - r), 0.0, container - 1.0); [INFO] [stdout] | ^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cell::RefCell` [INFO] [stdout] --> src/dom.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/dom.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/gl_core.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clamp_max` [INFO] [stdout] --> src/utils.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::{clamp_max, clamp_min}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bound` [INFO] [stdout] --> src/utils.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::dom::{Bound, Dom, Element}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/utils.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | size += (measure.advance * 0.07); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:220:30 [INFO] [stdout] | [INFO] [stdout] 220 | let mut x2 = (tx - (measure.originX * s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/utils.rs:221:30 [INFO] [stdout] | [INFO] [stdout] 221 | let mut y2 = (ty - (measure.originY * s)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Matrix` [INFO] [stdout] --> src/window.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/window.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use glfw::{Action, Context, Key}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `channel` [INFO] [stdout] --> src/window.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::{channel, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gl::types::*` [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gl::types::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/window.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/window.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/window.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/window.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/window.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/window.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/app.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let one = self.dom.borrow_mut().create(Bound { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/app.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let one = self.dom.borrow_mut().create(Bound { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/ddom.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn input(&mut self, value: char, offset: usize, id: &usize, container: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ddom.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let r = ((measure.advance - measure.width) * 0.07).abs().round(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ddom.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let c = data_element.value.remove(data_element.cursor - 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/gl_core.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let p: *const i32 = ptr::null(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gl_core.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | for i in 0..32_000 / 32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/gl_core.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let map = resource.get(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/gl_core.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | for (key, value) in resource.get().iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/resource.rs:1101:18 [INFO] [stdout] | [INFO] [stdout] 1101 | for (key, file) in &mut self.map { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/utils.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn count_chars(input: &String, cursor: usize, font: &Font, container: f32) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bah` [INFO] [stdout] --> src/window.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let bah = &self.app; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bah` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/window.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | glfw::WindowEvent::Key(key, scancode, keymod, mods) => match key { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/window.rs:133:63 [INFO] [stdout] | [INFO] [stdout] 133 | glfw::WindowEvent::Key(key, scancode, keymod, mods) => match key { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btn` [INFO] [stdout] --> src/window.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | glfw::WindowEvent::MouseButton(btn, action, ..) => match action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_btn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/window.rs:168:43 [INFO] [stdout] | [INFO] [stdout] 168 | glfw::WindowEvent::Scroll(x, y) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/window.rs:168:46 [INFO] [stdout] | [INFO] [stdout] 168 | glfw::WindowEvent::Scroll(x, y) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/window.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | window: &mut glfw::Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/app.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | _ => (), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/app.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let one = self.dom.borrow_mut().create(Bound { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `one` [INFO] [stdout] --> src/app.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let one = self.dom.borrow_mut().create(Bound { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_one` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/ddom.rs:50:42 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn input(&mut self, value: char, offset: usize, id: &usize, container: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/ddom.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | let r = ((measure.advance - measure.width) * 0.07).abs().round(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/ddom.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let c = data_element.value.remove(data_element.cursor - 1); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/gl_core.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let p: *const i32 = ptr::null(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/gl_core.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | for i in 0..32_000 / 32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/gl_core.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | let map = resource.get(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/gl_core.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | for (key, value) in resource.get().iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/resource.rs:1101:18 [INFO] [stdout] | [INFO] [stdout] 1101 | for (key, file) in &mut self.map { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/utils.rs:172:36 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn count_chars(input: &String, cursor: usize, font: &Font, container: f32) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bah` [INFO] [stdout] --> src/window.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let bah = &self.app; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bah` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/window.rs:133:45 [INFO] [stdout] | [INFO] [stdout] 133 | glfw::WindowEvent::Key(key, scancode, keymod, mods) => match key { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/window.rs:133:63 [INFO] [stdout] | [INFO] [stdout] 133 | glfw::WindowEvent::Key(key, scancode, keymod, mods) => match key { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `btn` [INFO] [stdout] --> src/window.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | glfw::WindowEvent::MouseButton(btn, action, ..) => match action { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_btn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/window.rs:168:43 [INFO] [stdout] | [INFO] [stdout] 168 | glfw::WindowEvent::Scroll(x, y) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/window.rs:168:46 [INFO] [stdout] | [INFO] [stdout] 168 | glfw::WindowEvent::Scroll(x, y) => {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/window.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | window: &mut glfw::Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut ty = bound.y + 192.0 * s; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let mut x2 = (tx - (measure.originX * s)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let mut y2 = (ty - (measure.originY * s)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | let mut ty = bound.y + 192.0 * s; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | let mut x2 = (tx - (measure.originX * s)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils.rs:221:21 [INFO] [stdout] | [INFO] [stdout] 221 | let mut y2 = (ty - (measure.originY * s)); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_WIDTH` [INFO] [stdout] --> src/gl_core.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const SCR_WIDTH: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_HEIGHT` [INFO] [stdout] --> src/gl_core.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const SCR_HEIGHT: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X` [INFO] [stdout] --> src/gl_core.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const X: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y` [INFO] [stdout] --> src/gl_core.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const Y: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/gl_core.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const WIDTH: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/gl_core.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const HEIGHT: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RGB_FACTOR` [INFO] [stdout] --> src/window.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const RGB_FACTOR: f32 = 1.0 / 255.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_WIDTH` [INFO] [stdout] --> src/window.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const SCR_WIDTH: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_HEIGHT` [INFO] [stdout] --> src/window.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const SCR_HEIGHT: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X` [INFO] [stdout] --> src/window.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const X: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y` [INFO] [stdout] --> src/window.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const Y: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/window.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const WIDTH: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/window.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const HEIGHT: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `originX` should have a snake case name [INFO] [stdout] --> src/font.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub originX: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `origin_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `originY` should have a snake case name [INFO] [stdout] --> src/font.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub originY: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `origin_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_WIDTH` [INFO] [stdout] --> src/gl_core.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const SCR_WIDTH: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_HEIGHT` [INFO] [stdout] --> src/gl_core.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const SCR_HEIGHT: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X` [INFO] [stdout] --> src/gl_core.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const X: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y` [INFO] [stdout] --> src/gl_core.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const Y: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/gl_core.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const WIDTH: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/gl_core.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const HEIGHT: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RGB_FACTOR` [INFO] [stdout] --> src/window.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | const RGB_FACTOR: f32 = 1.0 / 255.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_WIDTH` [INFO] [stdout] --> src/window.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const SCR_WIDTH: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_HEIGHT` [INFO] [stdout] --> src/window.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const SCR_HEIGHT: u32 = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `X` [INFO] [stdout] --> src/window.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | const X: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `Y` [INFO] [stdout] --> src/window.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | const Y: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WIDTH` [INFO] [stdout] --> src/window.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const WIDTH: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `HEIGHT` [INFO] [stdout] --> src/window.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | const HEIGHT: f32 = 300.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `originX` should have a snake case name [INFO] [stdout] --> src/font.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub originX: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `origin_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `originY` should have a snake case name [INFO] [stdout] --> src/font.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub originY: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `origin_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "4497314d9cd8f49b76d40758796c34991e8b056b0b6329e433ceacc57b5ccec4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4497314d9cd8f49b76d40758796c34991e8b056b0b6329e433ceacc57b5ccec4", kill_on_drop: false }` [INFO] [stdout] 4497314d9cd8f49b76d40758796c34991e8b056b0b6329e433ceacc57b5ccec4