[INFO] cloning repository https://github.com/lolhol/napoleon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lolhol/napoleon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolhol%2Fnapoleon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolhol%2Fnapoleon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46c461721f8d4aa2dc73a9e2e91517e2f6ba58a8 [INFO] building lolhol/napoleon against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flolhol%2Fnapoleon" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/lolhol/napoleon [INFO] finished tweaking git repo https://github.com/lolhol/napoleon [INFO] tweaked toml for git repo https://github.com/lolhol/napoleon written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lolhol/napoleon on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lolhol/napoleon 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded splines v4.4.2 [INFO] [stderr] Downloaded equator v0.2.2 [INFO] [stderr] Downloaded wide v0.7.32 [INFO] [stderr] Downloaded equator-macro v0.2.1 [INFO] [stderr] Downloaded generator v0.8.4 [INFO] [stderr] Downloaded uuid v1.15.1 [INFO] [stderr] Downloaded cmov v0.3.1 [INFO] [stderr] Downloaded unicode-ident v1.0.17 [INFO] [stderr] Downloaded elapsed v0.1.2 [INFO] [stderr] Downloaded fixed v1.29.0 [INFO] [stderr] Downloaded aligned-vec v0.6.1 [INFO] [stderr] Downloaded init_with v1.1.0 [INFO] [stderr] Downloaded redox_syscall v0.5.9 [INFO] [stderr] Downloaded az v1.2.1 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded divrem v1.0.0 [INFO] [stderr] Downloaded either v1.14.0 [INFO] [stderr] Downloaded sorted-vec v0.8.6 [INFO] [stderr] Downloaded jni-utils v0.1.1 [INFO] [stderr] Downloaded safe_arch v0.7.4 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] [stderr] Downloaded kiddo v5.0.3 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5156186e5437025863005b0448f9dde8ac12162edc6d349bdfea3f409703268 [INFO] running `Command { std: "docker" "start" "-a" "c5156186e5437025863005b0448f9dde8ac12162edc6d349bdfea3f409703268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5156186e5437025863005b0448f9dde8ac12162edc6d349bdfea3f409703268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5156186e5437025863005b0448f9dde8ac12162edc6d349bdfea3f409703268", kill_on_drop: false }` [INFO] [stdout] c5156186e5437025863005b0448f9dde8ac12162edc6d349bdfea3f409703268 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf611c94bf6cc095fc4606b52d07130ab835849e57de0d39b36b68c031b78796 [INFO] running `Command { std: "docker" "start" "-a" "bf611c94bf6cc095fc4606b52d07130ab835849e57de0d39b36b68c031b78796", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling bytemuck v1.21.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling fixed v1.29.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling jni-utils v0.1.1 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling elapsed v0.1.2 [INFO] [stderr] Compiling cmov v0.3.1 [INFO] [stderr] Compiling divrem v1.0.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling init_with v1.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling wide v0.7.32 [INFO] [stderr] Compiling sorted-vec v0.8.6 [INFO] [stderr] Compiling uuid v1.15.1 [INFO] [stderr] Compiling splines v4.4.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling generator v0.8.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling equator-macro v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling equator v0.2.2 [INFO] [stderr] Compiling aligned-vec v0.6.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling jni v0.21.1 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling kiddo v5.0.3 [INFO] [stderr] Compiling napoleon-core v0.1.0 (/opt/rustwide/workdir/src/main/rust) [INFO] [stdout] warning: unused import: `kiddo::NearestNeighbour` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiddo::NearestNeighbour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra::{distance, Vector2}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | fn calculate_transformation_matrix_at(&self, time_ms: f64) -> Matrix3 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [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/main/rust/src/pathfinding/rrt_star.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DynamicObject { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | transformation_matrix: Matrix3, [INFO] [stdout] 9 | dimensions: D, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PathPlannerTrajectory { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 8 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathPlannerTrajectory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TrajectoryState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | time_seconds: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pose: RobotPose, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | field_speeds: ChassisSpeeds, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | linear_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | heading: Rotation2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | module_states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | feedforwards: DriveFeedforwards, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | delta_rot: Rotation2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | constraints: PathConstraints, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | waypoint_relative_pos: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrajectoryState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `translation` and `rotation` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RobotPose { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | translation: Point2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | rotation: Rotation2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RobotPose` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vx`, `vy`, and `omega` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ChassisSpeeds { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | vx: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | vy: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | omega: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChassisSpeeds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speed`, `angle`, `field_angle`, `field_pos`, and `delta_pos` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SwerveModuleState { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 46 | speed: f64, // meters per second [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | angle: Rotation2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | field_angle: Rotation2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | field_pos: Point2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwerveModuleState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `accel`, `linear_force`, `torque_current`, `force_x`, and `force_y` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DriveFeedforwards { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 55 | accel: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | linear_force: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | torque_current: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | force_x: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | force_y: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DriveFeedforwards` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_velocity`, `max_acceleration`, `max_angular_velocity`, and `max_angular_acceleration` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PathConstraints { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 64 | max_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | max_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | max_angular_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | max_angular_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathConstraints` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_ms_since_initial` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star/node.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | time_ms_since_initial: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RRTStar { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | grid: HybridGrid, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling napoleon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kiddo::NearestNeighbour` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiddo::NearestNeighbour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra::{distance, Vector2}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | fn calculate_transformation_matrix_at(&self, time_ms: f64) -> Matrix3 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [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/main/rust/src/pathfinding/rrt_star.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DynamicObject { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | transformation_matrix: Matrix3, [INFO] [stdout] 9 | dimensions: D, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PathPlannerTrajectory { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 8 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathPlannerTrajectory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TrajectoryState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | time_seconds: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pose: RobotPose, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | field_speeds: ChassisSpeeds, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | linear_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | heading: Rotation2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | module_states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | feedforwards: DriveFeedforwards, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | delta_rot: Rotation2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | constraints: PathConstraints, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | waypoint_relative_pos: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrajectoryState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `translation` and `rotation` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RobotPose { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | translation: Point2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | rotation: Rotation2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RobotPose` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vx`, `vy`, and `omega` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ChassisSpeeds { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | vx: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | vy: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | omega: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChassisSpeeds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speed`, `angle`, `field_angle`, `field_pos`, and `delta_pos` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SwerveModuleState { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 46 | speed: f64, // meters per second [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | angle: Rotation2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | field_angle: Rotation2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | field_pos: Point2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwerveModuleState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `accel`, `linear_force`, `torque_current`, `force_x`, and `force_y` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DriveFeedforwards { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 55 | accel: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | linear_force: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | torque_current: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | force_x: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | force_y: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DriveFeedforwards` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_velocity`, `max_acceleration`, `max_angular_velocity`, and `max_angular_acceleration` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PathConstraints { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 64 | max_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | max_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | max_angular_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | max_angular_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathConstraints` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_ms_since_initial` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star/node.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | time_ms_since_initial: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RRTStar { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | grid: HybridGrid, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.00s [INFO] running `Command { std: "docker" "inspect" "bf611c94bf6cc095fc4606b52d07130ab835849e57de0d39b36b68c031b78796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf611c94bf6cc095fc4606b52d07130ab835849e57de0d39b36b68c031b78796", kill_on_drop: false }` [INFO] [stdout] bf611c94bf6cc095fc4606b52d07130ab835849e57de0d39b36b68c031b78796 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00396805f02bae99e8caa4bb04e110a796053f76f501fa30a887696ee86e89c4 [INFO] running `Command { std: "docker" "start" "-a" "00396805f02bae99e8caa4bb04e110a796053f76f501fa30a887696ee86e89c4", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `kiddo::NearestNeighbour` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiddo::NearestNeighbour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra::{distance, Vector2}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | fn calculate_transformation_matrix_at(&self, time_ms: f64) -> Matrix3 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [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/main/rust/src/pathfinding/rrt_star.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DynamicObject { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | transformation_matrix: Matrix3, [INFO] [stdout] 9 | dimensions: D, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PathPlannerTrajectory { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 8 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathPlannerTrajectory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TrajectoryState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | time_seconds: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pose: RobotPose, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | field_speeds: ChassisSpeeds, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | linear_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | heading: Rotation2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | module_states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | feedforwards: DriveFeedforwards, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | delta_rot: Rotation2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | constraints: PathConstraints, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | waypoint_relative_pos: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrajectoryState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `translation` and `rotation` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RobotPose { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | translation: Point2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | rotation: Rotation2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RobotPose` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vx`, `vy`, and `omega` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ChassisSpeeds { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | vx: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | vy: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | omega: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChassisSpeeds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speed`, `angle`, `field_angle`, `field_pos`, and `delta_pos` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SwerveModuleState { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 46 | speed: f64, // meters per second [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | angle: Rotation2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | field_angle: Rotation2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | field_pos: Point2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwerveModuleState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `accel`, `linear_force`, `torque_current`, `force_x`, and `force_y` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DriveFeedforwards { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 55 | accel: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | linear_force: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | torque_current: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | force_x: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | force_y: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DriveFeedforwards` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_velocity`, `max_acceleration`, `max_angular_velocity`, and `max_angular_acceleration` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PathConstraints { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 64 | max_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | max_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | max_angular_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | max_angular_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathConstraints` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_ms_since_initial` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star/node.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | time_ms_since_initial: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RRTStar { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | grid: HybridGrid, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling napoleon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `kiddo::NearestNeighbour` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use kiddo::NearestNeighbour; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance` [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use nalgebra::{distance, Vector2}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | fn calculate_transformation_matrix_at(&self, time_ms: f64) -> Matrix3 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/time_point_dynamic_object.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | fn contains_point(&self, point: Vector2) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [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/main/rust/src/pathfinding/rrt_star.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn calculate_path(&self, start: Vector2, end: Vector2) -> Option>> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dimensions` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/precalculated_dynamic_object.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DynamicObject { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 8 | transformation_matrix: Matrix3, [INFO] [stdout] 9 | dimensions: D, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `states` is never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PathPlannerTrajectory { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 8 | states: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathPlannerTrajectory` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TrajectoryState { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 14 | time_seconds: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pose: RobotPose, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | [INFO] [stdout] 17 | field_speeds: ChassisSpeeds, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | linear_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | heading: Rotation2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | module_states: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | [INFO] [stdout] 23 | feedforwards: DriveFeedforwards, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 24 | [INFO] [stdout] 25 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | delta_rot: Rotation2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | constraints: PathConstraints, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 28 | waypoint_relative_pos: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrajectoryState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `translation` and `rotation` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct RobotPose { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 33 | translation: Point2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | rotation: Rotation2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RobotPose` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vx`, `vy`, and `omega` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ChassisSpeeds { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | vx: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 40 | vy: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | omega: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChassisSpeeds` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `speed`, `angle`, `field_angle`, `field_pos`, and `delta_pos` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct SwerveModuleState { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 46 | speed: f64, // meters per second [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | angle: Rotation2, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | field_angle: Rotation2, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 49 | field_pos: Point2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | delta_pos: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwerveModuleState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `accel`, `linear_force`, `torque_current`, `force_x`, and `force_y` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DriveFeedforwards { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 55 | accel: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | linear_force: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 57 | torque_current: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 58 | force_x: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | force_y: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DriveFeedforwards` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_velocity`, `max_acceleration`, `max_angular_velocity`, and `max_angular_acceleration` are never read [INFO] [stdout] --> src/main/rust/src/hybrid_grid/dynamic_objects/trajectory_state.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct PathConstraints { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 64 | max_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 65 | max_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | max_angular_velocity: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | max_angular_acceleration: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PathConstraints` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `time_ms_since_initial` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/a_star/node.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | time_ms_since_initial: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `grid` is never read [INFO] [stdout] --> src/main/rust/src/pathfinding/rrt_star.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RRTStar { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 8 | grid: HybridGrid, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "00396805f02bae99e8caa4bb04e110a796053f76f501fa30a887696ee86e89c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00396805f02bae99e8caa4bb04e110a796053f76f501fa30a887696ee86e89c4", kill_on_drop: false }` [INFO] [stdout] 00396805f02bae99e8caa4bb04e110a796053f76f501fa30a887696ee86e89c4