[INFO] cloning repository https://github.com/Debiancc/rs-turf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Debiancc/rs-turf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebiancc%2Frs-turf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebiancc%2Frs-turf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14495557e78d92a085a062ef7c67d4d73eddc176 [INFO] checking Debiancc/rs-turf/14495557e78d92a085a062ef7c67d4d73eddc176 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDebiancc%2Frs-turf" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Debiancc/rs-turf on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Debiancc/rs-turf [INFO] finished tweaking git repo https://github.com/Debiancc/rs-turf [INFO] tweaked toml for git repo https://github.com/Debiancc/rs-turf written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Debiancc/rs-turf 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.186 [INFO] [stderr] Downloaded serde v1.0.186 [INFO] [stderr] Downloaded geojson v0.24.1 [INFO] [stderr] Downloaded geo-types v0.7.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3abbdb204b05478fd57a68c0f907ee7a8d1d780843c3d9089f1b5a20cbdd42b [INFO] running `Command { std: "docker" "start" "-a" "f3abbdb204b05478fd57a68c0f907ee7a8d1d780843c3d9089f1b5a20cbdd42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3abbdb204b05478fd57a68c0f907ee7a8d1d780843c3d9089f1b5a20cbdd42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3abbdb204b05478fd57a68c0f907ee7a8d1d780843c3d9089f1b5a20cbdd42b", kill_on_drop: false }` [INFO] [stdout] f3abbdb204b05478fd57a68c0f907ee7a8d1d780843c3d9089f1b5a20cbdd42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21fdb844a18b31345aca44e4ef72b7fe316addae09247042bb6e9eee6167138a [INFO] running `Command { std: "docker" "start" "-a" "21fdb844a18b31345aca44e4ef72b7fe316addae09247042bb6e9eee6167138a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.186 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling serde_derive v1.0.186 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Checking geo-types v0.7.11 [INFO] [stderr] Checking geojson v0.24.1 [INFO] [stderr] Checking rs-turf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FeatureCollection`, `Feature`, `Geometry`, `PointType`, and `Value` [INFO] [stdout] --> tests/coord_each.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use geojson::{Feature, Geometry, Value, PointType, FeatureCollection}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Geometry` [INFO] [stdout] --> src/coord_each.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use geojson::{Feature, GeoJson, Geometry, Position, Value}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/prop_each.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureCollection`, `Feature`, `LineStringType`, `PointType`, `Position`, and `Value` [INFO] [stdout] --> src/prop_each.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use geojson::{GeoJson, Position, FeatureCollection, PointType, Feature, JsonObject, Value, LineStringType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureCollection`, `JsonObject`, `LineStringType`, `PointType`, `Position`, and `Value` [INFO] [stdout] --> src/feature_each.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use geojson::{GeoJson, Position, FeatureCollection, PointType, Feature, JsonObject, Value, LineStringType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeoJson` [INFO] [stdout] --> src/helper.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use geojson::{GeoJson, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geojson::GeoJson::Feature` [INFO] [stdout] --> src/helper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use geojson::GeoJson::Feature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> src/bearing.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use geojson::{Feature, Position}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `radians_to_degrees` [INFO] [stdout] --> src/distance.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::helper::{degrees_to_radians, radians_to_degrees, radians_to_length}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Geometry` [INFO] [stdout] --> src/meta.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use geojson::{Bbox, feature, Feature, GeoJson, Geometry, JsonObject, Value}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/area.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | total += (rad(p3[0]) - rad(p1[0])) * rad((p2[1])).sin() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - total += (rad(p3[0]) - rad(p1[0])) * rad((p2[1])).sin() [INFO] [stdout] 70 + total += (rad(p3[0]) - rad(p1[0])) * rad(p2[1]).sin() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureCollection`, `JsonObject`, and `JsonValue` [INFO] [stdout] --> src/coord_reduce.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use geojson::{FeatureCollection, JsonObject, Geometry, JsonValue, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/prop_each.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureCollection`, `Feature`, `LineStringType`, `PointType`, `Position`, and `Value` [INFO] [stdout] --> src/prop_each.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use geojson::{GeoJson, Position, FeatureCollection, PointType, Feature, JsonObject, Value, LineStringType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureCollection`, `JsonObject`, `LineStringType`, `PointType`, `Position`, and `Value` [INFO] [stdout] --> src/feature_each.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use geojson::{GeoJson, Position, FeatureCollection, PointType, Feature, JsonObject, Value, LineStringType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureCollection`, `Geometry`, `JsonObject`, `JsonValue`, and `Value` [INFO] [stdout] --> src/feature_each.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | use geojson::{FeatureCollection, JsonObject, Geometry, JsonValue, Value}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/feature_each.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GeoJson` [INFO] [stdout] --> src/helper.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use geojson::{GeoJson, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geojson::GeoJson::Feature` [INFO] [stdout] --> src/helper.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use geojson::GeoJson::Feature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> src/bearing.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use geojson::{Feature, Position}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `radians_to_degrees` [INFO] [stdout] --> src/distance.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::helper::{degrees_to_radians, radians_to_degrees, radians_to_length}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Geometry` [INFO] [stdout] --> src/meta.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use geojson::{Bbox, feature, Feature, GeoJson, Geometry, JsonObject, Value}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/area.rs:70:54 [INFO] [stdout] | [INFO] [stdout] 70 | total += (rad(p3[0]) - rad(p1[0])) * rad((p2[1])).sin() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - total += (rad(p3[0]) - rad(p1[0])) * rad((p2[1])).sin() [INFO] [stdout] 70 + total += (rad(p3[0]) - rad(p1[0])) * rad(p2[1]).sin() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> src/bbox.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | use geojson::GeoJson::{Feature, FeatureCollection}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coord_each.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn coord_each(geojson: &GeoJson, mut cb: F, exclude_wrap_coord: bool) [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/rhumb_bearing.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut bear360; [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/meta.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut feature_index = 0_usize; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/area.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/area.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bbox` [INFO] [stdout] --> src/area.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/area.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coord` [INFO] [stdout] --> src/area.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | coords.iter().enumerate().for_each(|(index, coord)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/area.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut p1: &Position; [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/area.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut p2: &Position; [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/area.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut p3: &Position; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_wrap_shrink` is never used [INFO] [stdout] --> src/coord_each.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_wrap_shrink(exclude_wrap_coord: bool, gemo: &Value) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `e` is never used [INFO] [stdout] --> src/coord_each.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn e(features: &Vec, mut cb: F, exclude_wrap_coord: bool) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_each` is never used [INFO] [stdout] --> src/coord_each.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn coord_each(geojson: &GeoJson, mut cb: F, exclude_wrap_coord: bool) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_reduce` is never used [INFO] [stdout] --> src/coord_reduce.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn coord_reduce(geojson: &GeoJson, mut cb: F, initial_value: T, exclude_wrap_coord: bool) -> T [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prop_each` is never used [INFO] [stdout] --> src/prop_each.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn prop_each(geojson: &GeoJson, mut cb: F) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prop_reduce` is never used [INFO] [stdout] --> src/prop_each.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn prop_reduce(geojson: &GeoJson, mut cb: F, initial_value: T) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `feature_each` is never used [INFO] [stdout] --> src/feature_each.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn feature_each(geojson: &GeoJson, mut cb: F) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `feature_reduce` is never used [INFO] [stdout] --> src/feature_each.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn feature_reduce(geojson: &GeoJson, mut cb: F, initial_value: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `along` is never used [INFO] [stdout] --> src/along.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn along(line: &LineStringType, distance: f64, u: Option<&Units>) -> Position { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EARTH_RADIUS` is never used [INFO] [stdout] --> src/helper.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const EARTH_RADIUS: f64 = 6371008.8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_feature` is never used [INFO] [stdout] --> src/helper.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new_feature(g: Value) -> geojson::Feature { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `factor` is never used [INFO] [stdout] --> src/helper.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Units { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 19 | fn factor(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionUnits` is never used [INFO] [stdout] --> src/helper.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | trait OptionUnits { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians_to_degrees` is never used [INFO] [stdout] --> src/helper.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn radians_to_degrees(radians: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `degrees_to_radians` is never used [INFO] [stdout] --> src/helper.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn degrees_to_radians(degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_to_radians` is never used [INFO] [stdout] --> src/helper.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn length_to_radians(distance: f64, units: Option<&Units>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians_to_length` is never used [INFO] [stdout] --> src/helper.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn radians_to_length(distance: f64, units: Option<&Units>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bearing_to_azimuth` is never used [INFO] [stdout] --> src/helper.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn bearing_to_azimuth(bearing: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bearing` is never used [INFO] [stdout] --> src/bearing.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn bearing(start: &Position, end: &Position, final_calc: bool) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_final_bearing` is never used [INFO] [stdout] --> src/bearing.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn calculate_final_bearing(start: &Position, end: &Position) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `destination` is never used [INFO] [stdout] --> src/destination.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn destination(origin: &Position, distance: f64, bearing: f64, unit: Option<&Units>) -> Position { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Units` is never used [INFO] [stdout] --> src/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Units { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/distance.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn distance(from: &Position, to: &Position, units: Option<&Units>) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_azimuth` is never used [INFO] [stdout] --> src/angle.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn calc_azimuth ( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `angle` is never used [INFO] [stdout] --> src/angle.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn angle( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/rhumb_bearing.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn calc(s: &Position, e: &Position) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rhumb_bearing` is never used [INFO] [stdout] --> src/rhumb_bearing.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn rhumb_bearing(s: &Position, e: &Position, is_final: bool) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gemo_each` is never used [INFO] [stdout] --> src/meta.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn gemo_each(geojson: &GeoJson, mut cb: F) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_feature` is never used [INFO] [stdout] --> src/meta.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn do_feature(f: &Feature, cb: &mut F, feature_index: usize) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gemo_reduce` is never used [INFO] [stdout] --> src/meta.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn gemo_reduce(geojson: &GeoJson, mut cb: F, initial_value: T) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `area` is never used [INFO] [stdout] --> src/area.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn area(geojson: &GeoJson) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_area` is never used [INFO] [stdout] --> src/area.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn calc_area(geometry: &Value) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `polygon_area` is never used [INFO] [stdout] --> src/area.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn polygon_area(polygon: &PolygonType) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ring_area` is never used [INFO] [stdout] --> src/area.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn ring_area(coords: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rad` is never used [INFO] [stdout] --> src/area.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn rad(num: f64) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox` is never used [INFO] [stdout] --> src/bbox.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn bbox(geojson: &GeoJson, recompute: bool) -> Bbox { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox_polygon` is never used [INFO] [stdout] --> src/bbox.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn bbox_polygon(bbox: Bbox) -> PolygonType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `center` is never used [INFO] [stdout] --> src/center.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn center(geojson: &GeoJson) -> PointType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `centerid` is never used [INFO] [stdout] --> src/center.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn centerid(geojson: &GeoJson) -> PointType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coord_each.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn coord_each(geojson: &GeoJson, mut cb: F, exclude_wrap_coord: bool) [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: `v` [INFO] [stdout] --> src/coord_each.rs:177:61 [INFO] [stdout] | [INFO] [stdout] 177 | coord_each(&input, |coord: &Position, index: usize, v: usize, b: usize, x: usize| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/coord_each.rs:177:71 [INFO] [stdout] | [INFO] [stdout] 177 | coord_each(&input, |coord: &Position, index: usize, v: usize, b: usize, x: usize| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/coord_each.rs:177:81 [INFO] [stdout] | [INFO] [stdout] 177 | coord_each(&input, |coord: &Position, index: usize, v: usize, b: usize, x: usize| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/coord_reduce.rs:47:61 [INFO] [stdout] | [INFO] [stdout] 47 | |previos: &f64, coord: &Position, index: usize, v: usize, b: usize, x: usize| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/coord_reduce.rs:47:71 [INFO] [stdout] | [INFO] [stdout] 47 | |previos: &f64, coord: &Position, index: usize, v: usize, b: usize, x: usize| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/coord_reduce.rs:47:81 [INFO] [stdout] | [INFO] [stdout] 47 | |previos: &f64, coord: &Position, index: usize, v: usize, b: usize, x: usize| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bearing.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let x: Vec<_> = (0..10).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/angle.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let x: Vec<_> = (0..10).collect(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/angle.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let start: &Position = &vec![-75., 45.]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/angle.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let end: &Position = &vec![20., 60.]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rhumb_bearing.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut bear360; [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/meta.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut feature_index = 0_usize; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/area.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `props` [INFO] [stdout] --> src/area.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_props` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bbox` [INFO] [stdout] --> src/area.rs:7:54 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bbox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/area.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | gemo_reduce(geojson, |value, gemo, index, props, bbox, id| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coord` [INFO] [stdout] --> src/area.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | coords.iter().enumerate().for_each(|(index, coord)| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_coord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/area.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut p1: &Position; [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/area.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut p2: &Position; [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/area.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let mut p3: &Position; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prop_reduce` is never used [INFO] [stdout] --> src/prop_each.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn prop_reduce(geojson: &GeoJson, mut cb: F, initial_value: T) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `feature_each` is never used [INFO] [stdout] --> src/feature_each.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn feature_each(geojson: &GeoJson, mut cb: F) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `feature_reduce` is never used [INFO] [stdout] --> src/feature_each.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn feature_reduce(geojson: &GeoJson, mut cb: F, initial_value: T) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `along` is never used [INFO] [stdout] --> src/along.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn along(line: &LineStringType, distance: f64, u: Option<&Units>) -> Position { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `factor` is never used [INFO] [stdout] --> src/helper.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Units { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 19 | fn factor(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionUnits` is never used [INFO] [stdout] --> src/helper.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | trait OptionUnits { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_to_radians` is never used [INFO] [stdout] --> src/helper.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn length_to_radians(distance: f64, units: Option<&Units>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians_to_length` is never used [INFO] [stdout] --> src/helper.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn radians_to_length(distance: f64, units: Option<&Units>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `destination` is never used [INFO] [stdout] --> src/destination.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn destination(origin: &Position, distance: f64, bearing: f64, unit: Option<&Units>) -> Position { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Units` is never used [INFO] [stdout] --> src/types.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Units { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/distance.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn distance(from: &Position, to: &Position, units: Option<&Units>) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox_polygon` is never used [INFO] [stdout] --> src/bbox.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn bbox_polygon(bbox: Bbox) -> PolygonType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `center` is never used [INFO] [stdout] --> src/center.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn center(geojson: &GeoJson) -> PointType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `centerid` is never used [INFO] [stdout] --> src/center.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn centerid(geojson: &GeoJson) -> PointType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_each__point` should have a snake case name [INFO] [stdout] --> src/coord_each.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn coord_each__point() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coord_each_point` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coord_reduce__initial_value` should have a snake case name [INFO] [stdout] --> src/coord_reduce.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn coord_reduce__initial_value() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `coord_reduce_initial_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.69s [INFO] running `Command { std: "docker" "inspect" "21fdb844a18b31345aca44e4ef72b7fe316addae09247042bb6e9eee6167138a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fdb844a18b31345aca44e4ef72b7fe316addae09247042bb6e9eee6167138a", kill_on_drop: false }` [INFO] [stdout] 21fdb844a18b31345aca44e4ef72b7fe316addae09247042bb6e9eee6167138a