[INFO] cloning repository https://github.com/Mazur93/geome [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mazur93/geome" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMazur93%2Fgeome", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMazur93%2Fgeome'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20cbd98fa41d1996128c0faa395960a0545e0f64 [INFO] checking Mazur93/geome against master#35d55b34bffd51384ac430cc20852b7d16dd5a90 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMazur93%2Fgeome" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mazur93/geome [INFO] finished tweaking git repo https://github.com/Mazur93/geome [INFO] tweaked toml for git repo https://github.com/Mazur93/geome written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mazur93/geome on toolchain 35d55b34bffd51384ac430cc20852b7d16dd5a90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mazur93/geome 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" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75aae66b9751fbcd1337a44edb5d355654fde716da965783ffe8eaa7c86bd16b [INFO] running `Command { std: "docker" "start" "-a" "75aae66b9751fbcd1337a44edb5d355654fde716da965783ffe8eaa7c86bd16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75aae66b9751fbcd1337a44edb5d355654fde716da965783ffe8eaa7c86bd16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75aae66b9751fbcd1337a44edb5d355654fde716da965783ffe8eaa7c86bd16b", kill_on_drop: false }` [INFO] [stdout] 75aae66b9751fbcd1337a44edb5d355654fde716da965783ffe8eaa7c86bd16b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+35d55b34bffd51384ac430cc20852b7d16dd5a90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6895c746bf2776f3d5f33ba7dedb12dd11b31e6301328e3a0ac3fdf30017cbd6 [INFO] running `Command { std: "docker" "start" "-a" "6895c746bf2776f3d5f33ba7dedb12dd11b31e6301328e3a0ac3fdf30017cbd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking geome v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geoms/line.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn distance_to_point(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn interpolate_line_distance(&self, distance: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentange` [INFO] [stdout] --> src/geoms/line.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn interpolate_line_percentage(&self, percentange: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn split_at_distance(&self, distance: f64) -> Option<(Line, Line)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn intersects_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn intersection_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance2D` should have a snake case name [INFO] [stdout] --> src/geoms/point.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn distance2D(&self, another: &Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `distance2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geoms/line.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn distance_to_point(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geoms::line::Line` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use geoms::line::Line; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn interpolate_line_distance(&self, distance: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentange` [INFO] [stdout] --> src/geoms/line.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn interpolate_line_percentage(&self, percentange: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn split_at_distance(&self, distance: f64) -> Option<(Line, Line)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn intersects_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn intersection_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance2D` should have a snake case name [INFO] [stdout] --> src/geoms/point.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn distance2D(&self, another: &Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `distance2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geoms/line.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn distance_to_point(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn interpolate_line_distance(&self, distance: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geoms::line::Line` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use geoms::line::Line; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentange` [INFO] [stdout] --> src/geoms/line.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn interpolate_line_percentage(&self, percentange: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn split_at_distance(&self, distance: f64) -> Option<(Line, Line)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn intersects_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn intersection_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let x = b_point.get_x(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let y = b_point.get_y(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let results = Point::pairwise_distances(&random_points); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Line` is never constructed [INFO] [stdout] --> src/geoms/line.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/geoms/line.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Line { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | /// create a line with given points [INFO] [stdout] 14 | pub fn new(points: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_number_of_points(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_length(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_start(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn get_end(&self) -> Point { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn distance_to_point(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn to_wkt(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn from_wkt(wkt_string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn rotate(&mut self, rotation_center: &Point, angle: f64, use_radians: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn interpolate_line_distance(&self, distance: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn interpolate_line_percentage(&self, percentange: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn bounding_box(&self) -> (Point, Point) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn split_at_distance(&self, distance: f64) -> Option<(Line, Line)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn intersects_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn intersection_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn centroid(&self) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_x` and `set_y` are never used [INFO] [stdout] --> src/geoms/point.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Point { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn set_x(&mut self, new_x: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_y(&mut self, new_y: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance2D` should have a snake case name [INFO] [stdout] --> src/geoms/point.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn distance2D(&self, another: &Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `distance2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/geoms/line.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn distance_to_point(&self, point: Point) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:108:45 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn interpolate_line_distance(&self, distance: f64) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `percentange` [INFO] [stdout] --> src/geoms/line.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn interpolate_line_percentage(&self, percentange: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_percentange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> src/geoms/line.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn split_at_distance(&self, distance: f64) -> Option<(Line, Line)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:148:35 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn intersects_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/geoms/line.rs:153:37 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn intersection_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let x = b_point.get_x(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let y = b_point.get_y(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let results = Point::pairwise_distances(&random_points); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `split_at_distance`, `intersects_line`, and `intersection_line` are never used [INFO] [stdout] --> src/geoms/line.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn split_at_distance(&self, distance: f64) -> Option<(Line, Line)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn intersects_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn intersection_line(&self, other: Line) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance2D` should have a snake case name [INFO] [stdout] --> src/geoms/point.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn distance2D(&self, another: &Point) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `distance2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "6895c746bf2776f3d5f33ba7dedb12dd11b31e6301328e3a0ac3fdf30017cbd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6895c746bf2776f3d5f33ba7dedb12dd11b31e6301328e3a0ac3fdf30017cbd6", kill_on_drop: false }` [INFO] [stdout] 6895c746bf2776f3d5f33ba7dedb12dd11b31e6301328e3a0ac3fdf30017cbd6