[INFO] fetching crate xs_h3 0.1.0... [INFO] checking xs_h3-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate xs_h3 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate xs_h3 0.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate xs_h3 0.1.0 [INFO] tweaked toml for crates.io crate xs_h3 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xs_h3 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xs_h3 0.1.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 888653db998dd5efc7fefc2f9fb4b9e12eb916e969ab55c8ebc05ad1b6947007 [INFO] running `Command { std: "docker" "start" "-a" "888653db998dd5efc7fefc2f9fb4b9e12eb916e969ab55c8ebc05ad1b6947007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "888653db998dd5efc7fefc2f9fb4b9e12eb916e969ab55c8ebc05ad1b6947007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "888653db998dd5efc7fefc2f9fb4b9e12eb916e969ab55c8ebc05ad1b6947007", kill_on_drop: false }` [INFO] [stdout] 888653db998dd5efc7fefc2f9fb4b9e12eb916e969ab55c8ebc05ad1b6947007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3652118e92c26e599ac28011b3f7b1dfaaab1a5c93a762f4024708cac385a239 [INFO] running `Command { std: "docker" "start" "-a" "3652118e92c26e599ac28011b3f7b1dfaaab1a5c93a762f4024708cac385a239", kill_on_drop: false }` [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking xs_h3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `M_COS_AP7_ROT`, `M_PI_2`, and `M_SIN_AP7_ROT` [INFO] [stdout] --> src/coords/face_ijk.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | EPSILON, INV_RES0_U_GNOMONIC, MAX_H3_RES, M_AP7_ROT_RADS, M_COS_AP7_ROT, M_ONETHIRD, M_PI_2, M_RSQRT7, M_SIN_AP7_ROT, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo_almost_equal` [INFO] [stdout] --> src/coords/face_ijk.rs:21:80 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::latlng::{_geo_az_distance_rads, _geo_azimuth_rads, _pos_angle_rads, geo_almost_equal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `M_ONETHIRD` and `M_SQRT7` [INFO] [stdout] --> src/coords/ijk.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{EPSILON, M_ONESEVENTH, M_ONETHIRD, M_RSIN60, M_SQRT3_2, M_SQRT7}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::extensions::_ipow` [INFO] [stdout] --> src/coords/ijk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::extensions::_ipow; // For _downAp* later, if needed here or used elsewhere [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H3_NULL` [INFO] [stdout] --> src/h3_index/string_conv.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{H3Error, H3Index, H3_NULL}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UNIT_VECS`, `_rotate60_ccw`, `_rotate60_cw`, and `_up_ap7` [INFO] [stdout] --> src/h3_index/mod.rs:12:63 [INFO] [stdout] | [INFO] [stdout] 12 | _down_ap7, _down_ap7r, _ijk_normalize, _ijk_sub, _neighbor, _rotate60_ccw, _rotate60_cw, _unit_ijk_to_digit, _up_ap7, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 13 | _up_ap7r, UNIT_VECS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_h3_leading_non_zero_digit` [INFO] [stdout] --> src/hierarchy/parent_child.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | _h3_leading_non_zero_digit, get_index_digit, get_resolution, is_pentagon, set_index_digit, set_resolution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterCellsChildren` [INFO] [stdout] --> src/hierarchy/parent_child.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::iterators::{iterInitParent, iterStepChild, IterCellsChildren}; // For cellToChildren [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H3_RESERVED_MASK_NEGATIVE` [INFO] [stdout] --> src/hierarchy/compaction.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{H3_RESERVED_MASK_NEGATIVE, MAX_H3_RES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_reserved_bits` and `set_reserved_bits` [INFO] [stdout] --> src/hierarchy/compaction.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::h3_index::{get_reserved_bits, get_resolution, is_pentagon, set_reserved_bits}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterInitParent` [INFO] [stdout] --> src/hierarchy/compaction.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::iterators::{iterInitParent}; // If cell_to_children uses this [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/indexing/to_h3.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::f64; // For is_finite [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_h3_leading_non_zero_digit` [INFO] [stdout] --> src/iterators.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | _h3_leading_non_zero_digit, get_index_digit, get_resolution, is_pentagon, set_index_digit, set_resolution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BASE_CELL_NEIGHBOR_60CCW_ROTS`, `INVALID_BASE_CELL`, `_base_cell_is_cw_offset`, `_face_ijk_to_base_cell_ccwrot60`, `_face_ijk_to_base_cell`, `_get_base_cell_neighbor`, and `_is_base_cell_polar_pentagon` [INFO] [stdout] --> src/local_ij.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | _base_cell_is_cw_offset, _face_ijk_to_base_cell, _face_ijk_to_base_cell_ccwrot60, _get_base_cell_direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | _get_base_cell_neighbor, _is_base_cell_pentagon, _is_base_cell_polar_pentagon, BASE_CELL_NEIGHBOR_60CCW_ROTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | INVALID_BASE_CELL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H3_CELL_MODE`, `H3_INIT`, `MAX_H3_RES`, and `NUM_BASE_CELLS` [INFO] [stdout] --> src/local_ij.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::constants::{H3_CELL_MODE, H3_INIT, MAX_H3_RES, NUM_BASE_CELLS}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UNIT_VECS`, `_ijk_normalize_could_overflow`, `_ijk_scale`, `_rotate60_ccw`, `_unit_ijk_to_digit`, `_up_ap7`, and `_up_ap7r` [INFO] [stdout] --> src/local_ij.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | _down_ap7, _down_ap7r, _ijk_add, _ijk_normalize, _ijk_normalize_could_overflow, _ijk_rotate60_ccw, _ijk_rotate60_cw, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | _ijk_scale, _ijk_sub, _rotate60_ccw, _unit_ijk_to_digit, _up_ap7, _up_ap7r, ij_to_ijk, ijk_to_ij, UNIT_VECS, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_h3_rotate60_ccw`, `_h3_rotate60_cw`, `get_index_digit`, `get_mode`, `set_base_cell`, `set_index_digit`, `set_mode`, and `set_resolution` [INFO] [stdout] --> src/local_ij.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | _face_ijk_to_h3, _h3_leading_non_zero_digit, _h3_rotate60_ccw, _h3_rotate60_cw, _h3_rotate_pent60_ccw, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | _h3_rotate_pent60_cw, _h3_to_face_ijk, get_base_cell, get_index_digit, get_mode, get_resolution, is_pentagon, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 16 | is_resolution_class_iii, set_base_cell, set_index_digit, set_mode, set_resolution, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_H3_RES` [INFO] [stdout] --> src/measures.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{EARTH_RADIUS_KM, MAX_H3_RES}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CellBoundary` and `LatLng` [INFO] [stdout] --> src/measures.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::{CellBoundary, H3Error, H3Index, LatLng}; // Helper for spherical polygon area [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPSILON_RAD`, `M_2PI`, and `M_PI` [INFO] [stdout] --> src/polygon.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::constants::{EPSILON_RAD, M_2PI, M_PI}; // DBL_EPSILON is from C float.h, Rust f64::EPSILON is different [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constrain_lng` [INFO] [stdout] --> src/polygon.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::latlng::{constrain_lng, normalize_lng_for_comparison}; use crate::math::vec3d::_geo_to_vec3d; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_is_base_cell_pentagon` [INFO] [stdout] --> src/regions/polyfill.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base_cells::{_is_base_cell_pentagon, baseCellNumToCell}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPSILON_RAD`, `MAX_CELL_BNDRY_VERTS`, and `VALID_RANGE_BBOX` [INFO] [stdout] --> src/regions/polyfill.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | CELL_SCALE_FACTOR, CHILD_SCALE_FACTOR, EPSILON, EPSILON_RAD, MAX_CELL_BNDRY_VERTS, MAX_EDGE_LENGTH_RADS, MAX_H3_RES, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | M_PI, M_PI_2, NORTH_POLE_CELLS, NUM_BASE_CELLS, RES0_BBOXES, SOUTH_POLE_CELLS, VALID_RANGE_BBOX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Overage`, `_face_ijk_pent_to_cell_boundary`, and `_face_ijk_to_cell_boundary` [INFO] [stdout] --> src/regions/polyfill.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::coords::face_ijk::{Overage, _face_ijk_pent_to_cell_boundary, _face_ijk_to_cell_boundary}; // Overage might not be needed here ... [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::h3_index::inspection::is_valid_cell as h3_is_valid_cell` [INFO] [stdout] --> src/regions/polyfill.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::h3_index::inspection::is_valid_cell as h3_is_valid_cell; // Alias for clarity [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_h3_to_face_ijk` and `get_mode` [INFO] [stdout] --> src/regions/polyfill.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | _h3_to_face_ijk, get_base_cell, get_index_digit, get_mode, get_resolution, is_pentagon, set_index_digit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flag_get_containment_mode` [INFO] [stdout] --> src/regions/polyfill.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | cell_boundary_crosses_polygon, cell_boundary_inside_polygon, flag_get_containment_mode, point_inside_polygon, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CellBoundary` [INFO] [stdout] --> src/regions/polyfill.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::types::{BBox, CellBoundary, ContainmentMode, GeoPolygon, H3Error, H3Index, LatLng, H3_NULL}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_base_cell` [INFO] [stdout] --> src/regions/to_polygon.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::h3_index::{get_base_cell, get_resolution}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CoordIJK`, `GeoPolygon`, and `Vec2d` [INFO] [stdout] --> src/regions/to_polygon.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{CellBoundary, CoordIJK, FaceIJK, GeoLoop, GeoPolygon, H3Error, H3Index, LatLng, Vec2d}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/regions/to_polygon.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; // Might be useful for _hashVertex alternative [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::MAX_H3_RES` [INFO] [stdout] --> src/traversal/grid_disk.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::MAX_H3_RES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::coords::ijk::_rotate60_ccw` [INFO] [stdout] --> src/traversal/grid_disk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::coords::ijk::_rotate60_ccw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_resolution` [INFO] [stdout] --> src/traversal/grid_disk.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::h3_index::{get_resolution, is_pentagon}; // Assuming these are pub(crate) or pub [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::extensions::_ipow` [INFO] [stdout] --> src/traversal/grid_disk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::math::extensions::_ipow; // For K_ALL_CELLS_AT_RES_15 if needed, or direct const [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cube_to_ijk` [INFO] [stdout] --> src/traversal/grid_path.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::coords::ijk::{_ijk_normalize, cube_to_ijk, ijk_to_cube}; // Assuming these are pub(crate) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::h3_index::get_mode` [INFO] [stdout] --> src/traversal/grid_path.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::h3_index::get_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::h3_index::inspection::is_valid_cell` [INFO] [stdout] --> src/traversal/grid_path.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::h3_index::inspection::is_valid_cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_get_base_cell_direction` and `_get_base_cell_neighbor` [INFO] [stdout] --> src/traversal/neighbors.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | _get_base_cell_direction, // Corrected name from C-style to snake_case [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | _get_base_cell_neighbor, // Corrected name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_H3_RES` [INFO] [stdout] --> src/traversal/neighbors.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::constants::{H3_CELL_MODE, MAX_H3_RES, NUM_BASE_CELLS}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/coords/ijk.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | #[inline] [INFO] [stdout] | ^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/coords/ijk.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_res_scale` [INFO] [stdout] --> src/coords/face_ijk.rs:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | for i_res_scale in 0..res { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i_res_scale` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_r_hex2d` [INFO] [stdout] --> src/coords/face_ijk.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | let old_r_hex2d = r_hex2d_at_res0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_r_hex2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_r_hex2d` [INFO] [stdout] --> src/coords/face_ijk.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | let old_r_hex2d = r_hex2d_at_res0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_r_hex2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_r_hex2d_substrate_class3` [INFO] [stdout] --> src/coords/face_ijk.rs:414:11 [INFO] [stdout] | [INFO] [stdout] 414 | let old_r_hex2d_substrate_class3 = r_hex2d_at_res0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_r_hex2d_substrate_class3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_theta_for_az` [INFO] [stdout] --> src/coords/face_ijk.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let old_theta_for_az = theta_for_az; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_theta_for_az` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ijk_before_rot` [INFO] [stdout] --> src/coords/face_ijk.rs:571:11 [INFO] [stdout] | [INFO] [stdout] 571 | let ijk_before_rot = *ijk; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ijk_before_rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/h3_index/inspection.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let dir: Direction = unsafe { std::mem::transmute(dir_idx as u8) }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_digit_at_r` [INFO] [stdout] --> src/hierarchy/parent_child.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let original_digit_at_r = get_index_digit(parent_h, r_digit_to_invalidate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_digit_at_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hierarchy/compaction.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i, &cell) in h3_set.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hierarchy/compaction.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | mut h3_set: &mut [H3Index], // Takes mutable slice for in-place sort & modification [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: `skip_digit_res` [INFO] [stdout] --> src/iterators.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let skip_digit_res = if is_pentagon(h_iter) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_digit_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_on_current_face` [INFO] [stdout] --> src/local_ij.rs:295:11 [INFO] [stdout] | [INFO] [stdout] 295 | let mut center_on_current_face = FaceIJK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_on_current_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/local_ij.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | let mut center_on_current_face = FaceIJK { [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/polygon.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut p1_lng = normalize_lng_for_comparison( [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/polygon.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut p2_lng = normalize_lng_for_comparison( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/regions/polyfill.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | let mut center = LatLng::default(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/regions/polyfill.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut center = LatLng::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_opt` [INFO] [stdout] --> src/regions/to_polygon.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut current_opt = &mut self.buckets[index]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/regions/to_polygon.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut current_opt = &mut self.buckets[index]; [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/regions/to_polygon.rs:373:7 [INFO] [stdout] | [INFO] [stdout] 373 | for mut hole_info in hole_candidates { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_to_neighbor` [INFO] [stdout] --> src/traversal/grid_disk.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let dir_to_neighbor = CELL_DIRECTIONS[dir_enum_val]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_to_neighbor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_on_side` [INFO] [stdout] --> src/traversal/grid_disk.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | for pos_on_side in 0..k { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_on_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/traversal/neighbors.rs:355:7 [INFO] [stdout] | [INFO] [stdout] 355 | let result = dir != Direction::InvalidDigit; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox_center` is never used [INFO] [stdout] --> src/bbox.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn bbox_center(bbox: &BBox, center: &mut LatLng) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox_equals` is never used [INFO] [stdout] --> src/bbox.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | pub(crate) fn bbox_equals(b1: &BBox, b2: &BBox) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox_hex_estimate` is never used [INFO] [stdout] --> src/bbox.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | pub(crate) fn bbox_hex_estimate(bbox: &BBox, res: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_hex_estimate` is never used [INFO] [stdout] --> src/bbox.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | pub(crate) fn line_hex_estimate(origin: &LatLng, destination: &LatLng, res: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h3_lround` is never used [INFO] [stdout] --> src/coords/ijk.rs:377:4 [INFO] [stdout] | [INFO] [stdout] 377 | fn h3_lround(val: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `constrain_lat` is never used [INFO] [stdout] --> src/latlng.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn constrain_lat(lat: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PENTAGON_ROTATIONS_REVERSE` is never used [INFO] [stdout] --> src/local_ij.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | static PENTAGON_ROTATIONS_REVERSE: [[i32; 7]; 7] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_clockwise_geoloop` is never used [INFO] [stdout] --> src/polygon.rs:216:15 [INFO] [stdout] | [INFO] [stdout] 216 | pub(crate) fn is_clockwise_geoloop(geoloop: &GeoLoop, bbox: &BBox) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `res` is never read [INFO] [stdout] --> src/regions/to_polygon.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 42 | struct VertexGraph { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | res: i32, // Resolution of cells, useful for precision in hashing/equality [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VertexGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bbox` is never read [INFO] [stdout] --> src/regions/to_polygon.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 282 | struct RawLoopInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 283 | verts: Vec, [INFO] [stdout] 284 | bbox: BBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube_round` is never used [INFO] [stdout] --> src/traversal/grid_path.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn cube_round(i_f: f64, j_f: f64, k_f: f64, out_ijk: &mut CoordIJK) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `c99_round` is never used [INFO] [stdout] --> src/traversal/grid_path.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn c99_round(val: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `baseCellNumToCell` should have a snake case name [INFO] [stdout] --> src/base_cells.rs:791:15 [INFO] [stdout] | [INFO] [stdout] 791 | pub(crate) fn baseCellNumToCell(base_cell_num: i32) -> H3Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `base_cell_num_to_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eA` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:749:14 [INFO] [stdout] | [INFO] [stdout] 749 | let (eA, eB) = match edge_dir as usize { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `e_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eB` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:749:18 [INFO] [stdout] | [INFO] [stdout] 749 | let (eA, eB) = match edge_dir as usize { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `e_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `icosa_edge_vA` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:902:11 [INFO] [stdout] | [INFO] [stdout] 902 | let icosa_edge_vA: &Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `icosa_edge_v_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `icosa_edge_vB` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:903:11 [INFO] [stdout] | [INFO] [stdout] 903 | let icosa_edge_vB: &Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `icosa_edge_v_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused imports: `get_base_cell_number`, `get_resolution`, `h3_to_string_alloc`, `is_pentagon`, and `rads_to_degs` [INFO] [stdout] --> examples/basic_indexing.rs:2:52 [INFO] [stdout] | [INFO] [stdout] 2 | cell_to_boundary, cell_to_lat_lng, degs_to_rads, get_base_cell_number, get_resolution, h3_to_string_alloc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | is_pentagon, is_valid_cell, lat_lng_to_cell, rads_to_degs, H3Error, H3Index, LatLng, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_center` [INFO] [stdout] --> examples/basic_indexing.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | let cell_center: LatLng = cell_to_lat_lng(cell)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/basic_indexing.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | for i in 0..boundary.num_verts { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_child` [INFO] [stdout] --> examples/basic_indexing.rs:75:7 [INFO] [stdout] | [INFO] [stdout] 75 | let center_child = xs_h3::cell_to_center_child(parent_cell, center_child_res)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_child` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H3Index` [INFO] [stdout] --> examples/polyfill_example.rs:4:109 [INFO] [stdout] | [INFO] [stdout] 4 | degs_to_rads, max_polygon_to_cells_size, polygon_to_cells, ContainmentMode, GeoLoop, GeoPolygon, H3Error, H3Index, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/polyfill_example.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | for (i, cell_h3) in polyfill_cells.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cube_to_ijk` [INFO] [stdout] --> tests/grid_path_internal_tests.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use xs_h3::coords::ijk::{_ijk_normalize, cube_to_ijk, ijk_to_cube}; // Make cube_to_ijk pub(crate) if not already [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `xs_h3::indexing::lat_lng_to_cell` [INFO] [stdout] --> tests/grid_path_internal_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use xs_h3::indexing::lat_lng_to_cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `grid_path_cells_size` and `grid_path_cells` [INFO] [stdout] --> tests/grid_path_internal_tests.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use xs_h3::traversal::grid_path::{grid_path_cells, grid_path_cells_size}; // Assuming grid_distance is pub [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LatLng` [INFO] [stdout] --> tests/grid_path_internal_tests.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use xs_h3::types::{CoordIJK, H3Index, LatLng, H3_NULL}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `h3_to_string_alloc` [INFO] [stdout] --> examples/cell_measures.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | h3_to_string_alloc, lat_lng_to_cell, H3Error, LatLng, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `avg_area_km2` [INFO] [stdout] --> examples/cell_measures.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let avg_area_km2 = get_hexagon_area_avg_km2(res)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_area_km2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `avg_edge_km` [INFO] [stdout] --> examples/cell_measures.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let avg_edge_km = get_hexagon_edge_length_avg_km(res)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_edge_km` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_km2` [INFO] [stdout] --> examples/cell_measures.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let area_km2 = cell_area_km2(cell)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_km2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `area_m2` [INFO] [stdout] --> examples/cell_measures.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let area_m2 = cell_area_m2(cell)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_area_m2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `h3_to_string_alloc` [INFO] [stdout] --> examples/uncompact_compact.rs:3:59 [INFO] [stdout] | [INFO] [stdout] 3 | cell_to_children, cell_to_children_size, compact_cells, h3_to_string_alloc, uncompact_cells, uncompact_cells_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H3Index` and `h3_to_string_alloc` [INFO] [stdout] --> examples/cell_traversal.rs:4:91 [INFO] [stdout] | [INFO] [stdout] 4 | are_neighbor_cells, degs_to_rads, grid_distance, grid_path_cells, grid_path_cells_size, h3_to_string_alloc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | lat_lng_to_cell, H3Error, H3Index, LatLng, H3_NULL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/uncompact_compact.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | for i in 0..std::cmp::min(5, num_children) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/uncompact_compact.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | for i in 0..num_compacted { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_count` [INFO] [stdout] --> examples/uncompact_compact.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | let mut match_count = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/uncompact_compact.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | for i in 0..std::cmp::min(5, uncompacted_size) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/uncompact_compact.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | let mut match_count = 0; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `are_neighbors` [INFO] [stdout] --> examples/cell_traversal.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | let are_neighbors = are_neighbor_cells(cell1, cell2)?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_are_neighbors` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/cell_traversal.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | for (i, path_cell) in path_cells.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_set_geo_degs` [INFO] [stdout] --> src/bbox.rs:447:23 [INFO] [stdout] | [INFO] [stdout] 447 | use crate::latlng::{_set_geo_degs, geo_almost_equal}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `M_COS_AP7_ROT` and `M_SIN_AP7_ROT` [INFO] [stdout] --> src/coords/face_ijk.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | EPSILON, INV_RES0_U_GNOMONIC, MAX_H3_RES, M_AP7_ROT_RADS, M_COS_AP7_ROT, M_ONETHIRD, M_PI_2, M_RSQRT7, M_SIN_AP7_ROT, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo_almost_equal` [INFO] [stdout] --> src/coords/face_ijk.rs:21:80 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::latlng::{_geo_az_distance_rads, _geo_azimuth_rads, _pos_angle_rads, geo_almost_equal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `M_ONETHIRD` and `M_SQRT7` [INFO] [stdout] --> src/coords/ijk.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{EPSILON, M_ONESEVENTH, M_ONETHIRD, M_RSIN60, M_SQRT3_2, M_SQRT7}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H3Index` and `h3_to_string_alloc` [INFO] [stdout] --> examples/k_ring_example.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | degs_to_rads, grid_disk, grid_distance, h3_to_string_alloc, lat_lng_to_cell, max_grid_disk_size, H3Error, H3Index, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::extensions::_ipow` [INFO] [stdout] --> src/coords/ijk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::extensions::_ipow; // For _downAp* later, if needed here or used elsewhere [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H3_NULL` [INFO] [stdout] --> src/h3_index/string_conv.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{H3Error, H3Index, H3_NULL}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UNIT_VECS`, `_rotate60_ccw`, `_rotate60_cw`, and `_up_ap7` [INFO] [stdout] --> src/h3_index/mod.rs:12:63 [INFO] [stdout] | [INFO] [stdout] 12 | _down_ap7, _down_ap7r, _ijk_normalize, _ijk_sub, _neighbor, _rotate60_ccw, _rotate60_cw, _unit_ijk_to_digit, _up_ap7, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] 13 | _up_ap7r, UNIT_VECS, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_down_ap7` and `_down_ap7r` [INFO] [stdout] --> src/h3_index/mod.rs:1148:28 [INFO] [stdout] | [INFO] [stdout] 1148 | use crate::coords::ijk::{_down_ap7, _down_ap7r, _up_ap7_checked, _up_ap7r_checked}; // Assuming pub(crate) [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_h3_leading_non_zero_digit` [INFO] [stdout] --> src/hierarchy/parent_child.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | _h3_leading_non_zero_digit, get_index_digit, get_resolution, is_pentagon, set_index_digit, set_resolution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IterCellsChildren` [INFO] [stdout] --> src/hierarchy/parent_child.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::iterators::{iterInitParent, iterStepChild, IterCellsChildren}; // For cellToChildren [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `H3_RESERVED_MASK_NEGATIVE` [INFO] [stdout] --> src/hierarchy/compaction.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{H3_RESERVED_MASK_NEGATIVE, MAX_H3_RES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_reserved_bits` and `set_reserved_bits` [INFO] [stdout] --> src/hierarchy/compaction.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::h3_index::{get_reserved_bits, get_resolution, is_pentagon, set_reserved_bits}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iterInitParent` [INFO] [stdout] --> src/hierarchy/compaction.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::iterators::{iterInitParent}; // If cell_to_children uses this [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::H3_NULL` [INFO] [stdout] --> src/indexing/to_h3.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::types::H3_NULL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_h3_leading_non_zero_digit` [INFO] [stdout] --> src/iterators.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | _h3_leading_non_zero_digit, get_index_digit, get_resolution, is_pentagon, set_index_digit, set_resolution, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BASE_CELL_NEIGHBOR_60CCW_ROTS`, `INVALID_BASE_CELL`, `_base_cell_is_cw_offset`, `_face_ijk_to_base_cell_ccwrot60`, `_face_ijk_to_base_cell`, `_get_base_cell_neighbor`, and `_is_base_cell_polar_pentagon` [INFO] [stdout] --> src/local_ij.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | _base_cell_is_cw_offset, _face_ijk_to_base_cell, _face_ijk_to_base_cell_ccwrot60, _get_base_cell_direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | _get_base_cell_neighbor, _is_base_cell_pentagon, _is_base_cell_polar_pentagon, BASE_CELL_NEIGHBOR_60CCW_ROTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | INVALID_BASE_CELL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `H3_CELL_MODE`, `H3_INIT`, `MAX_H3_RES`, and `NUM_BASE_CELLS` [INFO] [stdout] --> src/local_ij.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::constants::{H3_CELL_MODE, H3_INIT, MAX_H3_RES, NUM_BASE_CELLS}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UNIT_VECS`, `_ijk_normalize_could_overflow`, `_ijk_scale`, `_rotate60_ccw`, `_unit_ijk_to_digit`, `_up_ap7`, and `_up_ap7r` [INFO] [stdout] --> src/local_ij.rs:9:52 [INFO] [stdout] | [INFO] [stdout] 9 | _down_ap7, _down_ap7r, _ijk_add, _ijk_normalize, _ijk_normalize_could_overflow, _ijk_rotate60_ccw, _ijk_rotate60_cw, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | _ijk_scale, _ijk_sub, _rotate60_ccw, _unit_ijk_to_digit, _up_ap7, _up_ap7r, ij_to_ijk, ijk_to_ij, UNIT_VECS, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_h3_rotate60_ccw`, `_h3_rotate60_cw`, `get_index_digit`, `get_mode`, `set_base_cell`, `set_index_digit`, `set_mode`, and `set_resolution` [INFO] [stdout] --> src/local_ij.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | _face_ijk_to_h3, _h3_leading_non_zero_digit, _h3_rotate60_ccw, _h3_rotate60_cw, _h3_rotate_pent60_ccw, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | _h3_rotate_pent60_cw, _h3_to_face_ijk, get_base_cell, get_index_digit, get_mode, get_resolution, is_pentagon, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 16 | is_resolution_class_iii, set_base_cell, set_index_digit, set_mode, set_resolution, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_H3_RES` [INFO] [stdout] --> src/measures.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::{EARTH_RADIUS_KM, MAX_H3_RES}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CellBoundary` and `LatLng` [INFO] [stdout] --> src/measures.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::{CellBoundary, H3Error, H3Index, LatLng}; // Helper for spherical polygon area [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::indexing::lat_lng_to_cell` [INFO] [stdout] --> src/measures.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | use crate::indexing::lat_lng_to_cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::LatLng` [INFO] [stdout] --> src/measures.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::types::LatLng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/measures.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPSILON_RAD` and `M_2PI` [INFO] [stdout] --> src/polygon.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::constants::{EPSILON_RAD, M_2PI, M_PI}; // DBL_EPSILON is from C float.h, Rust f64::EPSILON is different [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constrain_lng` [INFO] [stdout] --> src/polygon.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::latlng::{constrain_lng, normalize_lng_for_comparison}; use crate::math::vec3d::_geo_to_vec3d; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_is_base_cell_pentagon` [INFO] [stdout] --> src/regions/polyfill.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::base_cells::{_is_base_cell_pentagon, baseCellNumToCell}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPSILON_RAD`, `MAX_CELL_BNDRY_VERTS`, and `VALID_RANGE_BBOX` [INFO] [stdout] --> src/regions/polyfill.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | CELL_SCALE_FACTOR, CHILD_SCALE_FACTOR, EPSILON, EPSILON_RAD, MAX_CELL_BNDRY_VERTS, MAX_EDGE_LENGTH_RADS, MAX_H3_RES, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | M_PI, M_PI_2, NORTH_POLE_CELLS, NUM_BASE_CELLS, RES0_BBOXES, SOUTH_POLE_CELLS, VALID_RANGE_BBOX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Overage`, `_face_ijk_pent_to_cell_boundary`, and `_face_ijk_to_cell_boundary` [INFO] [stdout] --> src/regions/polyfill.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::coords::face_ijk::{Overage, _face_ijk_pent_to_cell_boundary, _face_ijk_to_cell_boundary}; // Overage might not be needed here ... [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::h3_index::inspection::is_valid_cell as h3_is_valid_cell` [INFO] [stdout] --> src/regions/polyfill.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::h3_index::inspection::is_valid_cell as h3_is_valid_cell; // Alias for clarity [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_h3_to_face_ijk` and `get_mode` [INFO] [stdout] --> src/regions/polyfill.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | _h3_to_face_ijk, get_base_cell, get_index_digit, get_mode, get_resolution, is_pentagon, set_index_digit, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flag_get_containment_mode` [INFO] [stdout] --> src/regions/polyfill.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | cell_boundary_crosses_polygon, cell_boundary_inside_polygon, flag_get_containment_mode, point_inside_polygon, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CellBoundary` [INFO] [stdout] --> src/regions/polyfill.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::types::{BBox, CellBoundary, ContainmentMode, GeoPolygon, H3Error, H3Index, LatLng, H3_NULL}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_base_cell` [INFO] [stdout] --> src/regions/to_polygon.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::h3_index::{get_base_cell, get_resolution}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CoordIJK`, `GeoPolygon`, and `Vec2d` [INFO] [stdout] --> src/regions/to_polygon.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{CellBoundary, CoordIJK, FaceIJK, GeoLoop, GeoPolygon, H3Error, H3Index, LatLng, Vec2d}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/regions/to_polygon.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::collections::HashMap; // Might be useful for _hashVertex alternative [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::constants::MAX_H3_RES` [INFO] [stdout] --> src/traversal/grid_disk.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::constants::MAX_H3_RES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::coords::ijk::_rotate60_ccw` [INFO] [stdout] --> src/traversal/grid_disk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::coords::ijk::_rotate60_ccw; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_resolution` [INFO] [stdout] --> src/traversal/grid_disk.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::h3_index::{get_resolution, is_pentagon}; // Assuming these are pub(crate) or pub [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math::extensions::_ipow` [INFO] [stdout] --> src/traversal/grid_disk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::math::extensions::_ipow; // For K_ALL_CELLS_AT_RES_15 if needed, or direct const [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::h3_index::get_mode` [INFO] [stdout] --> src/traversal/grid_path.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::h3_index::get_mode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::h3_index::inspection::is_valid_cell` [INFO] [stdout] --> src/traversal/grid_path.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::h3_index::inspection::is_valid_cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `_get_base_cell_direction` and `_get_base_cell_neighbor` [INFO] [stdout] --> src/traversal/neighbors.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | _get_base_cell_direction, // Corrected name from C-style to snake_case [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | _get_base_cell_neighbor, // Corrected name [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_H3_RES` [INFO] [stdout] --> src/traversal/neighbors.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::constants::{H3_CELL_MODE, MAX_H3_RES, NUM_BASE_CELLS}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `distance` [INFO] [stdout] --> examples/k_ring_example.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | let distance = grid_distance(origin_cell, *cell_h3)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/coords/ijk.rs:250:1 [INFO] [stdout] | [INFO] [stdout] 250 | #[inline] [INFO] [stdout] | ^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/coords/ijk.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i_res_scale` [INFO] [stdout] --> src/coords/face_ijk.rs:398:7 [INFO] [stdout] | [INFO] [stdout] 398 | for i_res_scale in 0..res { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_i_res_scale` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_r_hex2d` [INFO] [stdout] --> src/coords/face_ijk.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | let old_r_hex2d = r_hex2d_at_res0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_r_hex2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_r_hex2d` [INFO] [stdout] --> src/coords/face_ijk.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | let old_r_hex2d = r_hex2d_at_res0; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_r_hex2d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_r_hex2d_substrate_class3` [INFO] [stdout] --> src/coords/face_ijk.rs:414:11 [INFO] [stdout] | [INFO] [stdout] 414 | let old_r_hex2d_substrate_class3 = r_hex2d_at_res0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_r_hex2d_substrate_class3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_theta_for_az` [INFO] [stdout] --> src/coords/face_ijk.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let old_theta_for_az = theta_for_az; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_theta_for_az` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ijk_before_rot` [INFO] [stdout] --> src/coords/face_ijk.rs:571:11 [INFO] [stdout] | [INFO] [stdout] 571 | let ijk_before_rot = *ijk; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ijk_before_rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/coords/face_ijk.rs:1114:13 [INFO] [stdout] | [INFO] [stdout] 1114 | let mut v_orig: Vec2d; [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/coords/ijk.rs:1468:9 [INFO] [stdout] | [INFO] [stdout] 1468 | let mut h3_ijk_normalized = CoordIJK { i: 1, j: 2, k: 0 }; // Start with H3 normalized [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/h3_index/inspection.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let dir: Direction = unsafe { std::mem::transmute(dir_idx as u8) }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/h3_index/inspection.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | let mut h2 = H3Index(0x8100700000000000); // Res 1, BC0, D1=Center, D2=0 (should be 7) [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_shifted_for_mask` [INFO] [stdout] --> src/h3_index/inspection.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | let h_shifted_for_mask = h_origin.0 & H3_BC_MASK; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_shifted_for_mask` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_cell_val_before_cast` [INFO] [stdout] --> src/h3_index/inspection.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | let base_cell_val_before_cast = (h_origin.0 & H3_BC_MASK) >> H3_BC_OFFSET; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_cell_val_before_cast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h_masked_for_bc` [INFO] [stdout] --> src/h3_index/inspection.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | let h_masked_for_bc = h_known_valid.0 & H3_BC_MASK; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h_masked_for_bc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_cell_val_before_cast` [INFO] [stdout] --> src/h3_index/inspection.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | let base_cell_val_before_cast = (h_known_valid.0 & H3_BC_MASK) >> H3_BC_OFFSET; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_cell_val_before_cast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canonical_fijk_orig_for_comparison` [INFO] [stdout] --> src/h3_index/mod.rs:825:17 [INFO] [stdout] | [INFO] [stdout] 825 | let canonical_fijk_orig_for_comparison = FaceIJK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_canonical_fijk_orig_for_comparison` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/h3_index/mod.rs:801:17 [INFO] [stdout] | [INFO] [stdout] 801 | let mut fijk_orig = FaceIJK { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `original_digit_at_r` [INFO] [stdout] --> src/hierarchy/parent_child.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let original_digit_at_r = get_index_digit(parent_h, r_digit_to_invalidate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_digit_at_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/hierarchy/compaction.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i, &cell) in h3_set.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hierarchy/compaction.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | mut h3_set: &mut [H3Index], // Takes mutable slice for in-place sort & modification [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/hierarchy/compaction.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let mut compacted = [H3Index(0x85283473fffffff)]; // Res 5 cell [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/hierarchy/compaction.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let mut pent_compacted = [crate::h3_index::_face_ijk_to_h3( [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/indexing/to_h3.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut geo_nan_lng = LatLng { [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/indexing/to_h3.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let mut geo_inf_lat = LatLng { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_digit_res` [INFO] [stdout] --> src/iterators.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let skip_digit_res = if is_pentagon(h_iter) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_digit_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_on_current_face` [INFO] [stdout] --> src/local_ij.rs:295:11 [INFO] [stdout] | [INFO] [stdout] 295 | let mut center_on_current_face = FaceIJK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_on_current_face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/local_ij.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | let mut center_on_current_face = FaceIJK { [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `avg_area_rads2` [INFO] [stdout] --> src/measures.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | let avg_area_rads2 = crate::latlng::get_hexagon_area_avg_km2(5).unwrap() / (EARTH_RADIUS_KM * EARTH_RADIUS_KM); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_area_rads2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `avg_area_km2` [INFO] [stdout] --> src/measures.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let avg_area_km2 = crate::latlng::get_hexagon_area_avg_km2(5).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_area_km2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/polygon.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut p1_lng = normalize_lng_for_comparison( [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/polygon.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let mut p2_lng = normalize_lng_for_comparison( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sq1` [INFO] [stdout] --> src/polygon.rs:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | let sq1 = LatLng { lat: 0.0, lng: 0.0 }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sq1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sq2` [INFO] [stdout] --> src/polygon.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 577 | let sq2 = LatLng { lat: 0.0, lng: M_PI_2 }; // 90 deg east [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sq2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sq3` [INFO] [stdout] --> src/polygon.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 578 | let sq3 = LatLng { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sq3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/regions/polyfill.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | let mut center = LatLng::default(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/regions/polyfill.rs:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | let mut center = LatLng::default(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_opt` [INFO] [stdout] --> src/regions/to_polygon.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let mut current_opt = &mut self.buckets[index]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/regions/to_polygon.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | let mut current_opt = &mut self.buckets[index]; [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/regions/to_polygon.rs:373:7 [INFO] [stdout] | [INFO] [stdout] 373 | for mut hole_info in hole_candidates { [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/regions/to_polygon.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | let mut disk_size = match max_grid_disk_size(k_radius) { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir_to_neighbor` [INFO] [stdout] --> src/traversal/grid_disk.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let dir_to_neighbor = CELL_DIRECTIONS[dir_enum_val]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_to_neighbor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos_on_side` [INFO] [stdout] --> src/traversal/grid_disk.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | for pos_on_side in 0..k { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pos_on_side` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/traversal/neighbors.rs:355:7 [INFO] [stdout] | [INFO] [stdout] 355 | let result = dir != Direction::InvalidDigit; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox_equals` is never used [INFO] [stdout] --> src/bbox.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | pub(crate) fn bbox_equals(b1: &BBox, b2: &BBox) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bbox_hex_estimate` is never used [INFO] [stdout] --> src/bbox.rs:221:15 [INFO] [stdout] | [INFO] [stdout] 221 | pub(crate) fn bbox_hex_estimate(bbox: &BBox, res: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_hex_estimate` is never used [INFO] [stdout] --> src/bbox.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | pub(crate) fn line_hex_estimate(origin: &LatLng, destination: &LatLng, res: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `h3_lround` is never used [INFO] [stdout] --> src/coords/ijk.rs:377:4 [INFO] [stdout] | [INFO] [stdout] 377 | fn h3_lround(val: f64) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_overage_cases` is never used [INFO] [stdout] --> src/h3_index/mod.rs:926:6 [INFO] [stdout] | [INFO] [stdout] 926 | fn test_overage_cases() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIJK_INPUT_N1` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1093:9 [INFO] [stdout] | [INFO] [stdout] 1093 | const FIJK_INPUT_N1: FaceIJK = FaceIJK { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RES_INPUT_N1` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1097:9 [INFO] [stdout] | [INFO] [stdout] 1097 | const RES_INPUT_N1: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RUST_GENERATED_H3_N1` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1098:9 [INFO] [stdout] | [INFO] [stdout] 1098 | const RUST_GENERATED_H3_N1: H3Index = H3Index(0x855943d3fffffff); // What Rust currently produces [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C_EXPECTED_H3_N1` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1099:9 [INFO] [stdout] | [INFO] [stdout] 1099 | const C_EXPECTED_H3_N1: H3Index = H3Index(0x855943cffffffff); // What C path implies [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIJK_INPUT_N2` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | const FIJK_INPUT_N2: FaceIJK = FaceIJK { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RES_INPUT_N2` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | const RES_INPUT_N2: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RUST_GENERATED_H3_N2` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1107:9 [INFO] [stdout] | [INFO] [stdout] 1107 | const RUST_GENERATED_H3_N2: H3Index = H3Index(0x85594063fffffff); // What Rust currently produces [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C_EXPECTED_H3_N2` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1108:9 [INFO] [stdout] | [INFO] [stdout] 1108 | const C_EXPECTED_H3_N2: H3Index = H3Index(0x8559431bfffffff); // What C path implies [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIJK_INPUT_N1_FOR_TEST` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1112:7 [INFO] [stdout] | [INFO] [stdout] 1112 | const FIJK_INPUT_N1_FOR_TEST: FaceIJK = FaceIJK { face: 4, coord: CoordIJK { i: 46, j: 100, k: 0 } }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RES_INPUT_FOR_TEST` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1113:7 [INFO] [stdout] | [INFO] [stdout] 1113 | const RES_INPUT_FOR_TEST: i32 = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C_EXPECTED_H3_N1_FOR_TEST` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1114:7 [INFO] [stdout] | [INFO] [stdout] 1114 | const C_EXPECTED_H3_N1_FOR_TEST: H3Index = H3Index(0x855943cffffffff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIJK_INPUT_N2_FOR_TEST` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1117:7 [INFO] [stdout] | [INFO] [stdout] 1117 | const FIJK_INPUT_N2_FOR_TEST: FaceIJK = FaceIJK { face: 4, coord: CoordIJK { i: 47, j: 99, k: 0 } }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `C_EXPECTED_H3_N2_FOR_TEST` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1118:7 [INFO] [stdout] | [INFO] [stdout] 1118 | const C_EXPECTED_H3_N2_FOR_TEST: H3Index = H3Index(0x8559431bfffffff); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_h3_components_match` is never used [INFO] [stdout] --> src/h3_index/mod.rs:1121:4 [INFO] [stdout] | [INFO] [stdout] 1121 | fn assert_h3_components_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PENTAGON_ROTATIONS_REVERSE` is never used [INFO] [stdout] --> src/local_ij.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | static PENTAGON_ROTATIONS_REVERSE: [[i32; 7]; 7] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `res` is never read [INFO] [stdout] --> src/regions/to_polygon.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 42 | struct VertexGraph { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | res: i32, // Resolution of cells, useful for precision in hashing/equality [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VertexGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bbox` is never read [INFO] [stdout] --> src/regions/to_polygon.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 282 | struct RawLoopInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 283 | verts: Vec, [INFO] [stdout] 284 | bbox: BBox, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cube_round` is never used [INFO] [stdout] --> src/traversal/grid_path.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn cube_round(i_f: f64, j_f: f64, k_f: f64, out_ijk: &mut CoordIJK) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `c99_round` is never used [INFO] [stdout] --> src/traversal/grid_path.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn c99_round(val: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `baseCellNumToCell` should have a snake case name [INFO] [stdout] --> src/base_cells.rs:791:15 [INFO] [stdout] | [INFO] [stdout] 791 | pub(crate) fn baseCellNumToCell(base_cell_num: i32) -> H3Index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `base_cell_num_to_cell` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eA` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:749:14 [INFO] [stdout] | [INFO] [stdout] 749 | let (eA, eB) = match edge_dir as usize { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `e_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eB` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:749:18 [INFO] [stdout] | [INFO] [stdout] 749 | let (eA, eB) = match edge_dir as usize { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `e_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `icosa_edge_vA` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:902:11 [INFO] [stdout] | [INFO] [stdout] 902 | let icosa_edge_vA: &Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `icosa_edge_v_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `icosa_edge_vB` should have a snake case name [INFO] [stdout] --> src/coords/face_ijk.rs:903:11 [INFO] [stdout] | [INFO] [stdout] 903 | let icosa_edge_vB: &Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `icosa_edge_v_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.03s [INFO] running `Command { std: "docker" "inspect" "3652118e92c26e599ac28011b3f7b1dfaaab1a5c93a762f4024708cac385a239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3652118e92c26e599ac28011b3f7b1dfaaab1a5c93a762f4024708cac385a239", kill_on_drop: false }` [INFO] [stdout] 3652118e92c26e599ac28011b3f7b1dfaaab1a5c93a762f4024708cac385a239