[INFO] cloning repository https://github.com/Monksc/camcam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Monksc/camcam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonksc%2Fcamcam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonksc%2Fcamcam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97c6e0501dd9cb6714ae2453e4cc4f7cc7eca841 [INFO] checking Monksc/camcam against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonksc%2Fcamcam" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Monksc/camcam on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Monksc/camcam [INFO] finished tweaking git repo https://github.com/Monksc/camcam [INFO] tweaked toml for git repo https://github.com/Monksc/camcam written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Monksc/camcam already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Monksc/algorithms_rust_lib` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Monksc/range_map` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded geo-clipper v0.7.3 [INFO] [stderr] Downloaded ordered-float v3.8.0 [INFO] [stderr] Downloaded geo-types v0.4.3 [INFO] [stderr] Downloaded clipper-sys v0.7.2 [INFO] [stderr] Downloaded serde v1.0.183 [INFO] [stderr] Downloaded geo-types v0.7.11 [INFO] [stderr] Downloaded serde_derive v1.0.183 [INFO] [stderr] Downloaded offset-polygon v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8593857b9f0f3cbfc79f099f2f8cf9f26424fa4bbbd2072f4daaf3f274289846 [INFO] running `Command { std: "docker" "start" "-a" "8593857b9f0f3cbfc79f099f2f8cf9f26424fa4bbbd2072f4daaf3f274289846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8593857b9f0f3cbfc79f099f2f8cf9f26424fa4bbbd2072f4daaf3f274289846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8593857b9f0f3cbfc79f099f2f8cf9f26424fa4bbbd2072f4daaf3f274289846", kill_on_drop: false }` [INFO] [stdout] 8593857b9f0f3cbfc79f099f2f8cf9f26424fa4bbbd2072f4daaf3f274289846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f6e4969e86d273f9115c8653d1fbc97da466beb092b1246497495b3cbb03895 [INFO] running `Command { std: "docker" "start" "-a" "6f6e4969e86d273f9115c8653d1fbc97da466beb092b1246497495b3cbb03895", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking algorithms v0.1.0 (https://github.com/Monksc/algorithms_rust_lib?rev=c3bc40e#c3bc40e5) [INFO] [stderr] Checking range_map v0.1.0 (https://github.com/Monksc/range_map?rev=dd7b6b1c5c0f4bda2d23fd242fe281091cd5cfb6#dd7b6b1c) [INFO] [stderr] Checking algorithms v0.1.0 (https://github.com/Monksc/algorithms_rust_lib?rev=e6b3a52e3aa6b666cae9c08b7fd69f7605356b54#e6b3a52e) [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking geo-types v0.4.3 [INFO] [stderr] Checking geo-types v0.7.11 [INFO] [stderr] Checking ordered-float v3.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking offset-polygon v0.1.0 [INFO] [stderr] Compiling clipper-sys v0.7.2 [INFO] [stderr] Checking geo-clipper v0.7.3 [INFO] [stderr] Checking camcam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/utils/gcode_creator.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/utils/gcode_creator.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:920:25 [INFO] [stdout] | [INFO] [stdout] 920 | use geo_types::{Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2753:37 [INFO] [stdout] | [INFO] [stdout] 2753 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:919:91 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn points_geo_type(lines: &Vec, repeat_first_point: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:924:17 [INFO] [stdout] | [INFO] [stdout] 924 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2762:34 [INFO] [stdout] | [INFO] [stdout] 2762 | }).collect::>>(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2758:21 [INFO] [stdout] | [INFO] [stdout] 2758 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2754:29 [INFO] [stdout] | [INFO] [stdout] 2754 | let mut input : Vec> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2764:13 [INFO] [stdout] | [INFO] [stdout] 2764 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:920:25 [INFO] [stdout] | [INFO] [stdout] 920 | use geo_types::{Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2753:37 [INFO] [stdout] | [INFO] [stdout] 2753 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:919:91 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn points_geo_type(lines: &Vec, repeat_first_point: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:924:17 [INFO] [stdout] | [INFO] [stdout] 924 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2762:34 [INFO] [stdout] | [INFO] [stdout] 2762 | }).collect::>>(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2758:21 [INFO] [stdout] | [INFO] [stdout] 2758 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2754:29 [INFO] [stdout] | [INFO] [stdout] 2754 | let mut input : Vec> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2764:13 [INFO] [stdout] | [INFO] [stdout] 2764 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/utils/cnc_router.rs:2058:28 [INFO] [stdout] | [INFO] [stdout] 2058 | } else if let Some(y) = y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begining` [INFO] [stdout] --> src/utils/gcode_creator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | let begining = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only_cleanup` [INFO] [stdout] --> src/utils/gcode_creator.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | only_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_only_cleanup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_rect` [INFO] [stdout] --> src/utils/gcode_creator.rs:1003:13 [INFO] [stdout] | [INFO] [stdout] 1003 | let bounding_rect = sign.bounding_rect().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/gcode_creator.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | mut sign: &mut sign::Sign, [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: unused variable: `overlays` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | overlays: &Vec>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overlays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:1506:13 [INFO] [stdout] | [INFO] [stdout] 1506 | let mut polygons = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1784:21 [INFO] [stdout] | [INFO] [stdout] 1784 | let area = Point::area(& [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/utils/cnc_router.rs:2058:28 [INFO] [stdout] | [INFO] [stdout] 2058 | } else if let Some(y) = y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:2248:17 [INFO] [stdout] | [INFO] [stdout] 2248 | for mut value in &mut values_to_remove_and_insert { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_point` [INFO] [stdout] --> src/utils/lines_and_curves.rs:2771:13 [INFO] [stdout] | [INFO] [stdout] 2771 | let inner_point = Self::find_barely_inner_point( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3385:9 [INFO] [stdout] | [INFO] [stdout] 3385 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begining` [INFO] [stdout] --> src/utils/gcode_creator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | let begining = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3549:9 [INFO] [stdout] | [INFO] [stdout] 3549 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only_cleanup` [INFO] [stdout] --> src/utils/gcode_creator.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | only_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_only_cleanup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_rect` [INFO] [stdout] --> src/utils/gcode_creator.rs:1003:13 [INFO] [stdout] | [INFO] [stdout] 1003 | let bounding_rect = sign.bounding_rect().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/gcode_creator.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | mut sign: &mut sign::Sign, [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: unreachable pattern [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 3994 | AllIntersections::Rectangle(r) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3997 | AllIntersections::SoftLineSegment(l) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4000 | AllIntersections::LineSegment(l) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4003 | AllIntersections::Circle(c) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | mut can_cut: Box:: bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overlays` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | overlays: &Vec>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overlays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:1506:13 [INFO] [stdout] | [INFO] [stdout] 1506 | let mut polygons = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_tool_table_gcode` is never used [INFO] [stdout] --> src/utils/cnc_router.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 340 | impl CNCRouter { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 489 | fn set_tool_table_gcode(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 610 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1784:21 [INFO] [stdout] | [INFO] [stdout] 1784 | let area = Point::area(& [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:2248:17 [INFO] [stdout] | [INFO] [stdout] 2248 | for mut value in &mut values_to_remove_and_insert { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_point` [INFO] [stdout] --> src/utils/lines_and_curves.rs:2771:13 [INFO] [stdout] | [INFO] [stdout] 2771 | let inner_point = Self::find_barely_inner_point( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3385:9 [INFO] [stdout] | [INFO] [stdout] 3385 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3549:9 [INFO] [stdout] | [INFO] [stdout] 3549 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 3994 | AllIntersections::Rectangle(r) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3997 | AllIntersections::SoftLineSegment(l) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4000 | AllIntersections::LineSegment(l) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4003 | AllIntersections::Circle(c) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | mut can_cut: Box:: bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PI` [INFO] [stdout] --> src/utils/lines_and_curves.rs:4450:13 [INFO] [stdout] | [INFO] [stdout] 4450 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PI` [INFO] [stdout] --> src/utils/lines_and_curves.rs:4478:13 [INFO] [stdout] | [INFO] [stdout] 4478 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:5134:13 [INFO] [stdout] | [INFO] [stdout] 5134 | let mut min = std::cmp::min(expected.len(), actual.len()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_tool_table_gcode` is never used [INFO] [stdout] --> src/utils/cnc_router.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 340 | impl CNCRouter { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 489 | fn set_tool_table_gcode(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 610 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/utils/gcode_creator.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::lines_and_curves::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use utils::lines_and_curves::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineSegment` and `Rectangle` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use lines_and_curves::{LineSegment, Rectangle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::sign::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use utils::sign::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/utils/gcode_creator.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4438:13 [INFO] [stdout] | [INFO] [stdout] 4438 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4450:13 [INFO] [stdout] | [INFO] [stdout] 4450 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4462:13 [INFO] [stdout] | [INFO] [stdout] 4462 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4478:13 [INFO] [stdout] | [INFO] [stdout] 4478 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::lines_and_curves::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use utils::lines_and_curves::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineSegment` and `Rectangle` [INFO] [stdout] --> src/main.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use lines_and_curves::{LineSegment, Rectangle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::sign::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use utils::sign::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:920:25 [INFO] [stdout] | [INFO] [stdout] 920 | use geo_types::{Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2753:37 [INFO] [stdout] | [INFO] [stdout] 2753 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:919:91 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn points_geo_type(lines: &Vec, repeat_first_point: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:924:17 [INFO] [stdout] | [INFO] [stdout] 924 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2762:34 [INFO] [stdout] | [INFO] [stdout] 2762 | }).collect::>>(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2758:21 [INFO] [stdout] | [INFO] [stdout] 2758 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2754:29 [INFO] [stdout] | [INFO] [stdout] 2754 | let mut input : Vec> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2764:13 [INFO] [stdout] | [INFO] [stdout] 2764 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:920:25 [INFO] [stdout] | [INFO] [stdout] 920 | use geo_types::{Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2753:37 [INFO] [stdout] | [INFO] [stdout] 2753 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:919:91 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn points_geo_type(lines: &Vec, repeat_first_point: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:924:17 [INFO] [stdout] | [INFO] [stdout] 924 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2762:34 [INFO] [stdout] | [INFO] [stdout] 2762 | }).collect::>>(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2758:21 [INFO] [stdout] | [INFO] [stdout] 2758 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2754:29 [INFO] [stdout] | [INFO] [stdout] 2754 | let mut input : Vec> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2764:13 [INFO] [stdout] | [INFO] [stdout] 2764 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/utils/cnc_router.rs:2058:28 [INFO] [stdout] | [INFO] [stdout] 2058 | } else if let Some(y) = y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begining` [INFO] [stdout] --> src/utils/gcode_creator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | let begining = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only_cleanup` [INFO] [stdout] --> src/utils/gcode_creator.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | only_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_only_cleanup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_rect` [INFO] [stdout] --> src/utils/gcode_creator.rs:1003:13 [INFO] [stdout] | [INFO] [stdout] 1003 | let bounding_rect = sign.bounding_rect().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/gcode_creator.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | mut sign: &mut sign::Sign, [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: unused variable: `overlays` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | overlays: &Vec>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overlays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:1506:13 [INFO] [stdout] | [INFO] [stdout] 1506 | let mut polygons = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/utils/cnc_router.rs:2058:28 [INFO] [stdout] | [INFO] [stdout] 2058 | } else if let Some(y) = y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1784:21 [INFO] [stdout] | [INFO] [stdout] 1784 | let area = Point::area(& [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begining` [INFO] [stdout] --> src/utils/gcode_creator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | let begining = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only_cleanup` [INFO] [stdout] --> src/utils/gcode_creator.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | only_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_only_cleanup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_rect` [INFO] [stdout] --> src/utils/gcode_creator.rs:1003:13 [INFO] [stdout] | [INFO] [stdout] 1003 | let bounding_rect = sign.bounding_rect().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/gcode_creator.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | mut sign: &mut sign::Sign, [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/lines_and_curves.rs:2248:17 [INFO] [stdout] | [INFO] [stdout] 2248 | for mut value in &mut values_to_remove_and_insert { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_point` [INFO] [stdout] --> src/utils/lines_and_curves.rs:2771:13 [INFO] [stdout] | [INFO] [stdout] 2771 | let inner_point = Self::find_barely_inner_point( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3385:9 [INFO] [stdout] | [INFO] [stdout] 3385 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3549:9 [INFO] [stdout] | [INFO] [stdout] 3549 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 3994 | AllIntersections::Rectangle(r) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3997 | AllIntersections::SoftLineSegment(l) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4000 | AllIntersections::LineSegment(l) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4003 | AllIntersections::Circle(c) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | mut can_cut: Box:: bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overlays` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | overlays: &Vec>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overlays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:1506:13 [INFO] [stdout] | [INFO] [stdout] 1506 | let mut polygons = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1784:21 [INFO] [stdout] | [INFO] [stdout] 1784 | let area = Point::area(& [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `braille_offset` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let braille_offset = 0.009; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_braille_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:2248:17 [INFO] [stdout] | [INFO] [stdout] 2248 | for mut value in &mut values_to_remove_and_insert { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 610 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_point` [INFO] [stdout] --> src/utils/lines_and_curves.rs:2771:13 [INFO] [stdout] | [INFO] [stdout] 2771 | let inner_point = Self::find_barely_inner_point( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3385:9 [INFO] [stdout] | [INFO] [stdout] 3385 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3549:9 [INFO] [stdout] | [INFO] [stdout] 3549 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 3994 | AllIntersections::Rectangle(r) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3997 | AllIntersections::SoftLineSegment(l) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4000 | AllIntersections::LineSegment(l) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4003 | AllIntersections::Circle(c) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | mut can_cut: Box:: bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PI` [INFO] [stdout] --> src/utils/lines_and_curves.rs:4450:13 [INFO] [stdout] | [INFO] [stdout] 4450 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PI` [INFO] [stdout] --> src/utils/lines_and_curves.rs:4478:13 [INFO] [stdout] | [INFO] [stdout] 4478 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:5134:13 [INFO] [stdout] | [INFO] [stdout] 5134 | let mut min = std::cmp::min(expected.len(), actual.len()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `braille_offset` [INFO] [stdout] --> src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let braille_offset = 0.009; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_braille_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 610 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4438:13 [INFO] [stdout] | [INFO] [stdout] 4438 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4450:13 [INFO] [stdout] | [INFO] [stdout] 4450 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4462:13 [INFO] [stdout] | [INFO] [stdout] 4462 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4478:13 [INFO] [stdout] | [INFO] [stdout] 4478 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.85s [INFO] running `Command { std: "docker" "inspect" "6f6e4969e86d273f9115c8653d1fbc97da466beb092b1246497495b3cbb03895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6e4969e86d273f9115c8653d1fbc97da466beb092b1246497495b3cbb03895", kill_on_drop: false }` [INFO] [stdout] 6f6e4969e86d273f9115c8653d1fbc97da466beb092b1246497495b3cbb03895 [INFO] checking Monksc/camcam against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonksc%2Fcamcam" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Monksc/camcam on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Monksc/camcam [INFO] finished tweaking git repo https://github.com/Monksc/camcam [INFO] tweaked toml for git repo https://github.com/Monksc/camcam written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Monksc/camcam already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef01b39868ad533d6ad4ec2a2c10b9b3d4bb8f5a9cc4ac1f3554b0661692a836 [INFO] running `Command { std: "docker" "start" "-a" "ef01b39868ad533d6ad4ec2a2c10b9b3d4bb8f5a9cc4ac1f3554b0661692a836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef01b39868ad533d6ad4ec2a2c10b9b3d4bb8f5a9cc4ac1f3554b0661692a836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef01b39868ad533d6ad4ec2a2c10b9b3d4bb8f5a9cc4ac1f3554b0661692a836", kill_on_drop: false }` [INFO] [stdout] ef01b39868ad533d6ad4ec2a2c10b9b3d4bb8f5a9cc4ac1f3554b0661692a836 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20e563dcef7d101e5ff325f1cbca0c8fb85faa5585674b8c43af7ec19cf867dc [INFO] running `Command { std: "docker" "start" "-a" "20e563dcef7d101e5ff325f1cbca0c8fb85faa5585674b8c43af7ec19cf867dc", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking algorithms v0.1.0 (https://github.com/Monksc/algorithms_rust_lib?rev=c3bc40e#c3bc40e5) [INFO] [stderr] Checking range_map v0.1.0 (https://github.com/Monksc/range_map?rev=dd7b6b1c5c0f4bda2d23fd242fe281091cd5cfb6#dd7b6b1c) [INFO] [stderr] Checking algorithms v0.1.0 (https://github.com/Monksc/algorithms_rust_lib?rev=e6b3a52e3aa6b666cae9c08b7fd69f7605356b54#e6b3a52e) [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking geo-types v0.7.11 [INFO] [stderr] Checking geo-types v0.4.3 [INFO] [stderr] Checking ordered-float v3.8.0 [INFO] [stderr] Checking offset-polygon v0.1.0 [INFO] [stderr] Compiling clipper-sys v0.7.2 [INFO] [stderr] Checking geo-clipper v0.7.3 [INFO] [stderr] Checking camcam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/utils/gcode_creator.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/utils/gcode_creator.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:920:25 [INFO] [stdout] | [INFO] [stdout] 920 | use geo_types::{Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2753:37 [INFO] [stdout] | [INFO] [stdout] 2753 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:919:91 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn points_geo_type(lines: &Vec, repeat_first_point: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:924:17 [INFO] [stdout] | [INFO] [stdout] 924 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2762:34 [INFO] [stdout] | [INFO] [stdout] 2762 | }).collect::>>(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2758:21 [INFO] [stdout] | [INFO] [stdout] 2758 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2754:29 [INFO] [stdout] | [INFO] [stdout] 2754 | let mut input : Vec> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2764:13 [INFO] [stdout] | [INFO] [stdout] 2764 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:920:25 [INFO] [stdout] | [INFO] [stdout] 920 | use geo_types::{Coordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1053:37 [INFO] [stdout] | [INFO] [stdout] 1053 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:1080:37 [INFO] [stdout] | [INFO] [stdout] 1080 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2753:37 [INFO] [stdout] | [INFO] [stdout] 2753 | use geo_types::{LineString, Coordinate, Polygon}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:919:91 [INFO] [stdout] | [INFO] [stdout] 919 | pub fn points_geo_type(lines: &Vec, repeat_first_point: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:924:17 [INFO] [stdout] | [INFO] [stdout] 924 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2762:34 [INFO] [stdout] | [INFO] [stdout] 2762 | }).collect::>>(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2758:21 [INFO] [stdout] | [INFO] [stdout] 2758 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2754:29 [INFO] [stdout] | [INFO] [stdout] 2754 | let mut input : Vec> = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `geo_types::Coordinate`: Renamed to `geo_types::Coord` (or `geo::Coord`) [INFO] [stdout] --> src/utils/lines_and_curves.rs:2764:13 [INFO] [stdout] | [INFO] [stdout] 2764 | Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/utils/cnc_router.rs:2058:28 [INFO] [stdout] | [INFO] [stdout] 2058 | } else if let Some(y) = y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begining` [INFO] [stdout] --> src/utils/gcode_creator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | let begining = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only_cleanup` [INFO] [stdout] --> src/utils/gcode_creator.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | only_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_only_cleanup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_rect` [INFO] [stdout] --> src/utils/gcode_creator.rs:1003:13 [INFO] [stdout] | [INFO] [stdout] 1003 | let bounding_rect = sign.bounding_rect().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/gcode_creator.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | mut sign: &mut sign::Sign, [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: unused variable: `y` [INFO] [stdout] --> src/utils/cnc_router.rs:2058:28 [INFO] [stdout] | [INFO] [stdout] 2058 | } else if let Some(y) = y { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overlays` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | overlays: &Vec>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overlays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:1506:13 [INFO] [stdout] | [INFO] [stdout] 1506 | let mut polygons = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `begining` [INFO] [stdout] --> src/utils/gcode_creator.rs:674:13 [INFO] [stdout] | [INFO] [stdout] 674 | let begining = Instant::now(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_begining` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `only_cleanup` [INFO] [stdout] --> src/utils/gcode_creator.rs:770:9 [INFO] [stdout] | [INFO] [stdout] 770 | only_cleanup: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_only_cleanup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bounding_rect` [INFO] [stdout] --> src/utils/gcode_creator.rs:1003:13 [INFO] [stdout] | [INFO] [stdout] 1003 | let bounding_rect = sign.bounding_rect().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bounding_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/gcode_creator.rs:996:9 [INFO] [stdout] | [INFO] [stdout] 996 | mut sign: &mut sign::Sign, [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: unused variable: `area` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1784:21 [INFO] [stdout] | [INFO] [stdout] 1784 | let area = Point::area(& [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:2248:17 [INFO] [stdout] | [INFO] [stdout] 2248 | for mut value in &mut values_to_remove_and_insert { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_point` [INFO] [stdout] --> src/utils/lines_and_curves.rs:2771:13 [INFO] [stdout] | [INFO] [stdout] 2771 | let inner_point = Self::find_barely_inner_point( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overlays` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1504:9 [INFO] [stdout] | [INFO] [stdout] 1504 | overlays: &Vec>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overlays` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:1506:13 [INFO] [stdout] | [INFO] [stdout] 1506 | let mut polygons = Vec::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3385:9 [INFO] [stdout] | [INFO] [stdout] 3385 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3549:9 [INFO] [stdout] | [INFO] [stdout] 3549 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area` [INFO] [stdout] --> src/utils/lines_and_curves.rs:1784:21 [INFO] [stdout] | [INFO] [stdout] 1784 | let area = Point::area(& [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_area` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 3994 | AllIntersections::Rectangle(r) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3997 | AllIntersections::SoftLineSegment(l) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4000 | AllIntersections::LineSegment(l) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4003 | AllIntersections::Circle(c) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:2248:17 [INFO] [stdout] | [INFO] [stdout] 2248 | for mut value in &mut values_to_remove_and_insert { [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/lines_and_curves.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | mut can_cut: Box:: bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner_point` [INFO] [stdout] --> src/utils/lines_and_curves.rs:2771:13 [INFO] [stdout] | [INFO] [stdout] 2771 | let inner_point = Self::find_barely_inner_point( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inner_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3385:9 [INFO] [stdout] | [INFO] [stdout] 3385 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_growing` [INFO] [stdout] --> src/utils/lines_and_curves.rs:3549:9 [INFO] [stdout] | [INFO] [stdout] 3549 | is_growing: bool, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_growing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/utils/lines_and_curves.rs:4006:21 [INFO] [stdout] | [INFO] [stdout] 3994 | AllIntersections::Rectangle(r) => { [INFO] [stdout] | ------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 3997 | AllIntersections::SoftLineSegment(l) => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4000 | AllIntersections::LineSegment(l) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4003 | AllIntersections::Circle(c) => { [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 4006 | _ => {}, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_tool_table_gcode` is never used [INFO] [stdout] --> src/utils/cnc_router.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 340 | impl CNCRouter { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 489 | fn set_tool_table_gcode(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 610 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/gcode_creator.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn to_new_write(&self, w: W) -> GCodeCreator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | GCodeCreator:: { [INFO] [stdout] 113 | cnc_router: self.cnc_router.to_new_write(w), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/bit_path.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 221 | let (x, y) = t(pos.0, pos.1); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | Some((x, y, pos.2)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:4213:9 [INFO] [stdout] | [INFO] [stdout] 4213 | mut can_cut: Box:: bool>, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sign.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 337 | lines: Vec, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | lines: lines_and_curves::Intersection::force_counter_clockwise(&lines), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/polygon_tree.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|x| *x.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/polygon_tree.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 100 | fn from(item: (Vec, bool)) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | inner_polygons: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PI` [INFO] [stdout] --> src/utils/lines_and_curves.rs:4450:13 [INFO] [stdout] | [INFO] [stdout] 4450 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `PI` [INFO] [stdout] --> src/utils/lines_and_curves.rs:4478:13 [INFO] [stdout] | [INFO] [stdout] 4478 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_PI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/lines_and_curves.rs:5134:13 [INFO] [stdout] | [INFO] [stdout] 5134 | let mut min = std::cmp::min(expected.len(), actual.len()); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `camcam` (lib) due to 6 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `set_tool_table_gcode` is never used [INFO] [stdout] --> src/utils/cnc_router.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 340 | impl CNCRouter { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 489 | fn set_tool_table_gcode(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `finish` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | state.finish(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = state.finish(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 532 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 599 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils/cnc_router.rs:610:9 [INFO] [stdout] | [INFO] [stdout] 610 | self.gcode_write.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 610 | let _ = self.gcode_write.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/gcode_creator.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn to_new_write(&self, w: W) -> GCodeCreator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | GCodeCreator:: { [INFO] [stdout] 113 | cnc_router: self.cnc_router.to_new_write(w), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/bit_path.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 221 | let (x, y) = t(pos.0, pos.1); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | Some((x, y, pos.2)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4438:13 [INFO] [stdout] | [INFO] [stdout] 4438 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4450:13 [INFO] [stdout] | [INFO] [stdout] 4450 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4462:13 [INFO] [stdout] | [INFO] [stdout] 4462 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PI` should have a snake case name [INFO] [stdout] --> src/utils/lines_and_curves.rs:4478:13 [INFO] [stdout] | [INFO] [stdout] 4478 | let PI = std::f64::consts::PI; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/sign.rs:360:20 [INFO] [stdout] | [INFO] [stdout] 337 | lines: Vec, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | lines: lines_and_curves::Intersection::force_counter_clockwise(&lines), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/polygon_tree.rs:67:31 [INFO] [stdout] | [INFO] [stdout] 67 | .map(|x| *x.clone()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/polygon_tree.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 100 | fn from(item: (Vec, bool)) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | inner_polygons: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `camcam` (lib test) due to 6 previous errors; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "20e563dcef7d101e5ff325f1cbca0c8fb85faa5585674b8c43af7ec19cf867dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e563dcef7d101e5ff325f1cbca0c8fb85faa5585674b8c43af7ec19cf867dc", kill_on_drop: false }` [INFO] [stdout] 20e563dcef7d101e5ff325f1cbca0c8fb85faa5585674b8c43af7ec19cf867dc