[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] building Equescript/PonyDynamicsDll against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEquescript%2FPonyDynamicsDll" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Equescript/PonyDynamicsDll on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-6-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra-glm v0.18.0 [INFO] [stderr] Downloaded simba v0.8.0 [INFO] [stderr] Downloaded num-complex v0.4.2 [INFO] [stderr] Downloaded nalgebra v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ace54ee72574a9b03c0c8927b7e54f5704516f8a5be0212912df3cb7fb9959a6 [INFO] running `Command { std: "docker" "start" "-a" "ace54ee72574a9b03c0c8927b7e54f5704516f8a5be0212912df3cb7fb9959a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ace54ee72574a9b03c0c8927b7e54f5704516f8a5be0212912df3cb7fb9959a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace54ee72574a9b03c0c8927b7e54f5704516f8a5be0212912df3cb7fb9959a6", kill_on_drop: false }` [INFO] [stdout] ace54ee72574a9b03c0c8927b7e54f5704516f8a5be0212912df3cb7fb9959a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7163bff193c056de267f776de806c0dbe874323545e35bdd7bc42a1cf1d9aed5 [INFO] running `Command { std: "docker" "start" "-a" "7163bff193c056de267f776de806c0dbe874323545e35bdd7bc42a1cf1d9aed5", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bytemuck v1.12.3 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling wide v0.7.5 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling simba v0.8.0 [INFO] [stderr] Compiling nalgebra v0.32.1 [INFO] [stderr] Compiling nalgebra-glm v0.18.0 [INFO] [stderr] Compiling PonyDynamicsDll v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.89s [INFO] running `Command { std: "docker" "inspect" "7163bff193c056de267f776de806c0dbe874323545e35bdd7bc42a1cf1d9aed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7163bff193c056de267f776de806c0dbe874323545e35bdd7bc42a1cf1d9aed5", kill_on_drop: false }` [INFO] [stdout] 7163bff193c056de267f776de806c0dbe874323545e35bdd7bc42a1cf1d9aed5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e498a3fc915b58a8f916ece1cdc0c53e177ef09200c9e1b4e1874246f5a0c856 [INFO] running `Command { std: "docker" "start" "-a" "e498a3fc915b58a8f916ece1cdc0c53e177ef09200c9e1b4e1874246f5a0c856", kill_on_drop: false }` [INFO] [stderr] Compiling PonyDynamicsDll v0.1.0 (/opt/rustwide/workdir) [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: 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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "e498a3fc915b58a8f916ece1cdc0c53e177ef09200c9e1b4e1874246f5a0c856", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e498a3fc915b58a8f916ece1cdc0c53e177ef09200c9e1b4e1874246f5a0c856", kill_on_drop: false }` [INFO] [stdout] e498a3fc915b58a8f916ece1cdc0c53e177ef09200c9e1b4e1874246f5a0c856