[INFO] cloning repository https://github.com/mahulst/schatkaart [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahulst/schatkaart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahulst%2Fschatkaart", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahulst%2Fschatkaart'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79bb7827d80bb8a3924e9fbf07a23040bde8c30a [INFO] checking mahulst/schatkaart against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahulst%2Fschatkaart" "/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/mahulst/schatkaart on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mahulst/schatkaart [INFO] finished tweaking git repo https://github.com/mahulst/schatkaart [INFO] tweaked toml for git repo https://github.com/mahulst/schatkaart written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mahulst/schatkaart already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] 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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 750f244593622a75256fe791072a203e4d783a5016007990d967a8a4d3e99bf9 [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" "750f244593622a75256fe791072a203e4d783a5016007990d967a8a4d3e99bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "750f244593622a75256fe791072a203e4d783a5016007990d967a8a4d3e99bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "750f244593622a75256fe791072a203e4d783a5016007990d967a8a4d3e99bf9", kill_on_drop: false }` [INFO] [stdout] 750f244593622a75256fe791072a203e4d783a5016007990d967a8a4d3e99bf9 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4728db0e4f8e6efa613f3a8e163886d80a1a8ac29292b69077858e504c60118 [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" "f4728db0e4f8e6efa613f3a8e163886d80a1a8ac29292b69077858e504c60118", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking piston-viewport v0.5.0 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking x11-dl v2.18.3 [INFO] [stderr] Checking quaternion v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking wayland-sys v0.21.11 [INFO] [stderr] Checking piston3d-cam v0.3.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking num-bigint v0.2.2 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rusttype v0.7.5 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.21.11 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking andrew v0.2.0 [INFO] [stderr] Checking piston2d-graphics v0.30.0 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking num-rational v0.2.1 [INFO] [stderr] Checking simple_logger v1.0.1 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling wayland-client v0.21.11 [INFO] [stderr] Compiling wayland-protocols v0.21.11 [INFO] [stderr] Checking wayland-commons v0.21.11 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking smithay-client-toolkit v0.4.5 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking pistoncore-input v0.24.0 [INFO] [stderr] Checking imageproc v0.18.0 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_device_gl v0.15.5 [INFO] [stderr] Checking piston-gfx_texture v0.35.0 [INFO] [stderr] Checking pistoncore-window v0.37.0 [INFO] [stderr] Checking camera_controllers v0.27.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.56.0 [INFO] [stderr] Checking pistoncore-event_loop v0.42.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.54.0 [INFO] [stderr] Checking piston v0.42.0 [INFO] [stderr] Checking piston_window v0.89.0 [INFO] [stderr] Checking schatkaart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assets` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let assets = find_folder::Search::ParentsThenKids(3, 3) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blends` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let blends = [Blend::Alpha, Blend::Add, Blend::Invert, Blend::Multiply]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blends` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blend` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut blend = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clip_inside` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut clip_inside = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clip_inside` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hold_mouse` is assigned to, but never used [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut hold_mouse = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hold_mouse` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(Button::Mouse(button)) = e.press_args() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hold_mouse` is never read [INFO] [stdout] --> src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | hold_mouse = true [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | Button::Mouse(button) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hold_mouse` is never read [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | hold_mouse = false [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..MAX_ITERATIONS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_prime` [INFO] [stdout] --> src/main.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | let u_prime = reparameterize(&bez_curve, points, ¶ms); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `beziers` is never read [INFO] [stdout] --> src/main.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut beziers = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curve` [INFO] [stdout] --> src/main.rs:462:11 [INFO] [stdout] | [INFO] [stdout] 462 | fn find_t(curve: &CubicBezier, param: f32, t_dist_map: &Vec, parts: usize) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | for i in 0..x { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut blend = 0; [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/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut clip_inside = true; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assets` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let assets = find_folder::Search::ParentsThenKids(3, 3) [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_assets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blends` [INFO] [stdout] --> src/main.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | let blends = [Blend::Alpha, Blend::Add, Blend::Invert, Blend::Multiply]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blends` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blend` [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut blend = 0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blend` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clip_inside` [INFO] [stdout] --> src/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut clip_inside = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clip_inside` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hold_mouse` is assigned to, but never used [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let mut hold_mouse = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_hold_mouse` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:100:35 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(Button::Mouse(button)) = e.press_args() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hold_mouse` is never read [INFO] [stdout] --> src/main.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | hold_mouse = true [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:120:31 [INFO] [stdout] | [INFO] [stdout] 120 | Button::Mouse(button) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hold_mouse` is never read [INFO] [stdout] --> src/main.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | hold_mouse = false [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | for i in 0..MAX_ITERATIONS { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_prime` [INFO] [stdout] --> src/main.rs:243:21 [INFO] [stdout] | [INFO] [stdout] 243 | let u_prime = reparameterize(&bez_curve, points, ¶ms); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `beziers` is never read [INFO] [stdout] --> src/main.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | let mut beziers = vec![]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curve` [INFO] [stdout] --> src/main.rs:462:11 [INFO] [stdout] | [INFO] [stdout] 462 | fn find_t(curve: &CubicBezier, param: f32, t_dist_map: &Vec, parts: usize) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_curve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | for i in 0..x { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `green` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const green: [u8; 4] = [0, 255, 0, 255]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `white` [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const white: [u8; 4] = [255, 255, 255, 255]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_rect` [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn draw_rect(x: f64, y: f64, color: [f32; 4], c: &Context, g: &mut G2d) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` should have an upper case name [INFO] [stdout] --> src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const red: [u8; 4] = [255, 0, 0, 255]; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `green` should have an upper case name [INFO] [stdout] --> src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const green: [u8; 4] = [0, 255, 0, 255]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GREEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `blue` should have an upper case name [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const blue: [u8; 4] = [0, 0, 255, 255]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BLUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `white` should have an upper case name [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const white: [u8; 4] = [255, 255, 255, 255]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `WHITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pA` should have a snake case name [INFO] [stdout] --> src/main.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let pA = Math::mul_items(&self.s, tx * tx * tx); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pB` should have a snake case name [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let pB = Math::mul_items(&self.c1, 3.0 * tx * tx * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pC` should have a snake case name [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let pC = Math::mul_items(&self.c2, 3.0 * tx * t * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pD` should have a snake case name [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let pD = Math::mul_items(&self.e, t * t * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pA` should have a snake case name [INFO] [stdout] --> src/main.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let pA = Math::mul_items(&Math::subtract(&self.c1, &self.s), 3.0 * tx * tx); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pB` should have a snake case name [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let pB = Math::mul_items(&Math::subtract(&self.c2, &self.c1), 6.0 * tx * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pC` should have a snake case name [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let pC = Math::mul_items(&Math::subtract(&self.e, &self.c2), 3.0 * t * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let mut A = Math::zeros_xx2x2(params.len() as u32); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/main.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let mut C = (Vec2 { x: 0.0, y: 0.0 }, Vec2 { x: 0.0, y: 0.0 }); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/main.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | let mut X = Vec2 { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `det_C0_C1` should have a snake case name [INFO] [stdout] --> src/main.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let det_C0_C1 = (C.0.x * C.1.y) - (C.1.x * C.0.y); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `det_c0_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `det_C0_X` should have a snake case name [INFO] [stdout] --> src/main.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | let det_C0_X = (C.0.x * X.y) - (C.1.x * X.y); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `det_c0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `det_X_C1` should have a snake case name [INFO] [stdout] --> src/main.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | let det_X_C1 = (X.x * C.1.y) - (X.y * C.0.y); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `det_x_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currU` should have a snake case name [INFO] [stdout] --> src/main.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | let mut currU = 0.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `curr_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevU` should have a snake case name [INFO] [stdout] --> src/main.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut prevU = 0.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `prev_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevP` should have a snake case name [INFO] [stdout] --> src/main.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | let mut prevP = Vec2 { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `prev_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `expectedResult` should have a snake case name [INFO] [stdout] --> src/main.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let expectedResult = CubicBezier { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expected_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut blend = 0; [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/main.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut clip_inside = true; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `green` [INFO] [stdout] --> src/main.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | const green: [u8; 4] = [0, 255, 0, 255]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `white` [INFO] [stdout] --> src/main.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | const white: [u8; 4] = [255, 255, 255, 255]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw_rect` [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn draw_rect(x: f64, y: f64, color: [f32; 4], c: &Context, g: &mut G2d) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `q` [INFO] [stdout] --> src/main.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn q(&self, t: f32) -> Vec2 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `qprime` [INFO] [stdout] --> src/main.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn qprime(&self, t: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `qprimeprime` [INFO] [stdout] --> src/main.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn qprimeprime(&self, t: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fit_curve` [INFO] [stdout] --> src/main.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn fit_curve(points: &Vec, max_error: f32) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_tangent` [INFO] [stdout] --> src/main.rs:209:4 [INFO] [stdout] | [INFO] [stdout] 209 | fn create_tangent(p1: &Vec2, p2: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fit_cubic` [INFO] [stdout] --> src/main.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn fit_cubic( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reparameterize` [INFO] [stdout] --> src/main.rs:301:4 [INFO] [stdout] | [INFO] [stdout] 301 | fn reparameterize(curve: &CubicBezier, points: &[Vec2], params: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `newton_raphson_root_find` [INFO] [stdout] --> src/main.rs:311:4 [INFO] [stdout] | [INFO] [stdout] 311 | fn newton_raphson_root_find(curve: &CubicBezier, point: &Vec2, u: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_and_report` [INFO] [stdout] --> src/main.rs:327:4 [INFO] [stdout] | [INFO] [stdout] 327 | fn generate_and_report( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `generate_bezier` [INFO] [stdout] --> src/main.rs:340:4 [INFO] [stdout] | [INFO] [stdout] 340 | fn generate_bezier( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_max_error` [INFO] [stdout] --> src/main.rs:425:4 [INFO] [stdout] | [INFO] [stdout] 425 | fn compute_max_error(points: &[Vec2], bez_curve: &CubicBezier, params: &Vec) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `map_t_to_relative_distances` [INFO] [stdout] --> src/main.rs:447:4 [INFO] [stdout] | [INFO] [stdout] 447 | fn map_t_to_relative_distances(curve: &CubicBezier, parts: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_t` [INFO] [stdout] --> src/main.rs:462:4 [INFO] [stdout] | [INFO] [stdout] 462 | fn find_t(curve: &CubicBezier, param: f32, t_dist_map: &Vec, parts: usize) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chord_length_parameterize` [INFO] [stdout] --> src/main.rs:486:4 [INFO] [stdout] | [INFO] [stdout] 486 | fn chord_length_parameterize(points: &[Vec2]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Math` [INFO] [stdout] --> src/main.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | struct Math; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `zeros_xx2x2` [INFO] [stdout] --> src/main.rs:511:12 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn zeros_xx2x2(x: u32) -> Vec<(Vec2, Vec2)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multiply` [INFO] [stdout] --> src/main.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn multiply(v: &Vec2, mul: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/main.rs:524:12 [INFO] [stdout] | [INFO] [stdout] 524 | pub fn dot(v1: &Vec2, v2: &Vec2) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/main.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn add(v1: &Vec2, v2: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subtract` [INFO] [stdout] --> src/main.rs:535:12 [INFO] [stdout] | [INFO] [stdout] 535 | pub fn subtract(v1: &Vec2, v2: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `vector_len` [INFO] [stdout] --> src/main.rs:541:12 [INFO] [stdout] | [INFO] [stdout] 541 | pub fn vector_len(v: &Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mul_items` [INFO] [stdout] --> src/main.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | pub fn mul_items(v: &Vec2, multiplier: f32) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `normalize` [INFO] [stdout] --> src/main.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn normalize(v: &Vec2) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `red` should have an upper case name [INFO] [stdout] --> src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const red: [u8; 4] = [255, 0, 0, 255]; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `RED` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `green` should have an upper case name [INFO] [stdout] --> src/main.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const green: [u8; 4] = [0, 255, 0, 255]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `GREEN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `blue` should have an upper case name [INFO] [stdout] --> src/main.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const blue: [u8; 4] = [0, 0, 255, 255]; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `BLUE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `white` should have an upper case name [INFO] [stdout] --> src/main.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | const white: [u8; 4] = [255, 255, 255, 255]; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `WHITE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pA` should have a snake case name [INFO] [stdout] --> src/main.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let pA = Math::mul_items(&self.s, tx * tx * tx); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pB` should have a snake case name [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let pB = Math::mul_items(&self.c1, 3.0 * tx * tx * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pC` should have a snake case name [INFO] [stdout] --> src/main.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let pC = Math::mul_items(&self.c2, 3.0 * tx * t * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pD` should have a snake case name [INFO] [stdout] --> src/main.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let pD = Math::mul_items(&self.e, t * t * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pA` should have a snake case name [INFO] [stdout] --> src/main.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let pA = Math::mul_items(&Math::subtract(&self.c1, &self.s), 3.0 * tx * tx); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pB` should have a snake case name [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let pB = Math::mul_items(&Math::subtract(&self.c2, &self.c1), 6.0 * tx * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pC` should have a snake case name [INFO] [stdout] --> src/main.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let pC = Math::mul_items(&Math::subtract(&self.e, &self.c2), 3.0 * t * t); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `p_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/main.rs:352:13 [INFO] [stdout] | [INFO] [stdout] 352 | let mut A = Math::zeros_xx2x2(params.len() as u32); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/main.rs:365:13 [INFO] [stdout] | [INFO] [stdout] 365 | let mut C = (Vec2 { x: 0.0, y: 0.0 }, Vec2 { x: 0.0, y: 0.0 }); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `X` should have a snake case name [INFO] [stdout] --> src/main.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | let mut X = Vec2 { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `det_C0_C1` should have a snake case name [INFO] [stdout] --> src/main.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let det_C0_C1 = (C.0.x * C.1.y) - (C.1.x * C.0.y); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `det_c0_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `det_C0_X` should have a snake case name [INFO] [stdout] --> src/main.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | let det_C0_X = (C.0.x * X.y) - (C.1.x * X.y); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `det_c0_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `det_X_C1` should have a snake case name [INFO] [stdout] --> src/main.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | let det_X_C1 = (X.x * C.1.y) - (X.y * C.0.y); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `det_x_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currU` should have a snake case name [INFO] [stdout] --> src/main.rs:489:13 [INFO] [stdout] | [INFO] [stdout] 489 | let mut currU = 0.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `curr_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevU` should have a snake case name [INFO] [stdout] --> src/main.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut prevU = 0.0; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `prev_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prevP` should have a snake case name [INFO] [stdout] --> src/main.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | let mut prevP = Vec2 { x: 0.0, y: 0.0 }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `prev_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "f4728db0e4f8e6efa613f3a8e163886d80a1a8ac29292b69077858e504c60118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4728db0e4f8e6efa613f3a8e163886d80a1a8ac29292b69077858e504c60118", kill_on_drop: false }` [INFO] [stdout] f4728db0e4f8e6efa613f3a8e163886d80a1a8ac29292b69077858e504c60118