[INFO] cloning repository https://github.com/Equescript/PonyDynamicsDll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Equescript/PonyDynamicsDll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquescript%2FPonyDynamicsDll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquescript%2FPonyDynamicsDll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3db25d262280c3012515d2eaae91cca69de8c426 [INFO] checking Equescript/PonyDynamicsDll/3db25d262280c3012515d2eaae91cca69de8c426 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquescript%2FPonyDynamicsDll" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Equescript/PonyDynamicsDll on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Equescript/PonyDynamicsDll [INFO] finished tweaking git repo https://github.com/Equescript/PonyDynamicsDll [INFO] tweaked toml for git repo https://github.com/Equescript/PonyDynamicsDll written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Equescript/PonyDynamicsDll already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38e36aa7da505d8291dae1cf385f8343e275091eafaa8470a888ff7adb0d2580 [INFO] running `Command { std: "docker" "start" "-a" "38e36aa7da505d8291dae1cf385f8343e275091eafaa8470a888ff7adb0d2580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38e36aa7da505d8291dae1cf385f8343e275091eafaa8470a888ff7adb0d2580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e36aa7da505d8291dae1cf385f8343e275091eafaa8470a888ff7adb0d2580", kill_on_drop: false }` [INFO] [stdout] 38e36aa7da505d8291dae1cf385f8343e275091eafaa8470a888ff7adb0d2580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392041c1b144fdd4dac16081ae110c60cf5f8624901325535eb09fcdb166e5aa [INFO] running `Command { std: "docker" "start" "-a" "392041c1b144fdd4dac16081ae110c60cf5f8624901325535eb09fcdb166e5aa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Checking wide v0.7.5 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking simba v0.8.0 [INFO] [stderr] Checking nalgebra v0.32.1 [INFO] [stderr] Checking nalgebra-glm v0.18.0 [INFO] [stderr] Checking PonyDynamicsDll v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `PonyDynamics` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/armature.rs [INFO] [stderr] * src/context.rs [INFO] [stderr] * src/dynamics.rs [INFO] [stderr] * src/gaits/InitiateWalk.rs [INFO] [stderr] * src/gaits/Stance.rs [INFO] [stderr] * src/gaits/Walk.rs [INFO] [stderr] * src/kinematics.rs [INFO] [stderr] * src/math.rs [INFO] [stderr] * src/predictor.rs [INFO] [stderr] * src/units.rs [INFO] [stderr] * src/utils/ffi.rs [INFO] [stderr] * src/utils/macros.rs [INFO] [stderr] * src/utils/memory.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/gaits/InitiateWalk.rs:156:18 [INFO] [stderr] | [INFO] [stderr] 156 | ($i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/macros.rs:43:47 [INFO] [stderr] | [INFO] [stderr] 43 | $($(#[$vmeta:meta])* $vname:ident $(= $val:expr_2021)?),* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | pub frictional_factor: FrictionalCoeff, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:21:78 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn initialize(normal: Vec3, base_point: Location, frictional_factor: FrictionalCoeff) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Time` in this scope [INFO] [stderr] --> src/context.rs:47:15 [INFO] [stderr] | [INFO] [stderr] 47 | pub tick: Time, // s/f [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Time; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Time` in this scope [INFO] [stderr] --> src/context.rs:64:102 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn initialize_path_data(&mut self, targets_size: usize, centripetal_force_factor: f64, tick: Time, frame_current: usize, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Time; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:65:71 [INFO] [stderr] | [INFO] [stderr] 65 | ground_normal: Vec3, base_point: Location, frictional_factor: FrictionalCoeff [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:74:51 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:74:83 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:74:116 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Time` in this scope [INFO] [stderr] --> src/context.rs:89:81 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn initialize(targets_size: usize, centripetal_force_factor: f64, tick: Time, ground_normal: Vec3, base_point: Location, friction... [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Time; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:89:149 [INFO] [stderr] | [INFO] [stderr] 89 | ...Vec3, base_point: Location, frictional_factor: FrictionalCoeff, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:91:20 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:91:51 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:91:83 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:91:116 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/dynamics.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | pub angular_accel: AngularAccel [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Force` in this scope [INFO] [stderr] --> src/dynamics.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | pub force: Force, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Torque` in this scope [INFO] [stderr] --> src/dynamics.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn torque(&self) -> Torque { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Torque; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/dynamics.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | pub mass: Mass, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/dynamics.rs:53:29 [INFO] [stderr] | [INFO] [stderr] 53 | pub rotational_inertia: RotationalInertia, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/dynamics.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn initialize(mass: Mass, rotational_inertia: RotationalInertia) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/dynamics.rs:61:55 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn initialize(mass: Mass, rotational_inertia: RotationalInertia) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Force` in this scope [INFO] [stderr] --> src/dynamics.rs:67:26 [INFO] [stderr] | [INFO] [stderr] 67 | let mut joint_force: Force = Force::zeros(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Force` [INFO] [stderr] --> src/dynamics.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | let mut joint_force: Force = Force::zeros(); [INFO] [stderr] | ^^^^^ use of undeclared type `Force` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Torque` in this scope [INFO] [stderr] --> src/dynamics.rs:68:27 [INFO] [stderr] | [INFO] [stderr] 68 | let mut joint_torque: Torque = Torque::zeros(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Torque; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Torque` [INFO] [stderr] --> src/dynamics.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | let mut joint_torque: Torque = Torque::zeros(); [INFO] [stderr] | ^^^^^^ use of undeclared type `Torque` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Torque; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:45:54 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:45:64 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:48:66 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:48:86 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:72 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:111 [INFO] [stderr] | [INFO] [stderr] 55 | ...y_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:128 [INFO] [stderr] | [INFO] [stderr] 55 | ...Velocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | let angular_velocity_correction: AngularVelocity = angular_velocity_correction(rotation); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | let rotation: Angle = math::angle_of_rotation_matrix(&(t0.center.basis_matrix * glm::inverse(&p0.center.basis_matrix))); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:67:38 [INFO] [stderr] | [INFO] [stderr] 67 | let angular_velocity_offset: AngularVelocity = t0.center.angular_velocity - p0.center.angular_velocity; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | legs_max_height: [Length; 4], [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:90:40 [INFO] [stderr] | [INFO] [stderr] 90 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:106:65 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn initialize(preferred_leg: LegType, legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:106:96 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn initialize(preferred_leg: LegType, legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:106:104 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn initialize(preferred_leg: LegType, legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:117:60 [INFO] [stderr] | [INFO] [stderr] 117 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:117:71 [INFO] [stderr] | [INFO] [stderr] 117 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:45:54 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:45:64 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:48:66 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:48:86 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:72 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:111 [INFO] [stderr] | [INFO] [stderr] 55 | ...y_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:128 [INFO] [stderr] | [INFO] [stderr] 55 | ...Velocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | let angular_velocity_correction: AngularVelocity = angular_velocity_correction(rotation); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | let rotation: Angle = math::angle_of_rotation_matrix(&(t0.center.basis_matrix * glm::inverse(&p0.center.basis_matrix))); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:67:38 [INFO] [stderr] | [INFO] [stderr] 67 | let angular_velocity_offset: AngularVelocity = t0.center.angular_velocity - p0.center.angular_velocity; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | legs_max_height: [Length; 4], [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:99:24 [INFO] [stderr] | [INFO] [stderr] 99 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:99:32 [INFO] [stderr] | [INFO] [stderr] 99 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:119:41 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn initialize(legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f64, pattern_recovery_fac... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:119:72 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn initialize(legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f64, pattern_recovery_fac... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:119:80 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn initialize(legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f64, pattern_recovery_fac... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:130:45 [INFO] [stderr] | [INFO] [stderr] 130 | fn step_length(&self, velocity: f64) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:133:60 [INFO] [stderr] | [INFO] [stderr] 133 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:133:71 [INFO] [stderr] | [INFO] [stderr] 133 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/kinematics.rs:54:15 [INFO] [stderr] | [INFO] [stderr] 54 | Angle(Angle), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/kinematics.rs:82:37 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn rotation_angle(&self) -> Angle { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/kinematics.rs:96:31 [INFO] [stderr] | [INFO] [stderr] 96 | pub angular_velocity: AngularVelocity, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/kinematics.rs:97:28 [INFO] [stderr] | [INFO] [stderr] 97 | pub angular_accel: AngularAccel, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularVelocity` [INFO] [stderr] --> src/kinematics.rs:108:31 [INFO] [stderr] | [INFO] [stderr] 108 | angular_velocity: AngularVelocity::zeros(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `AngularVelocity` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularAccel` [INFO] [stderr] --> src/kinematics.rs:109:28 [INFO] [stderr] | [INFO] [stderr] 109 | angular_accel: AngularAccel::zeros(), [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `AngularAccel` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularAccel` [INFO] [stderr] --> src/kinematics.rs:121:30 [INFO] [stderr] | [INFO] [stderr] 121 | self.angular_accel = AngularAccel::zeros() [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `AngularAccel` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularAccel` [INFO] [stderr] --> src/kinematics.rs:146:24 [INFO] [stderr] | [INFO] [stderr] 146 | angular_accel: AngularAccel::zeros() [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `AngularAccel` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Force` in this scope [INFO] [stderr] --> src/armature.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | pub forces: Vec, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Force` [INFO] [stderr] --> src/armature.rs:175:82 [INFO] [stderr] | [INFO] [stderr] 175 | Self { leg_type, forces: Vec::new(), joint_force: MomentOfForce { force: Force::zeros(), arm: Location::zeros() } } [INFO] [stderr] | ^^^^^ use of undeclared type `Force` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/armature.rs:200:34 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn initialize(head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: Rotation... [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/armature.rs:200:65 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn initialize(head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: Rotation... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/armature.rs:200:97 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn initialize(head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: Rotation... [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/armature.rs:200:130 [INFO] [stderr] | [INFO] [stderr] 200 | ...center_mass: Mass, center_rotational_inertia: RotationalInertia) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stderr] --> src/math.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | let u2sinθ: Vec3 = Vec3::new(m.m32-m.m23, m.m13-m.m31, m.m21-m.m12); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the usage includes 'θ' (U+03B8) [INFO] [stderr] = note: please recheck to make sure their usages are indeed what you want [INFO] [stderr] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel` and `Velocity` [INFO] [stderr] --> src/units.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/context.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Velocity` [INFO] [stderr] --> src/units.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dynamics.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel`, `Location`, and `Velocity` [INFO] [stderr] --> src/units.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gaits/Stance.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel`, `Location`, and `Velocity` [INFO] [stderr] --> src/units.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gaits/mod.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant `c_void` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | c_void = 0, // c_void is ptr [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `CVoid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `c_char` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | c_char, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `CChar` [INFO] [stderr] [INFO] [stderr] warning: variant `c_uchar` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | c_uchar, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `CUchar` [INFO] [stderr] [INFO] [stderr] warning: variant `c_short` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | c_short, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `CShort` [INFO] [stderr] [INFO] [stderr] warning: variant `c_ushort` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | c_ushort, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stderr] [INFO] [stderr] warning: variant `c_int` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | c_int, [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stderr] [INFO] [stderr] warning: variant `c_uint` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | c_uint, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `CUint` [INFO] [stderr] [INFO] [stderr] warning: variant `c_longlong` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | c_longlong, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CLonglong` [INFO] [stderr] [INFO] [stderr] warning: variant `c_ulonglong` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | c_ulonglong, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CUlonglong` [INFO] [stderr] [INFO] [stderr] warning: variant `c_float` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | c_float, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `CFloat` [INFO] [stderr] [INFO] [stderr] warning: variant `c_double` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | c_double, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `CDouble` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Velocity` [INFO] [stderr] --> src/units.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/armature.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant `Foreleg_L` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | Foreleg_L = 0, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegL` [INFO] [stderr] [INFO] [stderr] warning: variant `Foreleg_R` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | Foreleg_R, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegR` [INFO] [stderr] [INFO] [stderr] warning: variant `Backleg_L` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | Backleg_L, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegL` [INFO] [stderr] [INFO] [stderr] warning: variant `Backleg_R` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Backleg_R, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegR` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel`, `Location`, and `Velocity` [INFO] [stderr] --> src/units.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/predictor.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `EffectOfForce: From<&KinematicsState>` is not satisfied [INFO] [stderr] --> src/context.rs:139:40 [INFO] [stderr] | [INFO] [stderr] 139 | self.pridictions[0].center.into() [INFO] [stderr] | ^^^^ the trait `From<&KinematicsState>` is not implemented for `EffectOfForce`, which is required by `&KinematicsState: Into<_>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `From` is implemented for `EffectOfForce` [INFO] [stderr] = help: for that trait implementation, expected `KinematicsState`, found `&KinematicsState` [INFO] [stderr] = note: required for `&KinematicsState` to implement `Into` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/gaits/Stance.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/gaits/Stance.rs:20:56 [INFO] [stderr] | [INFO] [stderr] 20 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/gaits/Stance.rs:20:91 [INFO] [stderr] | [INFO] [stderr] 20 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/gaits/Stance.rs:20:122 [INFO] [stderr] | [INFO] [stderr] 20 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_offset` [INFO] [stderr] --> src/gaits/Stance.rs:20:144 [INFO] [stderr] | [INFO] [stderr] 20 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature` [INFO] [stderr] --> src/gaits/Stance.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature_rest` [INFO] [stderr] --> src/gaits/Stance.rs:32:65 [INFO] [stderr] | [INFO] [stderr] 32 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ground` [INFO] [stderr] --> src/gaits/Stance.rs:32:95 [INFO] [stderr] | [INFO] [stderr] 32 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/gaits/Stance.rs:32:112 [INFO] [stderr] | [INFO] [stderr] 32 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/gaits/Stance.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/gaits/Stance.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `planners` [INFO] [stderr] --> src/gaits/Stance.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/gaits/Stance.rs:33:61 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature` [INFO] [stderr] --> src/armature.rs:39:30 [INFO] [stderr] | [INFO] [stderr] 39 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature_rest` [INFO] [stderr] --> src/armature.rs:39:65 [INFO] [stderr] | [INFO] [stderr] 39 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ground` [INFO] [stderr] --> src/armature.rs:39:95 [INFO] [stderr] | [INFO] [stderr] 39 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/armature.rs:39:112 [INFO] [stderr] | [INFO] [stderr] 39 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/armature.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/armature.rs:40:20 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `planners` [INFO] [stderr] --> src/armature.rs:40:46 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/armature.rs:40:61 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/predictor.rs:112:37 [INFO] [stderr] | [INFO] [stderr] 112 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/predictor.rs:112:56 [INFO] [stderr] | [INFO] [stderr] 112 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/predictor.rs:112:91 [INFO] [stderr] | [INFO] [stderr] 112 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/predictor.rs:112:122 [INFO] [stderr] | [INFO] [stderr] 112 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_offset` [INFO] [stderr] --> src/predictor.rs:112:144 [INFO] [stderr] | [INFO] [stderr] 112 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stderr] [INFO] [stderr] error: aborting due to 84 previous errors; 52 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 38 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 57 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 79 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 103 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 125 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 142 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/math.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let u2sinθ: Vec3 = Vec3::new(m.m32-m.m23, m.m13-m.m31, m.m21-m.m12); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'θ' (U+03B8) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `Length`, `Momentum`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kinematics::{Pose, KinematicsState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/context.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dynamics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy`, `ImplIndex`, and `IntEnum` [INFO] [stdout] --> src/gaits/Stance.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Stance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat3`, `Vec3`, and `self` [INFO] [stdout] --> src/gaits/Stance.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{self, Vec3, Mat3}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GaitLegInfo`, `GaitPridiction`, and `GaitType` [INFO] [stdout] --> src/gaits/Stance.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{GaitType, GaitLegInfo, GaitPridiction}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pridiction` [INFO] [stdout] --> src/gaits/Stance.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::predictor::{Planner, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics`, `LegMotionInfo`, and `LegType` [INFO] [stdout] --> src/gaits/Stance.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, `Pose`, `Roatation`, and `Transform` [INFO] [stdout] --> src/gaits/Stance.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplIndex` and `IntEnum` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/InitiateWalk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics` and `LegMotionInfo` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::armature::{LegType, LegMotionInfo, Controller, UseControllerStructs, IDsolver, LegKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KinematicsState` and `Pose` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gaits/InitiateWalk.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | ($i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy` and `ImplIndex` [INFO] [stdout] --> src/gaits/Walk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Walk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LegKinematics` [INFO] [stdout] --> src/gaits/Walk.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/gaits/Walk.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::targets::Targets` [INFO] [stdout] --> src/gaits/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::targets::Targets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/gaits/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pridiction` and `Pridictions` [INFO] [stdout] --> src/gaits/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::predictor::{Planner, Pridictions, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArmatureKinematics` [INFO] [stdout] --> src/gaits/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::armature::{Controller, ArmatureKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, and `Pose` [INFO] [stdout] --> src/gaits/mod.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/gaits/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_float` [INFO] [stdout] --> src/utils/ffi.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_float, c_double}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/utils/ffi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_uchar`, `c_uint`, `c_ulonglong`, `c_ushort`, and `c_void` [INFO] [stdout] --> src/utils/memory.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_void, c_char, c_uchar, c_short, c_ushort, c_int, c_uint, c_longlong, c_ulonglong, c_float, c_double}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_void` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | c_void = 0, // c_void is ptr [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CVoid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_char` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | c_char, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uchar` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | c_uchar, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CUchar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_short` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | c_short, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CShort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ushort` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | c_ushort, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_int` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | c_int, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uint` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | c_uint, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CUint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_longlong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | c_longlong, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CLonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ulonglong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | c_ulonglong, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CUlonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_float` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | c_float, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_double` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | c_double, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CDouble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/macros.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | $($(#[$vmeta:meta])* $vname:ident $(= $val:expr)?),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | $($(#[$vmeta:meta])* $vname:ident $(= $val:expr_2021)?),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/kinematics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Qua` [INFO] [stdout] --> src/kinematics.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4, Qua}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicsState` [INFO] [stdout] --> src/kinematics.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::dynamics::{DynamicsState, EffectOfForce}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/armature.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat4` [INFO] [stdout] --> src/armature.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Roatation` [INFO] [stdout] --> src/armature.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{Pose, Transform, KinematicsState, Roatation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GaitType` [INFO] [stdout] --> src/armature.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::gaits::{GaitType, GaitLegInfo, Planners}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Foreleg_L = 0, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Foreleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Backleg_L, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Backleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/predictor.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math` [INFO] [stdout] --> src/predictor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/predictor.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/predictor.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::macros::{ImplCopy, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/predictor.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForwardKinematicsSolver` [INFO] [stdout] --> src/predictor.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::kinematics::{KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/predictor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/targets.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::macros::ImplCopy` [INFO] [stdout] --> src/targets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::macros::ImplCopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InverseKinematicsSolver` [INFO] [stdout] --> src/targets.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{KinematicsState, InverseKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_int` and `c_void` [INFO] [stdout] --> src/lib.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::raw::{c_int, c_uint, c_ulonglong, c_double, c_void}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_legs_data` [INFO] [stdout] --> src/lib.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | use utils::ffi::{vec3_from_ptr, mat3_from_ptr, load_legs_data}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:24:91 [INFO] [stdout] | [INFO] [stdout] 24 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:24:122 [INFO] [stdout] | [INFO] [stdout] 24 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Stance.rs:24:144 [INFO] [stdout] | [INFO] [stdout] 24 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/gaits/Stance.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/Stance.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/Stance.rs:36:95 [INFO] [stdout] | [INFO] [stdout] 36 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:36:112 [INFO] [stdout] | [INFO] [stdout] 36 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/gaits/Stance.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Stance.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Stance.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:144 [INFO] [stdout] | [INFO] [stdout] 39 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance` is never read [INFO] [stdout] --> src/gaits/InitiateWalk.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut distance = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_vecs` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let projection_vecs: [Vec3; 2] = [get_projection_vec!(index), get_projection_vec!(next_index)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_vecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:65 [INFO] [stdout] | [INFO] [stdout] 125 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:95 [INFO] [stdout] | [INFO] [stdout] 125 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Walk.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Walk.rs:38:144 [INFO] [stdout] | [INFO] [stdout] 38 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Walk.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Walk.rs:397:63 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | self.ground_normal = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub unsafe fn alloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | self.ground_base_point = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | self.local_matrix = alloc::alloc(mat3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | self.body_mass_center_local_location = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | self.legs_data = alloc::alloc(legs_data) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | alloc::dealloc(self.ground_normal as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | alloc::dealloc(self.ground_base_point as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | alloc::dealloc(self.local_matrix as *mut u8, mat3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | alloc::dealloc(self.body_mass_center_local_location as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | alloc::dealloc(self.legs_data as *mut u8, legs_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::memory::Pointer::::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | self.dealloc(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn alloc(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | self.ptr = alloc::alloc(self.layout) as *const T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | alloc::dealloc(self.ptr as *mut u8, self.layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/armature.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/armature.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 39 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/armature.rs:39:95 [INFO] [stdout] | [INFO] [stdout] 39 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/armature.rs:39:112 [INFO] [stdout] | [INFO] [stdout] 39 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/armature.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/armature.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/armature.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/armature.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/armature.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/armature.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut d = [ [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/math.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut l: (usize, usize) = (0, 0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/predictor.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/predictor.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/predictor.rs:116:91 [INFO] [stdout] | [INFO] [stdout] 116 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/predictor.rs:116:122 [INFO] [stdout] | [INFO] [stdout] 116 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/predictor.rs:116:144 [INFO] [stdout] | [INFO] [stdout] 116 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `context` is never used [INFO] [stdout] --> src/lib.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn context() -> &'static Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_output` is never used [INFO] [stdout] --> src/context.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn calculate_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `legs_max_height`, `contact_percentage`, `stance_percentage`, `swing_percentage`, `period`, and `pattern_recovery_factor` are never read [INFO] [stdout] --> src/gaits/InitiateWalk.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct InitiateWalkController { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 89 | preferred_leg: LegType, // const [INFO] [stdout] 90 | legs_max_height: [Length; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stdout] 92 | contact_percentage: f64, // walk步态两脚同时触地时间在周期中的占比 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | stance_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | swing_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | period: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | pattern_recovery_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiateWalkController` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hoove_offset` is never used [INFO] [stdout] --> src/gaits/InitiateWalk.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl InitiateWalkController { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestError` is never constructed [INFO] [stdout] --> src/utils/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct TestError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `layout` are never read [INFO] [stdout] --> src/utils/memory.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Pointer { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | layout: alloc::Layout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ptr`, `alloc`, and `dealloc` are never used [INFO] [stdout] --> src/utils/memory.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Pointer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn ptr(&self) -> Option<*const T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub unsafe fn alloc(&mut self, count: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_rows` is never used [INFO] [stdout] --> src/math.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn sort_rows(d: &mut [[f64; 3]; 3], l: (usize, usize)) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operations` is never used [INFO] [stdout] --> src/math.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | enum Operations { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/targets.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl ProjectionTarget { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 16 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `PonyDynamics` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `pony_dynamics` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | FL_root_location: *const c_double, FL_hoove_location: *const c_double, FL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_root_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | FL_root_location: *const c_double, FL_hoove_location: *const c_double, FL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:76 [INFO] [stdout] | [INFO] [stdout] 59 | FL_root_location: *const c_double, FL_hoove_location: *const c_double, FL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | FR_root_location: *const c_double, FR_hoove_location: *const c_double, FR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_root_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | FR_root_location: *const c_double, FR_hoove_location: *const c_double, FR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:76 [INFO] [stdout] | [INFO] [stdout] 60 | FR_root_location: *const c_double, FR_hoove_location: *const c_double, FR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | BL_root_location: *const c_double, BL_hoove_location: *const c_double, BL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_root_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | BL_root_location: *const c_double, BL_hoove_location: *const c_double, BL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:61:76 [INFO] [stdout] | [INFO] [stdout] 61 | BL_root_location: *const c_double, BL_hoove_location: *const c_double, BL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | BR_root_location: *const c_double, BR_hoove_location: *const c_double, BR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_root_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | BR_root_location: *const c_double, BR_hoove_location: *const c_double, BR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:76 [INFO] [stdout] | [INFO] [stdout] 62 | BR_root_location: *const c_double, BR_hoove_location: *const c_double, BR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:83:56 [INFO] [stdout] | [INFO] [stdout] 83 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:85:56 [INFO] [stdout] | [INFO] [stdout] 85 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:56 [INFO] [stdout] | [INFO] [stdout] 107 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | context.calculate(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = context.calculate(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ID_solver` should have a snake case name [INFO] [stdout] --> src/context.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let ID_solver = &mut self.gait_info.IDsolvers[self.gait_info.gait_type as usize]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ForwardDynamicsSolver` should have a snake case name [INFO] [stdout] --> src/dynamics.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn ForwardDynamicsSolver(d: &DynamicsState) -> EffectOfForce { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_dynamics_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Stance` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Stance; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `stance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `InitiateWalk` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod InitiateWalk; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `initiate_walk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Walk` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Walk; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `walk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IDsolvers` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub IDsolvers: IDsolvers, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `idsolvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_location` should have a snake case name [INFO] [stdout] --> src/gaits/Walk.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let FR_location: Location = armature.legs[LegType::Foreleg_R as usize].hoove.location; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fr_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_location` should have a snake case name [INFO] [stdout] --> src/gaits/Walk.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let FL_location: Location = armature.legs[LegType::Foreleg_L as usize].hoove.location; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fl_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `offset1` should have an upper case name [INFO] [stdout] --> src/utils/ffi.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | const offset1: isize = 12; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OFFSET1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `offset2` should have an upper case name [INFO] [stdout] --> src/utils/ffi.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | const offset2: isize = 24; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OFFSET2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `offset3` should have an upper case name [INFO] [stdout] --> src/utils/ffi.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | const offset3: isize = 36; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OFFSET3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ForwardKinematicsSolver` should have a snake case name [INFO] [stdout] --> src/kinematics.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn ForwardKinematicsSolver(k: &KinematicsState) -> KinematicsState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_kinematics_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InverseKinematicsSolver` should have a snake case name [INFO] [stdout] --> src/kinematics.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn InverseKinematicsSolver(k1: &mut KinematicsState, k2: &mut KinematicsState, k3: &mut KinematicsState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `inverse_kinematics_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ID_solver` should have a snake case name [INFO] [stdout] --> src/armature.rs:212:71 [INFO] [stdout] | [INFO] [stdout] 212 | ..._kinematics: &ArmatureKinematics, ID_solver: &Box, g_accel: Accel, target_effect: EffectOfForce) -> Result<(), EffectOfF... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 197 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `PonyDynamics` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/armature.rs [INFO] [stderr] * src/context.rs [INFO] [stderr] * src/dynamics.rs [INFO] [stderr] * src/gaits/InitiateWalk.rs [INFO] [stderr] * src/gaits/Stance.rs [INFO] [stderr] * src/gaits/Walk.rs [INFO] [stderr] * src/kinematics.rs [INFO] [stderr] * src/math.rs [INFO] [stderr] * src/predictor.rs [INFO] [stderr] * src/units.rs [INFO] [stderr] * src/utils/ffi.rs [INFO] [stderr] * src/utils/macros.rs [INFO] [stderr] * src/utils/memory.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/gaits/InitiateWalk.rs:156:18 [INFO] [stderr] | [INFO] [stderr] 156 | ($i:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils/macros.rs:43:47 [INFO] [stderr] | [INFO] [stderr] 43 | $($(#[$vmeta:meta])* $vname:ident $(= $val:expr_2021)?),* [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | pub frictional_factor: FrictionalCoeff, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:21:78 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn initialize(normal: Vec3, base_point: Location, frictional_factor: FrictionalCoeff) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Time` in this scope [INFO] [stderr] --> src/context.rs:47:15 [INFO] [stderr] | [INFO] [stderr] 47 | pub tick: Time, // s/f [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Time; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Time` in this scope [INFO] [stderr] --> src/context.rs:64:102 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn initialize_path_data(&mut self, targets_size: usize, centripetal_force_factor: f64, tick: Time, frame_current: usize, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Time; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:65:71 [INFO] [stderr] | [INFO] [stderr] 65 | ground_normal: Vec3, base_point: Location, frictional_factor: FrictionalCoeff [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:74:51 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:74:83 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:74:116 [INFO] [stderr] | [INFO] [stderr] 74 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Time` in this scope [INFO] [stderr] --> src/context.rs:89:81 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn initialize(targets_size: usize, centripetal_force_factor: f64, tick: Time, ground_normal: Vec3, base_point: Location, friction... [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Time; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `FrictionalCoeff` in this scope [INFO] [stderr] --> src/context.rs:89:149 [INFO] [stderr] | [INFO] [stderr] 89 | ...Vec3, base_point: Location, frictional_factor: FrictionalCoeff, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::FrictionalCoeff; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:91:20 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:91:51 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/context.rs:91:83 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/context.rs:91:116 [INFO] [stderr] | [INFO] [stderr] 91 | head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: RotationalInertia [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/dynamics.rs:8:28 [INFO] [stderr] | [INFO] [stderr] 8 | pub angular_accel: AngularAccel [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Force` in this scope [INFO] [stderr] --> src/dynamics.rs:34:20 [INFO] [stderr] | [INFO] [stderr] 34 | pub force: Force, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Torque` in this scope [INFO] [stderr] --> src/dynamics.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn torque(&self) -> Torque { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Torque; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/dynamics.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | pub mass: Mass, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/dynamics.rs:53:29 [INFO] [stderr] | [INFO] [stderr] 53 | pub rotational_inertia: RotationalInertia, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/dynamics.rs:61:29 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn initialize(mass: Mass, rotational_inertia: RotationalInertia) -> Self { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/dynamics.rs:61:55 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn initialize(mass: Mass, rotational_inertia: RotationalInertia) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Force` in this scope [INFO] [stderr] --> src/dynamics.rs:67:26 [INFO] [stderr] | [INFO] [stderr] 67 | let mut joint_force: Force = Force::zeros(); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Force` [INFO] [stderr] --> src/dynamics.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | let mut joint_force: Force = Force::zeros(); [INFO] [stderr] | ^^^^^ use of undeclared type `Force` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Torque` in this scope [INFO] [stderr] --> src/dynamics.rs:68:27 [INFO] [stderr] | [INFO] [stderr] 68 | let mut joint_torque: Torque = Torque::zeros(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Torque; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Torque` [INFO] [stderr] --> src/dynamics.rs:68:36 [INFO] [stderr] | [INFO] [stderr] 68 | let mut joint_torque: Torque = Torque::zeros(); [INFO] [stderr] | ^^^^^^ use of undeclared type `Torque` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Torque; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:45:54 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:45:64 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:48:66 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:48:86 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:72 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:111 [INFO] [stderr] | [INFO] [stderr] 55 | ...y_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:55:128 [INFO] [stderr] | [INFO] [stderr] 55 | ...Velocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | let angular_velocity_correction: AngularVelocity = angular_velocity_correction(rotation); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | let rotation: Angle = math::angle_of_rotation_matrix(&(t0.center.basis_matrix * glm::inverse(&p0.center.basis_matrix))); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:67:38 [INFO] [stderr] | [INFO] [stderr] 67 | let angular_velocity_offset: AngularVelocity = t0.center.angular_velocity - p0.center.angular_velocity; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:89:23 [INFO] [stderr] | [INFO] [stderr] 89 | legs_max_height: [Length; 4], [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:90:24 [INFO] [stderr] | [INFO] [stderr] 90 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:90:40 [INFO] [stderr] | [INFO] [stderr] 90 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:106:65 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn initialize(preferred_leg: LegType, legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:106:96 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn initialize(preferred_leg: LegType, legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:106:104 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn initialize(preferred_leg: LegType, legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:117:60 [INFO] [stderr] | [INFO] [stderr] 117 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/InitiateWalk.rs:117:71 [INFO] [stderr] | [INFO] [stderr] 117 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:45:54 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:45:64 [INFO] [stderr] | [INFO] [stderr] 45 | let angular_velocity_correction = |rotation: Angle| -> AngularVelocity { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:48:66 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:48:86 [INFO] [stderr] | [INFO] [stderr] 48 | let angular_accel_correction = |angular_velocity_offset: AngularVelocity| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:40 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:72 [INFO] [stderr] | [INFO] [stderr] 55 | ... let angular_accel = |rotation: Angle, angular_velocity_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:111 [INFO] [stderr] | [INFO] [stderr] 55 | ...y_offset: AngularVelocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:55:128 [INFO] [stderr] | [INFO] [stderr] 55 | ...Velocity, target_angular_accel: AngularAccel| -> AngularAccel { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | let angular_velocity_correction: AngularVelocity = angular_velocity_correction(rotation); [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 66 | let rotation: Angle = math::angle_of_rotation_matrix(&(t0.center.basis_matrix * glm::inverse(&p0.center.basis_matrix))); [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:67:38 [INFO] [stderr] | [INFO] [stderr] 67 | let angular_velocity_offset: AngularVelocity = t0.center.angular_velocity - p0.center.angular_velocity; [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:98:23 [INFO] [stderr] | [INFO] [stderr] 98 | legs_max_height: [Length; 4], [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:99:24 [INFO] [stderr] | [INFO] [stderr] 99 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:99:32 [INFO] [stderr] | [INFO] [stderr] 99 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:99:40 [INFO] [stderr] | [INFO] [stderr] 99 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:119:41 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn initialize(legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f64, pattern_recovery_fac... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:119:72 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn initialize(legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f64, pattern_recovery_fac... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:119:80 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn initialize(legs_max_height: [Length; 4], legs_max_offset: [(Length, Length); 4], contact_percentage: f64, pattern_recovery_fac... [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:130:45 [INFO] [stderr] | [INFO] [stderr] 130 | fn step_length(&self, velocity: f64) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:133:60 [INFO] [stderr] | [INFO] [stderr] 133 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Length` in this scope [INFO] [stderr] --> src/gaits/Walk.rs:133:71 [INFO] [stderr] | [INFO] [stderr] 133 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Length; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/kinematics.rs:54:15 [INFO] [stderr] | [INFO] [stderr] 54 | Angle(Angle), [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Angle` in this scope [INFO] [stderr] --> src/kinematics.rs:82:37 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn rotation_angle(&self) -> Angle { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Angle; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularVelocity` in this scope [INFO] [stderr] --> src/kinematics.rs:96:31 [INFO] [stderr] | [INFO] [stderr] 96 | pub angular_velocity: AngularVelocity, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AngularAccel` in this scope [INFO] [stderr] --> src/kinematics.rs:97:28 [INFO] [stderr] | [INFO] [stderr] 97 | pub angular_accel: AngularAccel, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularVelocity` [INFO] [stderr] --> src/kinematics.rs:108:31 [INFO] [stderr] | [INFO] [stderr] 108 | angular_velocity: AngularVelocity::zeros(), [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `AngularVelocity` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularVelocity; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularAccel` [INFO] [stderr] --> src/kinematics.rs:109:28 [INFO] [stderr] | [INFO] [stderr] 109 | angular_accel: AngularAccel::zeros(), [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `AngularAccel` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularAccel` [INFO] [stderr] --> src/kinematics.rs:121:30 [INFO] [stderr] | [INFO] [stderr] 121 | self.angular_accel = AngularAccel::zeros() [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `AngularAccel` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `AngularAccel` [INFO] [stderr] --> src/kinematics.rs:146:24 [INFO] [stderr] | [INFO] [stderr] 146 | angular_accel: AngularAccel::zeros() [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `AngularAccel` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::AngularAccel; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Force` in this scope [INFO] [stderr] --> src/armature.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | pub forces: Vec, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Force` [INFO] [stderr] --> src/armature.rs:175:82 [INFO] [stderr] | [INFO] [stderr] 175 | Self { leg_type, forces: Vec::new(), joint_force: MomentOfForce { force: Force::zeros(), arm: Location::zeros() } } [INFO] [stderr] | ^^^^^ use of undeclared type `Force` [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Force; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/armature.rs:200:34 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn initialize(head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: Rotation... [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/armature.rs:200:65 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn initialize(head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: Rotation... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Mass` in this scope [INFO] [stderr] --> src/armature.rs:200:97 [INFO] [stderr] | [INFO] [stderr] 200 | pub fn initialize(head_mass: Mass, head_rotational_inertia: RotationalInertia, center_mass: Mass, center_rotational_inertia: Rotation... [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::Mass; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RotationalInertia` in this scope [INFO] [stderr] --> src/armature.rs:200:130 [INFO] [stderr] | [INFO] [stderr] 200 | ...center_mass: Mass, center_rotational_inertia: RotationalInertia) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this type alias [INFO] [stderr] | [INFO] [stderr] 1 + use crate::units::RotationalInertia; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stderr] --> src/math.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | let u2sinθ: Vec3 = Vec3::new(m.m32-m.m23, m.m13-m.m31, m.m21-m.m12); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the usage includes 'θ' (U+03B8) [INFO] [stderr] = note: please recheck to make sure their usages are indeed what you want [INFO] [stderr] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel` and `Velocity` [INFO] [stderr] --> src/units.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/context.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `Velocity` [INFO] [stderr] --> src/units.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/dynamics.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel`, `Location`, and `Velocity` [INFO] [stderr] --> src/units.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gaits/Stance.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel`, `Location`, and `Velocity` [INFO] [stderr] --> src/units.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/gaits/mod.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant `c_void` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | c_void = 0, // c_void is ptr [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `CVoid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `c_char` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | c_char, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `CChar` [INFO] [stderr] [INFO] [stderr] warning: variant `c_uchar` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 8 | c_uchar, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `CUchar` [INFO] [stderr] [INFO] [stderr] warning: variant `c_short` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | c_short, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `CShort` [INFO] [stderr] [INFO] [stderr] warning: variant `c_ushort` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | c_ushort, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stderr] [INFO] [stderr] warning: variant `c_int` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | c_int, [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stderr] [INFO] [stderr] warning: variant `c_uint` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | c_uint, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `CUint` [INFO] [stderr] [INFO] [stderr] warning: variant `c_longlong` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | c_longlong, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CLonglong` [INFO] [stderr] [INFO] [stderr] warning: variant `c_ulonglong` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | c_ulonglong, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CUlonglong` [INFO] [stderr] [INFO] [stderr] warning: variant `c_float` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | c_float, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `CFloat` [INFO] [stderr] [INFO] [stderr] warning: variant `c_double` should have an upper camel case name [INFO] [stderr] --> src/utils/memory.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | c_double, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `CDouble` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Velocity` [INFO] [stderr] --> src/units.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/armature.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant `Foreleg_L` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | Foreleg_L = 0, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegL` [INFO] [stderr] [INFO] [stderr] warning: variant `Foreleg_R` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | Foreleg_R, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegR` [INFO] [stderr] [INFO] [stderr] warning: variant `Backleg_L` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | Backleg_L, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegL` [INFO] [stderr] [INFO] [stderr] warning: variant `Backleg_R` should have an upper camel case name [INFO] [stderr] --> src/armature.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | Backleg_R, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegR` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Accel`, `Location`, and `Velocity` [INFO] [stderr] --> src/units.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | Location, Velocity, Accel [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/predictor.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | UsePhysicsUnits!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `EffectOfForce: From<&KinematicsState>` is not satisfied [INFO] [stderr] --> src/context.rs:139:40 [INFO] [stderr] | [INFO] [stderr] 139 | self.pridictions[0].center.into() [INFO] [stderr] | ^^^^ the trait `From<&KinematicsState>` is not implemented for `EffectOfForce`, which is required by `&KinematicsState: Into<_>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `From` is implemented for `EffectOfForce` [INFO] [stderr] = help: for that trait implementation, expected `KinematicsState`, found `&KinematicsState` [INFO] [stderr] = note: required for `&KinematicsState` to implement `Into` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/gaits/Stance.rs:20:37 [INFO] [stderr] | [INFO] [stderr] 20 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/gaits/Stance.rs:20:56 [INFO] [stderr] | [INFO] [stderr] 20 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/gaits/Stance.rs:20:91 [INFO] [stderr] | [INFO] [stderr] 20 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/gaits/Stance.rs:20:122 [INFO] [stderr] | [INFO] [stderr] 20 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_offset` [INFO] [stderr] --> src/gaits/Stance.rs:20:144 [INFO] [stderr] | [INFO] [stderr] 20 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature` [INFO] [stderr] --> src/gaits/Stance.rs:32:30 [INFO] [stderr] | [INFO] [stderr] 32 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature_rest` [INFO] [stderr] --> src/gaits/Stance.rs:32:65 [INFO] [stderr] | [INFO] [stderr] 32 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ground` [INFO] [stderr] --> src/gaits/Stance.rs:32:95 [INFO] [stderr] | [INFO] [stderr] 32 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/gaits/Stance.rs:32:112 [INFO] [stderr] | [INFO] [stderr] 32 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/gaits/Stance.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/gaits/Stance.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `planners` [INFO] [stderr] --> src/gaits/Stance.rs:33:46 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/gaits/Stance.rs:33:61 [INFO] [stderr] | [INFO] [stderr] 33 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/utils/ffi.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | unsafe { [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature` [INFO] [stderr] --> src/armature.rs:39:30 [INFO] [stderr] | [INFO] [stderr] 39 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `armature_rest` [INFO] [stderr] --> src/armature.rs:39:65 [INFO] [stderr] | [INFO] [stderr] 39 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ground` [INFO] [stderr] --> src/armature.rs:39:95 [INFO] [stderr] | [INFO] [stderr] 39 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/armature.rs:39:112 [INFO] [stderr] | [INFO] [stderr] 39 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/armature.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/armature.rs:40:20 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `planners` [INFO] [stderr] --> src/armature.rs:40:46 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/armature.rs:40:61 [INFO] [stderr] | [INFO] [stderr] 40 | (targets, results, planners, frame_current): [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `targets` [INFO] [stderr] --> src/predictor.rs:112:37 [INFO] [stderr] | [INFO] [stderr] 112 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `results` [INFO] [stderr] --> src/predictor.rs:112:56 [INFO] [stderr] | [INFO] [stderr] 112 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pridictions` [INFO] [stderr] --> src/predictor.rs:112:91 [INFO] [stderr] | [INFO] [stderr] 112 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_current` [INFO] [stderr] --> src/predictor.rs:112:122 [INFO] [stderr] | [INFO] [stderr] 112 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_offset` [INFO] [stderr] --> src/predictor.rs:112:144 [INFO] [stderr] | [INFO] [stderr] 112 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stderr] [INFO] [stderr] error: aborting due to 84 previous errors; 52 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 38 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 57 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 79 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 103 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 125 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 142 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/math.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let u2sinθ: Vec3 = Vec3::new(m.m32-m.m23, m.m13-m.m31, m.m21-m.m12); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'θ' (U+03B8) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `Length`, `Momentum`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kinematics::{Pose, KinematicsState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/context.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dynamics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy`, `ImplIndex`, and `IntEnum` [INFO] [stdout] --> src/gaits/Stance.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Stance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat3`, `Vec3`, and `self` [INFO] [stdout] --> src/gaits/Stance.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{self, Vec3, Mat3}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GaitLegInfo`, `GaitPridiction`, and `GaitType` [INFO] [stdout] --> src/gaits/Stance.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{GaitType, GaitLegInfo, GaitPridiction}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pridiction` [INFO] [stdout] --> src/gaits/Stance.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::predictor::{Planner, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics`, `LegMotionInfo`, and `LegType` [INFO] [stdout] --> src/gaits/Stance.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, `Pose`, `Roatation`, and `Transform` [INFO] [stdout] --> src/gaits/Stance.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplIndex` and `IntEnum` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/InitiateWalk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics` and `LegMotionInfo` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::armature::{LegType, LegMotionInfo, Controller, UseControllerStructs, IDsolver, LegKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KinematicsState` and `Pose` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/gaits/InitiateWalk.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | ($i:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | ($i:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy` and `ImplIndex` [INFO] [stdout] --> src/gaits/Walk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Walk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LegKinematics` [INFO] [stdout] --> src/gaits/Walk.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/gaits/Walk.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::targets::Targets` [INFO] [stdout] --> src/gaits/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::targets::Targets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/gaits/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pridiction` and `Pridictions` [INFO] [stdout] --> src/gaits/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::predictor::{Planner, Pridictions, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArmatureKinematics` [INFO] [stdout] --> src/gaits/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::armature::{Controller, ArmatureKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, and `Pose` [INFO] [stdout] --> src/gaits/mod.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/gaits/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_float` [INFO] [stdout] --> src/utils/ffi.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_float, c_double}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/utils/ffi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_uchar`, `c_uint`, `c_ulonglong`, `c_ushort`, and `c_void` [INFO] [stdout] --> src/utils/memory.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_void, c_char, c_uchar, c_short, c_ushort, c_int, c_uint, c_longlong, c_ulonglong, c_float, c_double}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_void` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | c_void = 0, // c_void is ptr [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CVoid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_char` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | c_char, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uchar` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | c_uchar, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CUchar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_short` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | c_short, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CShort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ushort` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | c_ushort, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_int` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | c_int, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uint` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | c_uint, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CUint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_longlong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | c_longlong, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CLonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ulonglong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | c_ulonglong, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CUlonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_float` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | c_float, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_double` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | c_double, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CDouble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils/macros.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | $($(#[$vmeta:meta])* $vname:ident $(= $val:expr)?),* [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 43 | $($(#[$vmeta:meta])* $vname:ident $(= $val:expr_2021)?),* [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/kinematics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Qua` [INFO] [stdout] --> src/kinematics.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4, Qua}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicsState` [INFO] [stdout] --> src/kinematics.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::dynamics::{DynamicsState, EffectOfForce}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/armature.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat4` [INFO] [stdout] --> src/armature.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Roatation` [INFO] [stdout] --> src/armature.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{Pose, Transform, KinematicsState, Roatation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GaitType` [INFO] [stdout] --> src/armature.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::gaits::{GaitType, GaitLegInfo, Planners}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Foreleg_L = 0, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Foreleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Backleg_L, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Backleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/predictor.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math` [INFO] [stdout] --> src/predictor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/predictor.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/predictor.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::macros::{ImplCopy, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/predictor.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForwardKinematicsSolver` [INFO] [stdout] --> src/predictor.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::kinematics::{KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/predictor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/targets.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::macros::ImplCopy` [INFO] [stdout] --> src/targets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::macros::ImplCopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InverseKinematicsSolver` [INFO] [stdout] --> src/targets.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{KinematicsState, InverseKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_int` and `c_void` [INFO] [stdout] --> src/lib.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::raw::{c_int, c_uint, c_ulonglong, c_double, c_void}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_legs_data` [INFO] [stdout] --> src/lib.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | use utils::ffi::{vec3_from_ptr, mat3_from_ptr, load_legs_data}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:24:91 [INFO] [stdout] | [INFO] [stdout] 24 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:24:122 [INFO] [stdout] | [INFO] [stdout] 24 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Stance.rs:24:144 [INFO] [stdout] | [INFO] [stdout] 24 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/gaits/Stance.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/Stance.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/Stance.rs:36:95 [INFO] [stdout] | [INFO] [stdout] 36 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:36:112 [INFO] [stdout] | [INFO] [stdout] 36 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/gaits/Stance.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Stance.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Stance.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:144 [INFO] [stdout] | [INFO] [stdout] 39 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance` is never read [INFO] [stdout] --> src/gaits/InitiateWalk.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut distance = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_vecs` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let projection_vecs: [Vec3; 2] = [get_projection_vec!(index), get_projection_vec!(next_index)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_vecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:65 [INFO] [stdout] | [INFO] [stdout] 125 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:95 [INFO] [stdout] | [INFO] [stdout] 125 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Walk.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Walk.rs:38:144 [INFO] [stdout] | [INFO] [stdout] 38 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Walk.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Walk.rs:397:63 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | self.ground_normal = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub unsafe fn alloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | self.ground_base_point = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | self.local_matrix = alloc::alloc(mat3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | self.body_mass_center_local_location = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | self.legs_data = alloc::alloc(legs_data) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | alloc::dealloc(self.ground_normal as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | alloc::dealloc(self.ground_base_point as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | alloc::dealloc(self.local_matrix as *mut u8, mat3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | alloc::dealloc(self.body_mass_center_local_location as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | alloc::dealloc(self.legs_data as *mut u8, legs_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::memory::Pointer::::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | self.dealloc(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn alloc(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | self.ptr = alloc::alloc(self.layout) as *const T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | alloc::dealloc(self.ptr as *mut u8, self.layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/armature.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/armature.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 39 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/armature.rs:39:95 [INFO] [stdout] | [INFO] [stdout] 39 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/armature.rs:39:112 [INFO] [stdout] | [INFO] [stdout] 39 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/armature.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/armature.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/armature.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/armature.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/armature.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/armature.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut d = [ [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/math.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut l: (usize, usize) = (0, 0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/predictor.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/predictor.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/predictor.rs:116:91 [INFO] [stdout] | [INFO] [stdout] 116 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/predictor.rs:116:122 [INFO] [stdout] | [INFO] [stdout] 116 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/predictor.rs:116:144 [INFO] [stdout] | [INFO] [stdout] 116 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `context` is never used [INFO] [stdout] --> src/lib.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn context() -> &'static Context { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_output` is never used [INFO] [stdout] --> src/context.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn calculate_output(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `legs_max_height`, `contact_percentage`, `stance_percentage`, `swing_percentage`, `period`, and `pattern_recovery_factor` are never read [INFO] [stdout] --> src/gaits/InitiateWalk.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct InitiateWalkController { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 89 | preferred_leg: LegType, // const [INFO] [stdout] 90 | legs_max_height: [Length; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | legs_max_offset: [(Length, Length, Length); 4], // forward, backward, max_length [INFO] [stdout] 92 | contact_percentage: f64, // walk步态两脚同时触地时间在周期中的占比 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | stance_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 94 | swing_percentage: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | period: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | pattern_recovery_factor: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InitiateWalkController` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hoove_offset` is never used [INFO] [stdout] --> src/gaits/InitiateWalk.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl InitiateWalkController { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | fn hoove_offset(&self, leg_type: LegType, step_length: Length) -> Length { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestError` is never constructed [INFO] [stdout] --> src/utils/error.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct TestError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `layout` are never read [INFO] [stdout] --> src/utils/memory.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 39 | struct Pointer { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | layout: alloc::Layout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `ptr`, `alloc`, and `dealloc` are never used [INFO] [stdout] --> src/utils/memory.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Pointer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 58 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn ptr(&self) -> Option<*const T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub unsafe fn alloc(&mut self, count: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sort_rows` is never used [INFO] [stdout] --> src/math.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn sort_rows(d: &mut [[f64; 3]; 3], l: (usize, usize)) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operations` is never used [INFO] [stdout] --> src/math.rs:151:6 [INFO] [stdout] | [INFO] [stdout] 151 | enum Operations { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/targets.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl ProjectionTarget { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 16 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | FL_root_location: *const c_double, FL_hoove_location: *const c_double, FL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_root_location` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | FL_root_location: *const c_double, FL_hoove_location: *const c_double, FL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:59:76 [INFO] [stdout] | [INFO] [stdout] 59 | FL_root_location: *const c_double, FL_hoove_location: *const c_double, FL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | FR_root_location: *const c_double, FR_hoove_location: *const c_double, FR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_root_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:40 [INFO] [stdout] | [INFO] [stdout] 60 | FR_root_location: *const c_double, FR_hoove_location: *const c_double, FR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:76 [INFO] [stdout] | [INFO] [stdout] 60 | FR_root_location: *const c_double, FR_hoove_location: *const c_double, FR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | BL_root_location: *const c_double, BL_hoove_location: *const c_double, BL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_root_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | BL_root_location: *const c_double, BL_hoove_location: *const c_double, BL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:61:76 [INFO] [stdout] | [INFO] [stdout] 61 | BL_root_location: *const c_double, BL_hoove_location: *const c_double, BL_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_root_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | BR_root_location: *const c_double, BR_hoove_location: *const c_double, BR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_root_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_hoove_location` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | BR_root_location: *const c_double, BR_hoove_location: *const c_double, BR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_hoove_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_hoove_basis_matrix` should have a snake case name [INFO] [stdout] --> src/lib.rs:62:76 [INFO] [stdout] | [INFO] [stdout] 62 | BR_root_location: *const c_double, BR_hoove_location: *const c_double, BR_hoove_basis_matrix: *const c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_hoove_basis_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:82:56 [INFO] [stdout] | [INFO] [stdout] 82 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:83:30 [INFO] [stdout] | [INFO] [stdout] 83 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:83:56 [INFO] [stdout] | [INFO] [stdout] 83 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:85:56 [INFO] [stdout] | [INFO] [stdout] 85 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:105:30 [INFO] [stdout] | [INFO] [stdout] 105 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | FL_max_height: c_double, FL_max_forward: c_double, FL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:106:56 [INFO] [stdout] | [INFO] [stdout] 106 | FR_max_height: c_double, FR_max_forward: c_double, FR_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fr_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BL_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:107:56 [INFO] [stdout] | [INFO] [stdout] 107 | BL_max_height: c_double, BL_max_forward: c_double, BL_max_backward: c_double, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bl_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_height` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_forward` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BR_max_backward` should have a snake case name [INFO] [stdout] --> src/lib.rs:108:56 [INFO] [stdout] | [INFO] [stdout] 108 | BR_max_height: c_double, BR_max_forward: c_double, BR_max_backward: c_double, contact_percentage: c_double, pattern_recovery_factor: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `br_max_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | context.calculate(i); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 138 | let _ = context.calculate(i); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ID_solver` should have a snake case name [INFO] [stdout] --> src/context.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let ID_solver = &mut self.gait_info.IDsolvers[self.gait_info.gait_type as usize]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ForwardDynamicsSolver` should have a snake case name [INFO] [stdout] --> src/dynamics.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn ForwardDynamicsSolver(d: &DynamicsState) -> EffectOfForce { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_dynamics_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Stance` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod Stance; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `stance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `InitiateWalk` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod InitiateWalk; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `initiate_walk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Walk` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod Walk; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `walk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IDsolvers` should have a snake case name [INFO] [stdout] --> src/gaits/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub IDsolvers: IDsolvers, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `idsolvers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FR_location` should have a snake case name [INFO] [stdout] --> src/gaits/Walk.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let FR_location: Location = armature.legs[LegType::Foreleg_R as usize].hoove.location; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fr_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FL_location` should have a snake case name [INFO] [stdout] --> src/gaits/Walk.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let FL_location: Location = armature.legs[LegType::Foreleg_L as usize].hoove.location; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fl_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `offset1` should have an upper case name [INFO] [stdout] --> src/utils/ffi.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | const offset1: isize = 12; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OFFSET1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `offset2` should have an upper case name [INFO] [stdout] --> src/utils/ffi.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | const offset2: isize = 24; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OFFSET2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `offset3` should have an upper case name [INFO] [stdout] --> src/utils/ffi.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | const offset3: isize = 36; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OFFSET3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ForwardKinematicsSolver` should have a snake case name [INFO] [stdout] --> src/kinematics.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn ForwardKinematicsSolver(k: &KinematicsState) -> KinematicsState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_kinematics_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `InverseKinematicsSolver` should have a snake case name [INFO] [stdout] --> src/kinematics.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn InverseKinematicsSolver(k1: &mut KinematicsState, k2: &mut KinematicsState, k3: &mut KinematicsState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `inverse_kinematics_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ID_solver` should have a snake case name [INFO] [stdout] --> src/armature.rs:212:71 [INFO] [stdout] | [INFO] [stdout] 212 | ..._kinematics: &ArmatureKinematics, ID_solver: &Box, g_accel: Accel, target_effect: EffectOfForce) -> Result<(), EffectOfF... [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 196 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.66s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking PonyDynamicsDll v0.1.0 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 38 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 38 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 48 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 57 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 57 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 79 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 79 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 103 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 103 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 125 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 125 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 133 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 142 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/lib.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 142 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/math.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let u2sinθ: Vec3 = Vec3::new(m.m32-m.m23, m.m13-m.m31, m.m21-m.m12); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'θ' (U+03B8) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the usage of Script Group `Greek` in this crate consists solely of mixed script confusables [INFO] [stdout] --> src/math.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let u2sinθ: Vec3 = Vec3::new(m.m32-m.m23, m.m13-m.m31, m.m21-m.m12); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the usage includes 'θ' (U+03B8) [INFO] [stdout] = note: please recheck to make sure their usages are indeed what you want [INFO] [stdout] = note: `#[warn(mixed_script_confusables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `Length`, `Momentum`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `Length`, `Momentum`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/context.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kinematics::{Pose, KinematicsState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/context.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/context.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::kinematics::{Pose, KinematicsState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/context.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dynamics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/dynamics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy`, `ImplIndex`, and `IntEnum` [INFO] [stdout] --> src/gaits/Stance.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy`, `ImplIndex`, and `IntEnum` [INFO] [stdout] --> src/gaits/Stance.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Stance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Stance.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat3`, `Vec3`, and `self` [INFO] [stdout] --> src/gaits/Stance.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{self, Vec3, Mat3}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat3`, `Vec3`, and `self` [INFO] [stdout] --> src/gaits/Stance.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{self, Vec3, Mat3}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GaitLegInfo`, `GaitPridiction`, and `GaitType` [INFO] [stdout] --> src/gaits/Stance.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{GaitType, GaitLegInfo, GaitPridiction}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GaitLegInfo`, `GaitPridiction`, and `GaitType` [INFO] [stdout] --> src/gaits/Stance.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{GaitType, GaitLegInfo, GaitPridiction}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pridiction` [INFO] [stdout] --> src/gaits/Stance.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::predictor::{Planner, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pridiction` [INFO] [stdout] --> src/gaits/Stance.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::predictor::{Planner, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics`, `LegMotionInfo`, and `LegType` [INFO] [stdout] --> src/gaits/Stance.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics`, `LegMotionInfo`, and `LegType` [INFO] [stdout] --> src/gaits/Stance.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, `Pose`, `Roatation`, and `Transform` [INFO] [stdout] --> src/gaits/Stance.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, `Pose`, `Roatation`, and `Transform` [INFO] [stdout] --> src/gaits/Stance.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplIndex` and `IntEnum` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplIndex` and `IntEnum` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/InitiateWalk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics` and `LegMotionInfo` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::armature::{LegType, LegMotionInfo, Controller, UseControllerStructs, IDsolver, LegKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/InitiateWalk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KinematicsState` and `Pose` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LegKinematics` and `LegMotionInfo` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::armature::{LegType, LegMotionInfo, Controller, UseControllerStructs, IDsolver, LegKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy` and `ImplIndex` [INFO] [stdout] --> src/gaits/Walk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KinematicsState` and `Pose` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImplCopy` and `ImplIndex` [INFO] [stdout] --> src/gaits/Walk.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Walk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LegKinematics` [INFO] [stdout] --> src/gaits/Walk.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/gaits/Walk.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::targets::Targets` [INFO] [stdout] --> src/gaits/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::targets::Targets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/Walk.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/gaits/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LegKinematics` [INFO] [stdout] --> src/gaits/Walk.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::armature::{LegType, Controller, UseControllerStructs, IDsolver, LegKinematics, LegMotionInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KinematicsState` [INFO] [stdout] --> src/gaits/Walk.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver, Roatation, Transform}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::targets::Targets` [INFO] [stdout] --> src/gaits/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::targets::Targets; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/gaits/mod.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::macros::{ImplCopy, IntEnum, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/gaits/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pridiction` and `Pridictions` [INFO] [stdout] --> src/gaits/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::predictor::{Planner, Pridictions, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArmatureKinematics` [INFO] [stdout] --> src/gaits/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::armature::{Controller, ArmatureKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pridiction` and `Pridictions` [INFO] [stdout] --> src/gaits/mod.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::predictor::{Planner, Pridictions, Pridiction}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArmatureKinematics` [INFO] [stdout] --> src/gaits/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::armature::{Controller, ArmatureKinematics}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, and `Pose` [INFO] [stdout] --> src/gaits/mod.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/gaits/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ForwardKinematicsSolver`, `KinematicsState`, and `Pose` [INFO] [stdout] --> src/gaits/mod.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::kinematics::{Pose, KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_float` [INFO] [stdout] --> src/utils/ffi.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_float, c_double}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/gaits/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/utils/ffi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_float` [INFO] [stdout] --> src/utils/ffi.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_float, c_double}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::c_void` [INFO] [stdout] --> src/utils/ffi.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_uchar`, `c_uint`, `c_ulonglong`, `c_ushort`, and `c_void` [INFO] [stdout] --> src/utils/memory.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_void, c_char, c_uchar, c_short, c_ushort, c_int, c_uint, c_longlong, c_ulonglong, c_float, c_double}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_char`, `c_double`, `c_float`, `c_int`, `c_longlong`, `c_short`, `c_uchar`, `c_uint`, `c_ulonglong`, `c_ushort`, and `c_void` [INFO] [stdout] --> src/utils/memory.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::{c_void, c_char, c_uchar, c_short, c_ushort, c_int, c_uint, c_longlong, c_ulonglong, c_float, c_double}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_void` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | c_void = 0, // c_void is ptr [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CVoid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_char` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | c_char, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_void` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | c_void = 0, // c_void is ptr [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CVoid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uchar` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | c_uchar, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CUchar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_char` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | c_char, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CChar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_short` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | c_short, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CShort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uchar` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | c_uchar, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CUchar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ushort` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | c_ushort, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_short` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | c_short, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CShort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_int` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | c_int, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ushort` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | c_ushort, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CUshort` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uint` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | c_uint, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CUint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_int` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | c_int, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `CInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_uint` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | c_uint, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `CUint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_longlong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | c_longlong, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CLonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_longlong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | c_longlong, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `CLonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ulonglong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | c_ulonglong, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CUlonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_ulonglong` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | c_ulonglong, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CUlonglong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_float` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | c_float, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_double` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | c_double, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CDouble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_float` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | c_float, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CFloat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `c_double` should have an upper camel case name [INFO] [stdout] --> src/utils/memory.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | c_double, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `CDouble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/kinematics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Qua` [INFO] [stdout] --> src/kinematics.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4, Qua}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicsState` [INFO] [stdout] --> src/kinematics.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::dynamics::{DynamicsState, EffectOfForce}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngularMomentum`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/kinematics.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Qua` [INFO] [stdout] --> src/kinematics.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4, Qua}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DynamicsState` [INFO] [stdout] --> src/kinematics.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::dynamics::{DynamicsState, EffectOfForce}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/armature.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat4` [INFO] [stdout] --> src/armature.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `FrictionalCoeff`, `Length`, `Momentum`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/armature.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Roatation` [INFO] [stdout] --> src/armature.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{Pose, Transform, KinematicsState, Roatation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GaitType` [INFO] [stdout] --> src/armature.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::gaits::{GaitType, GaitLegInfo, Planners}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat4` [INFO] [stdout] --> src/armature.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3, Mat4}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Foreleg_L = 0, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Roatation` [INFO] [stdout] --> src/armature.rs:5:59 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{Pose, Transform, KinematicsState, Roatation}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Foreleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GaitType` [INFO] [stdout] --> src/armature.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::gaits::{GaitType, GaitLegInfo, Planners}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Backleg_L, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | Foreleg_L = 0, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Backleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Foreleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Foreleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `ForelegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_L` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | Backleg_L, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Backleg_R` should have an upper camel case name [INFO] [stdout] --> src/armature.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | Backleg_R, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `BacklegR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/predictor.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math` [INFO] [stdout] --> src/predictor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/predictor.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/predictor.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::math` [INFO] [stdout] --> src/predictor.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::math; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/predictor.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::macros::{ImplCopy, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mat3` [INFO] [stdout] --> src/predictor.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::math::{Mat3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImplCopy` [INFO] [stdout] --> src/predictor.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::utils::macros::{ImplCopy, ImplIndex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/predictor.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForwardKinematicsSolver` [INFO] [stdout] --> src/predictor.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::kinematics::{KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accel`, `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Location`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, `Torque`, and `Velocity` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/predictor.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/predictor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ForwardKinematicsSolver` [INFO] [stdout] --> src/predictor.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::kinematics::{KinematicsState, ForwardKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::dynamics::EffectOfForce` [INFO] [stdout] --> src/predictor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::dynamics::EffectOfForce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/targets.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Angle`, `AngularAccel`, `AngularMomentum`, `AngularVelocity`, `ElasticCoeff`, `Force`, `FrictionalCoeff`, `Length`, `Mass`, `Momentum`, `RotationalInertia`, `Time`, and `Torque` [INFO] [stdout] --> src/units.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Time, Length, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | Location, Mass, Force, Momentum, Velocity, Accel, ElasticCoeff, FrictionalCoeff, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | Angle, RotationalInertia, Torque, AngularMomentum, AngularVelocity, AngularAccel [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/targets.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | UsePhysicsUnits!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `UsePhysicsUnits` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::macros::ImplCopy` [INFO] [stdout] --> src/targets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::macros::ImplCopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::macros::ImplCopy` [INFO] [stdout] --> src/targets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::macros::ImplCopy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InverseKinematicsSolver` [INFO] [stdout] --> src/targets.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{KinematicsState, InverseKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InverseKinematicsSolver` [INFO] [stdout] --> src/targets.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::kinematics::{KinematicsState, InverseKinematicsSolver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_int` and `c_void` [INFO] [stdout] --> src/lib.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::raw::{c_int, c_uint, c_ulonglong, c_double, c_void}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_int` and `c_void` [INFO] [stdout] --> src/lib.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | use std::os::raw::{c_int, c_uint, c_ulonglong, c_double, c_void}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_legs_data` [INFO] [stdout] --> src/lib.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | use utils::ffi::{vec3_from_ptr, mat3_from_ptr, load_legs_data}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_legs_data` [INFO] [stdout] --> src/lib.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | use utils::ffi::{vec3_from_ptr, mat3_from_ptr, load_legs_data}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:24:91 [INFO] [stdout] | [INFO] [stdout] 24 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:24:122 [INFO] [stdout] | [INFO] [stdout] 24 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Stance.rs:24:144 [INFO] [stdout] | [INFO] [stdout] 24 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/gaits/Stance.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/Stance.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/Stance.rs:36:95 [INFO] [stdout] | [INFO] [stdout] 36 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:36:112 [INFO] [stdout] | [INFO] [stdout] 36 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/gaits/Stance.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Stance.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Stance.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:144 [INFO] [stdout] | [INFO] [stdout] 39 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:24:91 [INFO] [stdout] | [INFO] [stdout] 24 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:24:122 [INFO] [stdout] | [INFO] [stdout] 24 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Stance.rs:24:144 [INFO] [stdout] | [INFO] [stdout] 24 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/gaits/Stance.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/Stance.rs:36:65 [INFO] [stdout] | [INFO] [stdout] 36 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/Stance.rs:36:95 [INFO] [stdout] | [INFO] [stdout] 36 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/gaits/Stance.rs:36:112 [INFO] [stdout] | [INFO] [stdout] 36 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/gaits/Stance.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Stance.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/gaits/Stance.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/gaits/Stance.rs:37:61 [INFO] [stdout] | [INFO] [stdout] 37 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Stance.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Stance.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:56 [INFO] [stdout] | [INFO] [stdout] 39 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:39:144 [INFO] [stdout] | [INFO] [stdout] 39 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance` is never read [INFO] [stdout] --> src/gaits/InitiateWalk.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut distance = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_vecs` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let projection_vecs: [Vec3; 2] = [get_projection_vec!(index), get_projection_vec!(next_index)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_vecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:65 [INFO] [stdout] | [INFO] [stdout] 125 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:95 [INFO] [stdout] | [INFO] [stdout] 125 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `distance` is never read [INFO] [stdout] --> src/gaits/InitiateWalk.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let mut distance = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_vecs` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let projection_vecs: [Vec3; 2] = [get_projection_vec!(index), get_projection_vec!(next_index)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_vecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:65 [INFO] [stdout] | [INFO] [stdout] 125 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:125:95 [INFO] [stdout] | [INFO] [stdout] 125 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Walk.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Walk.rs:38:144 [INFO] [stdout] | [INFO] [stdout] 38 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/InitiateWalk.rs:210:63 [INFO] [stdout] | [INFO] [stdout] 210 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/gaits/Walk.rs:38:56 [INFO] [stdout] | [INFO] [stdout] 38 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/gaits/Walk.rs:38:144 [INFO] [stdout] | [INFO] [stdout] 38 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Walk.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Walk.rs:397:63 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/gaits/Walk.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/gaits/Walk.rs:397:63 [INFO] [stdout] | [INFO] [stdout] 397 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/utils/ffi.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | self.ground_normal = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub unsafe fn alloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | self.ground_base_point = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | self.local_matrix = alloc::alloc(mat3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | self.body_mass_center_local_location = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | self.legs_data = alloc::alloc(legs_data) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | alloc::dealloc(self.ground_normal as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | alloc::dealloc(self.ground_base_point as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | alloc::dealloc(self.local_matrix as *mut u8, mat3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | self.ground_normal = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub unsafe fn alloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | alloc::dealloc(self.body_mass_center_local_location as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | alloc::dealloc(self.legs_data as *mut u8, legs_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:88:34 [INFO] [stdout] | [INFO] [stdout] 88 | self.ground_base_point = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | self.local_matrix = alloc::alloc(mat3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | self.body_mass_center_local_location = alloc::alloc(vec3) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | self.legs_data = alloc::alloc(legs_data) as *const c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | alloc::dealloc(self.ground_normal as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/ffi.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | alloc::dealloc(self.ground_base_point as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | alloc::dealloc(self.local_matrix as *mut u8, mat3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | alloc::dealloc(self.body_mass_center_local_location as *mut u8, vec3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/ffi.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | alloc::dealloc(self.legs_data as *mut u8, legs_data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::memory::Pointer::::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | self.dealloc(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn alloc(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | self.ptr = alloc::alloc(self.layout) as *const T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | alloc::dealloc(self.ptr as *mut u8, self.layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `utils::memory::Pointer::::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | self.dealloc(); [INFO] [stdout] | ^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub unsafe fn alloc(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::alloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | self.ptr = alloc::alloc(self.layout) as *const T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::alloc::dealloc` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils/memory.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | alloc::dealloc(self.ptr as *mut u8, self.layout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/utils/memory.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub unsafe fn dealloc(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/armature.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/armature.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 39 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/armature.rs:39:95 [INFO] [stdout] | [INFO] [stdout] 39 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/armature.rs:39:112 [INFO] [stdout] | [INFO] [stdout] 39 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/armature.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/armature.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/armature.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/armature.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature` [INFO] [stdout] --> src/armature.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn solve_legs(&mut self, armature: &mut ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridicti... [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_rest` [INFO] [stdout] --> src/armature.rs:39:65 [INFO] [stdout] | [INFO] [stdout] 39 | ...t ArmatureKinematics, armature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground` [INFO] [stdout] --> src/armature.rs:39:95 [INFO] [stdout] | [INFO] [stdout] 39 | ...rmature_rest: &ArmatureRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/armature.rs:39:112 [INFO] [stdout] | [INFO] [stdout] 39 | ...eRest, ground: &Ground, pridictions: &mut Pridictions, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/armature.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/armature.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planners` [INFO] [stdout] --> src/armature.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planners` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/armature.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | (targets, results, planners, frame_current): [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/armature.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/armature.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `armature_dynamics` [INFO] [stdout] --> src/armature.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_armature_dynamics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `effect_of_force` [INFO] [stdout] --> src/armature.rs:180:63 [INFO] [stdout] | [INFO] [stdout] 180 | fn solve(&self, armature_dynamics: &mut ArmatureDynamics, effect_of_force: EffectOfForce) -> Result<(), EffectOfForce> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_effect_of_force` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/math.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut d = [ [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/math.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut l: (usize, usize) = (0, 0); [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/math.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut d = [ [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/math.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut l: (usize, usize) = (0, 0); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/predictor.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/predictor.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/predictor.rs:116:91 [INFO] [stdout] | [INFO] [stdout] 116 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/predictor.rs:116:122 [INFO] [stdout] | [INFO] [stdout] 116 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/predictor.rs:116:144 [INFO] [stdout] | [INFO] [stdout] 116 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/predictor.rs:116:37 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `results` [INFO] [stdout] --> src/predictor.rs:116:56 [INFO] [stdout] | [INFO] [stdout] 116 | fn calculate_next_of(&mut self, targets: &Targets, results: &Vec, pridictions: &mut Pridictions, frame_current: u... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pridictions` [INFO] [stdout] --> src/predictor.rs:116:91 [INFO] [stdout] | [INFO] [stdout] 116 | ...ec, pridictions: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pridictions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_current` [INFO] [stdout] --> src/predictor.rs:116:122 [INFO] [stdout] | [INFO] [stdout] 116 | ...ns: &mut Pridictions, frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_offset` [INFO] [stdout] --> src/predictor.rs:116:144 [INFO] [stdout] | [INFO] [stdout] 116 | ... frame_current: usize, frame_offset: usize) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 125 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 125 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `PonyDynamicsDll` (lib) due to 9 previous errors; 125 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `PonyDynamicsDll` (lib test) due to 9 previous errors; 125 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "392041c1b144fdd4dac16081ae110c60cf5f8624901325535eb09fcdb166e5aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392041c1b144fdd4dac16081ae110c60cf5f8624901325535eb09fcdb166e5aa", kill_on_drop: false }` [INFO] [stdout] 392041c1b144fdd4dac16081ae110c60cf5f8624901325535eb09fcdb166e5aa