[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 try#ccf408f4326a858c00dd845a64a86b16f360a801 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Debiancc/rs-turf on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-tc2/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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b75980dc3666fad34863fdd16d0f0c932d8961759870ab525e79773240b04361 [INFO] running `Command { std: "docker" "start" "-a" "b75980dc3666fad34863fdd16d0f0c932d8961759870ab525e79773240b04361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b75980dc3666fad34863fdd16d0f0c932d8961759870ab525e79773240b04361", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b75980dc3666fad34863fdd16d0f0c932d8961759870ab525e79773240b04361", kill_on_drop: false }` [INFO] [stdout] b75980dc3666fad34863fdd16d0f0c932d8961759870ab525e79773240b04361 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56484567e1d196eca4396583fc028052ced34e1114a00735d74b90e9e03b8d25 [INFO] running `Command { std: "docker" "start" "-a" "56484567e1d196eca4396583fc028052ced34e1114a00735d74b90e9e03b8d25", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.186 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [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 (/tmp/fixit) [INFO] [stderr] Migrating tests/coord_each.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/coord_each.rs (1 fix) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/prop_each.rs (2 fixes) [INFO] [stderr] Fixed src/rhumb_bearing.rs (1 fix) [INFO] [stderr] Fixed src/coord_each.rs (1 fix) [INFO] [stderr] Fixed src/helper.rs (2 fixes) [INFO] [stderr] Fixed src/bbox.rs (1 fix) [INFO] [stderr] Fixed src/feature_each.rs (3 fixes) [INFO] [stderr] Fixed src/distance.rs (1 fix) [INFO] [stderr] Fixed src/bearing.rs (1 fix) [INFO] [stderr] Fixed src/area.rs (4 fixes) [INFO] [stderr] Fixed src/coord_reduce.rs (1 fix) [INFO] [stderr] Fixed src/meta.rs (2 fixes) [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: 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: 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: function `prop_reduce` is never used [INFO] [stdout] --> src/prop_each.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Units { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 18 | fn factor(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionUnits` is never used [INFO] [stdout] --> src/helper.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | trait OptionUnits { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_to_radians` is never used [INFO] [stdout] --> src/helper.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | 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:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | 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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/coord_each.rs (1 fix) [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: 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, 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:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | 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:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | 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:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Units { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 18 | fn factor(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionUnits` is never used [INFO] [stdout] --> src/helper.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | trait OptionUnits { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians_to_degrees` is never used [INFO] [stdout] --> src/helper.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | 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:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | 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:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | 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:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | 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:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | 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: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.96s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rs-turf v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Geometry` [INFO] [stdout] --> src/coord_each.rs:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | geometry: Some(Geometry::new(Value::Point(vec![1.000, 2.000]))), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Geometry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use geojson::Geometry; [INFO] [stdout] | [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: 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, 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:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | 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:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | 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:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | 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:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | 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:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Units { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 18 | fn factor(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptionUnits` is never used [INFO] [stdout] --> src/helper.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | trait OptionUnits { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `radians_to_degrees` is never used [INFO] [stdout] --> src/helper.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | 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:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | 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:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | 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:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | 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:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | 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: 44 warnings emitted [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: 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: 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] error: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rs-turf` (bin "rs-turf" test) due to 2 previous errors; 15 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "56484567e1d196eca4396583fc028052ced34e1114a00735d74b90e9e03b8d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56484567e1d196eca4396583fc028052ced34e1114a00735d74b90e9e03b8d25", kill_on_drop: false }` [INFO] [stdout] 56484567e1d196eca4396583fc028052ced34e1114a00735d74b90e9e03b8d25