[INFO] cloning repository https://github.com/DimartX/CG_lab7_gtk-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DimartX/CG_lab7_gtk-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDimartX%2FCG_lab7_gtk-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDimartX%2FCG_lab7_gtk-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 469cf1c0938812ef6cc4c938ea3c9e2c85b7bc94 [INFO] checking DimartX/CG_lab7_gtk-rs against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDimartX%2FCG_lab7_gtk-rs" "/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/DimartX/CG_lab7_gtk-rs on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DimartX/CG_lab7_gtk-rs [INFO] finished tweaking git repo https://github.com/DimartX/CG_lab7_gtk-rs [INFO] tweaked toml for git repo https://github.com/DimartX/CG_lab7_gtk-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/DimartX/CG_lab7_gtk-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0115c68782cba68fe1bbf6f56dfc609f2b3f4467babd5613a660f6e3f6eb1ee [INFO] running `Command { std: "docker" "start" "-a" "d0115c68782cba68fe1bbf6f56dfc609f2b3f4467babd5613a660f6e3f6eb1ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0115c68782cba68fe1bbf6f56dfc609f2b3f4467babd5613a660f6e3f6eb1ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0115c68782cba68fe1bbf6f56dfc609f2b3f4467babd5613a660f6e3f6eb1ee", kill_on_drop: false }` [INFO] [stdout] d0115c68782cba68fe1bbf6f56dfc609f2b3f4467babd5613a660f6e3f6eb1ee [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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba3e8536542481320d21e979c7f6bbf1ce2025ac89426bdf3fe37d47f69e943d [INFO] running `Command { std: "docker" "start" "-a" "ba3e8536542481320d21e979c7f6bbf1ce2025ac89426bdf3fe37d47f69e943d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking glib v0.10.3 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking lab1 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/point.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Point_f64` should have an upper camel case name [INFO] [stdout] --> src/point.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Point_f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PointF64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/handle_draw.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/handle_draw.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Ref` [INFO] [stdout] --> src/handle_draw.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/point.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Point_f64` should have an upper camel case name [INFO] [stdout] --> src/point.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Point_f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PointF64` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/handle_draw.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/handle_draw.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Ref` [INFO] [stdout] --> src/handle_draw.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cell::Ref; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gray` [INFO] [stdout] --> src/color.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn gray() -> 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: `white` [INFO] [stdout] --> src/color.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/color.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn red() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/color.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/color.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn blue() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xoy` [INFO] [stdout] --> src/figure.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | xoy: Point, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `angle` [INFO] [stdout] --> src/figure.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | angle: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zoom` [INFO] [stdout] --> src/figure.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | zoom: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `real_zoom` [INFO] [stdout] --> src/figure.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | real_zoom: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zoom` [INFO] [stdout] --> src/figure.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn zoom(&mut self, zoom: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/figure.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn draw(&self, canvas: &mut CairoCanvas) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_strokes` [INFO] [stdout] --> src/figure.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn draw_strokes(&self, canvas: &mut CairoCanvas) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAG` [INFO] [stdout] --> src/figure.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | const MAG: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STROKE_LEN` [INFO] [stdout] --> src/figure.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | const STROKE_LEN: f64 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_axis` [INFO] [stdout] --> src/figure.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn draw_axis(&self, canvas: &mut CairoCanvas, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `point_arrow` [INFO] [stdout] --> src/figure.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn point_arrow(&self, pre_pt: Point_f64, pt: Point_f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EPS` [INFO] [stdout] --> src/figure.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | const EPS: f64 = 0.001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale_ox` [INFO] [stdout] --> src/figure.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | scale_ox: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale_oy` [INFO] [stdout] --> src/figure.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | scale_oy: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from(pt: Point_f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_in_rectangle` [INFO] [stdout] --> src/point.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn is_in_rectangle(lu: Point_f64, rd: Point_f64, point: Point_f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scaleOx` should have a snake case name [INFO] [stdout] --> src/figure.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn scaleOx(&mut self, scale: f64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_ox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scaleOy` should have a snake case name [INFO] [stdout] --> src/figure.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn scaleOy(&mut self, scale: f64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cntPoints` should have a snake case name [INFO] [stdout] --> src/state.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub cntPoints: i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cnt_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveFigureOx` should have a snake case name [INFO] [stdout] --> src/state.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub moveFigureOx: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `move_figure_ox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveFigureOy` should have a snake case name [INFO] [stdout] --> src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub moveFigureOy: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `move_figure_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scaleOx` should have a snake case name [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub scaleOx: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_ox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scaleOy` should have a snake case name [INFO] [stdout] --> src/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub scaleOy: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveAxisOx` should have a snake case name [INFO] [stdout] --> src/state.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub moveAxisOx: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `move_axis_ox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveAxisOy` should have a snake case name [INFO] [stdout] --> src/state.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub moveAxisOy: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `move_axis_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rotateAxes` should have a snake case name [INFO] [stdout] --> src/state.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub rotateAxes: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `rotate_axes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gray` [INFO] [stdout] --> src/color.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn gray() -> 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: `white` [INFO] [stdout] --> src/color.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn white() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `red` [INFO] [stdout] --> src/color.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn red() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `green` [INFO] [stdout] --> src/color.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn green() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `blue` [INFO] [stdout] --> src/color.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn blue() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xoy` [INFO] [stdout] --> src/figure.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | xoy: Point, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `angle` [INFO] [stdout] --> src/figure.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | angle: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `zoom` [INFO] [stdout] --> src/figure.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | zoom: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `real_zoom` [INFO] [stdout] --> src/figure.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | real_zoom: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zoom` [INFO] [stdout] --> src/figure.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn zoom(&mut self, zoom: u32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/figure.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn draw(&self, canvas: &mut CairoCanvas) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_strokes` [INFO] [stdout] --> src/figure.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | fn draw_strokes(&self, canvas: &mut CairoCanvas) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAG` [INFO] [stdout] --> src/figure.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | const MAG: u32 = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STROKE_LEN` [INFO] [stdout] --> src/figure.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | const STROKE_LEN: f64 = 4.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_axis` [INFO] [stdout] --> src/figure.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn draw_axis(&self, canvas: &mut CairoCanvas, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `point_arrow` [INFO] [stdout] --> src/figure.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn point_arrow(&self, pre_pt: Point_f64, pt: Point_f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `EPS` [INFO] [stdout] --> src/figure.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | const EPS: f64 = 0.001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale_ox` [INFO] [stdout] --> src/figure.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | scale_ox: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scale_oy` [INFO] [stdout] --> src/figure.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | scale_oy: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/point.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn from(pt: Point_f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_in_rectangle` [INFO] [stdout] --> src/point.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn is_in_rectangle(lu: Point_f64, rd: Point_f64, point: Point_f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scaleOx` should have a snake case name [INFO] [stdout] --> src/figure.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn scaleOx(&mut self, scale: f64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_ox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `scaleOy` should have a snake case name [INFO] [stdout] --> src/figure.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn scaleOy(&mut self, scale: f64) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cntPoints` should have a snake case name [INFO] [stdout] --> src/state.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub cntPoints: i32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `cnt_points` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveFigureOx` should have a snake case name [INFO] [stdout] --> src/state.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub moveFigureOx: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `move_figure_ox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveFigureOy` should have a snake case name [INFO] [stdout] --> src/state.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub moveFigureOy: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `move_figure_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scaleOx` should have a snake case name [INFO] [stdout] --> src/state.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub scaleOx: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_ox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `scaleOy` should have a snake case name [INFO] [stdout] --> src/state.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub scaleOy: i32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `scale_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveAxisOx` should have a snake case name [INFO] [stdout] --> src/state.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub moveAxisOx: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `move_axis_ox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `moveAxisOy` should have a snake case name [INFO] [stdout] --> src/state.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub moveAxisOy: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `move_axis_oy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `rotateAxes` should have a snake case name [INFO] [stdout] --> src/state.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub rotateAxes: i32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `rotate_axes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "ba3e8536542481320d21e979c7f6bbf1ce2025ac89426bdf3fe37d47f69e943d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3e8536542481320d21e979c7f6bbf1ce2025ac89426bdf3fe37d47f69e943d", kill_on_drop: false }` [INFO] [stdout] ba3e8536542481320d21e979c7f6bbf1ce2025ac89426bdf3fe37d47f69e943d