[INFO] cloning repository https://github.com/one-for-all/gorilla-physics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/one-for-all/gorilla-physics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fone-for-all%2Fgorilla-physics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fone-for-all%2Fgorilla-physics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 387a55f74c97204594c2d8eb44b9149054616de6 [INFO] checking one-for-all/gorilla-physics against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fone-for-all%2Fgorilla-physics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/one-for-all/gorilla-physics [INFO] finished tweaking git repo https://github.com/one-for-all/gorilla-physics [INFO] tweaked toml for git repo https://github.com/one-for-all/gorilla-physics written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/one-for-all/gorilla-physics on toolchain 32cd9114712a24010b0583624dc52ac302194128 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/one-for-all/gorilla-physics 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/cube.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cube` [INFO] [stderr] * `example` target `cube` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/cart_pole.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cart_pole` [INFO] [stderr] * `example` target `cart_pole` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/pendulum_energy.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `pendulum_energy` [INFO] [stderr] * `example` target `pendulum_energy` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/socp.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `socp` [INFO] [stderr] * `example` target `socp` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/read_bunny_mass_spring.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `read_bunny_mass_spring` [INFO] [stderr] * `example` target `read_bunny_mass_spring` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/pusher.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `pusher` [INFO] [stderr] * `example` target `pusher` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/LSLIP.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `LSLIP` [INFO] [stderr] * `example` target `LSLIP` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/double_pendulum.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `double_pendulum` [INFO] [stderr] * `example` target `double_pendulum` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/cart.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cart` [INFO] [stderr] * `example` target `cart` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/rimless_wheel.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `rimless_wheel` [INFO] [stderr] * `example` target `rimless_wheel` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/1D_hopper.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `1D_hopper` [INFO] [stderr] * `example` target `1D_hopper` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/acrobot.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `acrobot` [INFO] [stderr] * `example` target `acrobot` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/spring_drop.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `spring_drop` [INFO] [stderr] * `example` target `spring_drop` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/SLIP.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `SLIP` [INFO] [stderr] * `example` target `SLIP` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/ALSLIP.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `ALSLIP` [INFO] [stderr] * `example` target `ALSLIP` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/constraint_contact.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `constraint_contact` [INFO] [stderr] * `example` target `constraint_contact` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/ball.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `ball` [INFO] [stderr] * `example` target `ball` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/rod_by_spring.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `rod_by_spring` [INFO] [stderr] * `example` target `rod_by_spring` [INFO] [stderr] warning: file `/workspace/builds/worker-4-tc1/source/examples/fem.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `fem` [INFO] [stderr] * `example` target `fem` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu-core-deps-wasm v25.0.0 [INFO] [stderr] Downloaded amd v0.2.2 [INFO] [stderr] Downloaded clarabel v0.10.0 [INFO] [stderr] Downloaded nalgebra-sparse v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b33d420105f4539a04550a2b7fcd4716f1ca78bcaf124ae1752e9d7477ca6f8 [INFO] running `Command { std: "docker" "start" "-a" "3b33d420105f4539a04550a2b7fcd4716f1ca78bcaf124ae1752e9d7477ca6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b33d420105f4539a04550a2b7fcd4716f1ca78bcaf124ae1752e9d7477ca6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b33d420105f4539a04550a2b7fcd4716f1ca78bcaf124ae1752e9d7477ca6f8", kill_on_drop: false }` [INFO] [stdout] 3b33d420105f4539a04550a2b7fcd4716f1ca78bcaf124ae1752e9d7477ca6f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24e08abf4c80ba5534836590e0f537d088ccbec1066f193990bd3eba521ba47a [INFO] running `Command { std: "docker" "start" "-a" "24e08abf4c80ba5534836590e0f537d088ccbec1066f193990bd3eba521ba47a", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/cart.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cart` [INFO] [stderr] * `example` target `cart` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/cart_pole.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cart_pole` [INFO] [stderr] * `example` target `cart_pole` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/spring_drop.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `spring_drop` [INFO] [stderr] * `example` target `spring_drop` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/LSLIP.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `LSLIP` [INFO] [stderr] * `example` target `LSLIP` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/double_pendulum.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `double_pendulum` [INFO] [stderr] * `example` target `double_pendulum` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/pendulum_energy.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `pendulum_energy` [INFO] [stderr] * `example` target `pendulum_energy` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/socp.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `socp` [INFO] [stderr] * `example` target `socp` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/ALSLIP.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `ALSLIP` [INFO] [stderr] * `example` target `ALSLIP` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/rimless_wheel.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `rimless_wheel` [INFO] [stderr] * `example` target `rimless_wheel` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/rod_by_spring.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `rod_by_spring` [INFO] [stderr] * `example` target `rod_by_spring` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/fem.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `fem` [INFO] [stderr] * `example` target `fem` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/constraint_contact.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `constraint_contact` [INFO] [stderr] * `example` target `constraint_contact` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/SLIP.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `SLIP` [INFO] [stderr] * `example` target `SLIP` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/cube.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `cube` [INFO] [stderr] * `example` target `cube` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/acrobot.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `acrobot` [INFO] [stderr] * `example` target `acrobot` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/ball.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `ball` [INFO] [stderr] * `example` target `ball` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/1D_hopper.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `1D_hopper` [INFO] [stderr] * `example` target `1D_hopper` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/read_bunny_mass_spring.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `read_bunny_mass_spring` [INFO] [stderr] * `example` target `read_bunny_mass_spring` [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/pusher.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `pusher` [INFO] [stderr] * `example` target `pusher` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling naga v25.0.1 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling wgpu-hal v25.0.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wgpu-core v25.0.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling wgpu v25.0.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Compiling clarabel v0.10.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking amd v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking wide v0.7.32 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking wgpu-types v25.0.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Checking nalgebra-sparse v0.10.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v25.0.0 [INFO] [stderr] Checking gorilla-physics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::iter::Rev` [INFO] [stdout] --> src/builders/navbot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Rev; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contact::ContactPoint` [INFO] [stdout] --> src/builders/navbot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | contact::ContactPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitVector3` [INFO] [stdout] --> src/collision/mod.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{Translation3, UnitVector3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flog` [INFO] [stdout] --> src/collision/sphere.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{contact::HalfSpace, flog, types::Float}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/control/lqr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JointPosition` [INFO] [stdout] --> src/control/quadruped_control.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | joint::{JointPosition, JointTorque}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flog` [INFO] [stdout] --> src/control/so101_control.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | flog, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitQuaternion` [INFO] [stdout] --> src/joint/floating.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{Isometry3, Matrix3, Matrix3xX, UnitQuaternion}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix3`, `Matrix4`, `Transform3`, and `UnitQuaternion` [INFO] [stdout] --> src/joint/prismatic.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{zero, Isometry3, Matrix3, Matrix3xX, Matrix4, Transform3, Translation3, UnitQuaternion}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read`, and `fs::File` [INFO] [stdout] --> src/mass_spring_deformable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | io::{BufReader, Read}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Isometry3` [INFO] [stdout] --> src/mechanism.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use na::Isometry3; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Matrix3` [INFO] [stdout] --> src/mechanism.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use na::Matrix3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Isometry` [INFO] [stdout] --> src/spatial/transform.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{Isometry, Isometry3, Translation3, UnitQuaternion, UnitVector3}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::flog` [INFO] [stdout] --> src/interface/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::flog; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/interface/double_pendulum.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{vector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/interface/double_pendulum.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/interface/fem_deformable.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/interface/fem_deformable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `window` [INFO] [stdout] --> src/interface/fem_deformable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | window, Response, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/interface/hopper.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use na::{zero, Isometry3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/interface/mass_spring_deformable.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/interface/mass_spring_deformable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `window` [INFO] [stdout] --> src/interface/mass_spring_deformable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | window, Response, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PI` [INFO] [stdout] --> src/interface/navbot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | PI, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/interface/pendulum.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{vector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Rev` [INFO] [stdout] --> src/builders/navbot.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Rev; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contact::ContactPoint` [INFO] [stdout] --> src/builders/navbot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | contact::ContactPoint, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitVector3` [INFO] [stdout] --> src/collision/mod.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{Translation3, UnitVector3, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flog` [INFO] [stdout] --> src/collision/sphere.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{contact::HalfSpace, flog, types::Float}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/contact.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Isometry` and `Matrix4` [INFO] [stdout] --> src/contact.rs:403:37 [INFO] [stdout] | [INFO] [stdout] 403 | use na::{dvector, vector, zero, Isometry, Isometry3, Matrix3, Matrix4, UnitQuaternion}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/control/lqr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/control/lqr.rs:64:51 [INFO] [stdout] | [INFO] [stdout] 64 | use na::{dvector, vector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JointPosition` and `spatial::transform::Transform3D` [INFO] [stdout] --> src/control/lqr.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | joint::{JointPosition, ToFloatDVec, ToJointPositionVec}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 71 | simulate::simulate, [INFO] [stdout] 72 | spatial::transform::Transform3D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flog` [INFO] [stdout] --> src/control/so101_control.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | flog, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/control/swingup.rs:118:60 [INFO] [stdout] | [INFO] [stdout] 118 | use na::{dvector, vector, DVector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/control/swingup.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Isometry` [INFO] [stdout] --> src/control/mod.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use na::Isometry; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/control/mod.rs:125:31 [INFO] [stdout] | [INFO] [stdout] 125 | use na::{vector, Matrix3, Matrix4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Isometry` [INFO] [stdout] --> src/energy.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use na::Isometry; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/energy.rs:66:40 [INFO] [stdout] | [INFO] [stdout] 66 | use na::{dvector, vector, Matrix3, Matrix4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/energy.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitQuaternion` [INFO] [stdout] --> src/joint/floating.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{Isometry3, Matrix3, Matrix3xX, UnitQuaternion}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Matrix3`, `Matrix4`, `Transform3`, and `UnitQuaternion` [INFO] [stdout] --> src/joint/prismatic.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{zero, Isometry3, Matrix3, Matrix3xX, Matrix4, Transform3, Translation3, UnitQuaternion}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader`, `Read`, and `fs::File` [INFO] [stdout] --> src/mass_spring_deformable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | io::{BufReader, Read}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::Matrix3` [INFO] [stdout] --> src/mechanism.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use na::Matrix3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/simulate.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | use na::{Isometry3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Isometry` [INFO] [stdout] --> src/spatial/transform.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | use na::{Isometry, Isometry3, Translation3, UnitQuaternion, UnitVector3}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `na::vector` [INFO] [stdout] --> src/spatial/transform.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | use na::vector; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::flog` [INFO] [stdout] --> src/interface/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::flog; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/interface/double_pendulum.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | use na::{vector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/interface/double_pendulum.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/interface/fem_deformable.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/interface/fem_deformable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `window` [INFO] [stdout] --> src/interface/fem_deformable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | window, Response, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/interface/hopper.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | use na::{zero, Isometry3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsCast` [INFO] [stdout] --> src/interface/mass_spring_deformable.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use wasm_bindgen::{prelude::wasm_bindgen, JsCast}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture` [INFO] [stdout] --> src/interface/mass_spring_deformable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `window` [INFO] [stdout] --> src/interface/mass_spring_deformable.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | window, Response, [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PI` [INFO] [stdout] --> src/interface/navbot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | PI, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> src/interface/pendulum.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use na::{vector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/interface/hopper.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/collision/triangle.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let t1 = p0 + (p1 - p0) * a_v0_d / (a_v0_d - a_v1_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/collision/triangle.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let t2 = p2 + (p1 - p2) * a_v2_d / (a_v2_d - a_v1_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t3` [INFO] [stdout] --> src/collision/triangle.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let t3 = p0 + (p2 - p0) * b_v0_d / (b_v0_d - b_v2_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t4` [INFO] [stdout] --> src/collision/triangle.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let t4 = p2 + (p1 - p2) * b_v2_d / (b_v2_d - b_v1_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/control/SLIP_control.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn control(&mut self, state: &mut MechanismState) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ki` [INFO] [stdout] --> src/control/energy_control.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let ki = 100.0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_body` [INFO] [stdout] --> src/control/energy_control.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let q_body = q[0].pose(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_q_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_hip` [INFO] [stdout] --> src/control/energy_control.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let q_hip = q[1].float(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_q_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_body` [INFO] [stdout] --> src/control/energy_control.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let v_body = v[0].spatial(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_hip` [INFO] [stdout] --> src/control/energy_control.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let v_hip = v[1].float(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/control/energy_control.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut tau_hip = 0.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linear` [INFO] [stdout] --> src/spatial/twist.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let linear = rot.mul(self.linear) + trans.cross(&angular); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_linear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_js_float_array` is never used [INFO] [stdout] --> src/interface/mod.rs:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | fn to_js_float_array(from: &Vec>) -> js_sys::Float32Array { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/rimless_wheel.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/rimless_wheel.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/pendulum_energy.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{dvector, vector, DVector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/rod_by_spring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/rod_by_spring.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | use nalgebra::{vector, Isometry3, Matrix3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::spatial::transform::Matrix4Ext` [INFO] [stdout] --> src/interface/hopper.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_n` [INFO] [stdout] --> examples/SLIP.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let f_n = 3.0; // Hz, natural frequency of vertical motion in stance [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/LSLIP.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/LSLIP.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | use nalgebra::{vector, Isometry3, Matrix3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/SLIP.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_angular` [INFO] [stdout] --> examples/rod_by_spring.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let v_angular = rot * v[0].spatial().angular; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_angular` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_body` [INFO] [stdout] --> examples/rod_by_spring.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let x_body = pose_body.translation.x; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_leg` [INFO] [stdout] --> examples/rod_by_spring.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let x_leg = pose_leg.translation.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_leg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `energy` [INFO] [stdout] --> examples/rod_by_spring.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let energy = state.kinetic_energy() + state.gravitational_energy(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `KEs` should have a snake case name [INFO] [stdout] --> examples/pendulum_energy.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut KEs: DVector = dvector![]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `kes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PEs` should have a snake case name [INFO] [stdout] --> examples/pendulum_energy.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut PEs: DVector = dvector![]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_z_prev` [INFO] [stdout] --> examples/LSLIP.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut v_z_prev = 0.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_z_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/LSLIP.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/LSLIP.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> examples/LSLIP.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose_body` [INFO] [stdout] --> examples/LSLIP.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let pose_body = &state.poses()[0]; // q[0].pose(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pose_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/LSLIP.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut v_z_prev = 0.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/LSLIP.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/LSLIP.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | use nalgebra::{vector, Isometry3, Matrix3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/collision/mesh.rs:702:18 [INFO] [stdout] | [INFO] [stdout] 702 | let (q, v) = step(&mut state, dt, &torque, &Integrator::VelocityStepping); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/collision/mesh.rs:702:21 [INFO] [stdout] | [INFO] [stdout] 702 | let (q, v) = step(&mut state, dt, &torque, &Integrator::VelocityStepping); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_z_prev` [INFO] [stdout] --> examples/LSLIP.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut v_z_prev = 0.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_z_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/LSLIP.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/LSLIP.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> examples/LSLIP.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose_body` [INFO] [stdout] --> examples/LSLIP.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let pose_body = &state.poses()[0]; // q[0].pose(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pose_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/LSLIP.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut v_z_prev = 0.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/collision/triangle.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let t1 = p0 + (p1 - p0) * a_v0_d / (a_v0_d - a_v1_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t2` [INFO] [stdout] --> src/collision/triangle.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let t2 = p2 + (p1 - p2) * a_v2_d / (a_v2_d - a_v1_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t3` [INFO] [stdout] --> src/collision/triangle.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let t3 = p0 + (p2 - p0) * b_v0_d / (b_v0_d - b_v2_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t4` [INFO] [stdout] --> src/collision/triangle.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | let t4 = p2 + (p1 - p2) * b_v2_d / (b_v2_d - b_v1_d); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `taus` [INFO] [stdout] --> examples/cart_pole.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let taus = taus.iter().map(|x| x[0]).collect::>(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_taus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Es` should have a snake case name [INFO] [stdout] --> examples/cart_pole.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut Es: DVector = dvector![]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `es` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/rimless_wheel.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/rimless_wheel.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qs` [INFO] [stdout] --> src/contact.rs:749:14 [INFO] [stdout] | [INFO] [stdout] 749 | let (qs, vs) = simulate( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_qs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/contact.rs:995:14 [INFO] [stdout] | [INFO] [stdout] 995 | let (q, v) = simulate( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/contact.rs:995:17 [INFO] [stdout] | [INFO] [stdout] 995 | let (q, v) = simulate( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/control/SLIP_control.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/control/SLIP_control.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/control/SLIP_control.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/control/SLIP_control.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/control/SLIP_control.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn control(&mut self, state: &mut MechanismState) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ki` [INFO] [stdout] --> src/control/energy_control.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let ki = 100.0; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_body` [INFO] [stdout] --> src/control/energy_control.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | let q_body = q[0].pose(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_q_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_hip` [INFO] [stdout] --> src/control/energy_control.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let q_hip = q[1].float(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_q_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_body` [INFO] [stdout] --> src/control/energy_control.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let v_body = v[0].spatial(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_hip` [INFO] [stdout] --> src/control/energy_control.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | let v_hip = v[1].float(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_v_hip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/control/energy_control.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut tau_hip = 0.0; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/control/hopper_control.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/control/hopper_control.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/control/hopper_control.rs:226:21 [INFO] [stdout] | [INFO] [stdout] 226 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/control/hopper_control.rs:382:18 [INFO] [stdout] | [INFO] [stdout] 382 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/control/hopper_control.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_n` [INFO] [stdout] --> examples/SLIP.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let f_n = 3.0; // Hz, natural frequency of vertical motion in stance [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/SLIP.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/control/pusher_control.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/control/pusher_control.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let (q, v) = step(&mut state, dt, &torque, &Integrator::SemiImplicitEuler); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/LSLIP.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/LSLIP.rs:22:44 [INFO] [stdout] | [INFO] [stdout] 22 | use nalgebra::{vector, Isometry3, Matrix3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vs` [INFO] [stdout] --> examples/cart.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let (qs, vs) = simulate( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_mesh` [INFO] [stdout] --> examples/fem.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | collision::mesh::{read_mesh, Mesh}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/fem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | exit(0); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 24 | [INFO] [stdout] 25 | let tau = DVector::zeros(deformable.n_vertices * 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_z_prev` [INFO] [stdout] --> examples/LSLIP.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let mut v_z_prev = 0.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_z_prev` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/LSLIP.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/LSLIP.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> examples/LSLIP.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose_body` [INFO] [stdout] --> examples/LSLIP.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | let pose_body = &state.poses()[0]; // q[0].pose(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pose_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_steps` [INFO] [stdout] --> examples/fem.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let num_steps = (final_time / dt) as usize; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_steps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> examples/pusher.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for ns in 0..num_steps { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> examples/pusher.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let (_q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/LSLIP.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let mut v_z_prev = 0.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `taus` [INFO] [stdout] --> examples/cart_pole.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let taus = taus.iter().map(|x| x[0]).collect::>(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_taus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/spring_drop.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/spring_drop.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | use nalgebra::{vector, zero, Isometry3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/double_pendulum.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/double_pendulum.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use nalgebra::{vector, Matrix3, Matrix4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Es` should have a snake case name [INFO] [stdout] --> examples/cart_pole.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut Es: DVector = dvector![]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `es` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/rimless_wheel.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/rimless_wheel.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/spring_drop.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/spring_drop.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_x_integral` [INFO] [stdout] --> examples/ALSLIP.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let v_x_integral = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_x_integral` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_d_v_z` [INFO] [stdout] --> examples/ALSLIP.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let prev_d_v_z = 0.0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_d_v_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/ALSLIP.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_angular` [INFO] [stdout] --> examples/ALSLIP.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let v_angular = rot * v[0].spatial().angular; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_angular` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_x` [INFO] [stdout] --> examples/ALSLIP.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let v_x = v_linear.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_v_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_x` [INFO] [stdout] --> examples/ALSLIP.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let q_x = q[0].pose().translation.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_q_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_z` [INFO] [stdout] --> examples/ALSLIP.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let q_z = q[0].pose().translation.z; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_q_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `degree` [INFO] [stdout] --> examples/ALSLIP.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let degree = Float::to_degrees(*angle); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_body` [INFO] [stdout] --> examples/ALSLIP.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let x_body = pose_body.translation.x; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_leg` [INFO] [stdout] --> examples/ALSLIP.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let x_leg = pose_leg.translation.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_leg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `degree` [INFO] [stdout] --> examples/ALSLIP.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let degree = Float::to_degrees(*angle); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_rotation` [INFO] [stdout] --> examples/ALSLIP.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let body_rotation = q[0].pose().rotation.angle(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/pendulum_energy.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{dvector, vector, DVector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> examples/constraint_contact.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let angle = q[0].pose().rotation.angle(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `KEs` should have a snake case name [INFO] [stdout] --> examples/pendulum_energy.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut KEs: DVector = dvector![]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `kes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PEs` should have a snake case name [INFO] [stdout] --> examples/pendulum_energy.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut PEs: DVector = dvector![]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_x_integral` [INFO] [stdout] --> examples/ALSLIP.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let v_x_integral = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_x_integral` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_d_v_z` [INFO] [stdout] --> examples/ALSLIP.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let prev_d_v_z = 0.0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_d_v_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/ALSLIP.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_angular` [INFO] [stdout] --> examples/ALSLIP.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let v_angular = rot * v[0].spatial().angular; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_angular` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_x` [INFO] [stdout] --> examples/ALSLIP.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let v_x = v_linear.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_v_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_x` [INFO] [stdout] --> examples/ALSLIP.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let q_x = q[0].pose().translation.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_q_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_z` [INFO] [stdout] --> examples/ALSLIP.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let q_z = q[0].pose().translation.z; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_q_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `degree` [INFO] [stdout] --> examples/ALSLIP.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let degree = Float::to_degrees(*angle); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_body` [INFO] [stdout] --> examples/ALSLIP.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let x_body = pose_body.translation.x; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_leg` [INFO] [stdout] --> examples/ALSLIP.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let x_leg = pose_leg.translation.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_leg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `degree` [INFO] [stdout] --> examples/ALSLIP.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let degree = Float::to_degrees(*angle); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_rotation` [INFO] [stdout] --> examples/ALSLIP.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let body_rotation = q[0].pose().rotation.angle(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/integrators.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | let (q, v) = step(&mut state, dt, &torque, &Integrator::VelocityStepping); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/integrators.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let (q, v) = step(&mut state, dt, &torque, &Integrator::VelocityStepping); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/rod_by_spring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/rod_by_spring.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | use nalgebra::{vector, Isometry3, Matrix3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_mesh` [INFO] [stdout] --> examples/fem.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | collision::mesh::{read_mesh, Mesh}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> examples/pusher.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for ns in 0..num_steps { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> examples/pusher.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let (_q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/fem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | exit(0); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 24 | [INFO] [stdout] 25 | let tau = DVector::zeros(deformable.n_vertices * 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> examples/pusher.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | for ns in 0..num_steps { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> examples/pusher.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let (_q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/double_pendulum.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/double_pendulum.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use nalgebra::{vector, Matrix3, Matrix4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_steps` [INFO] [stdout] --> examples/fem.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let num_steps = (final_time / dt) as usize; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_steps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_x_integral` [INFO] [stdout] --> examples/ALSLIP.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let v_x_integral = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_x_integral` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_d_v_z` [INFO] [stdout] --> examples/ALSLIP.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let prev_d_v_z = 0.0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_d_v_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/ALSLIP.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_angular` [INFO] [stdout] --> examples/ALSLIP.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let v_angular = rot * v[0].spatial().angular; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_angular` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_x` [INFO] [stdout] --> examples/ALSLIP.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let v_x = v_linear.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_v_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `taus` [INFO] [stdout] --> examples/cart_pole.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let taus = taus.iter().map(|x| x[0]).collect::>(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_taus` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_x` [INFO] [stdout] --> examples/ALSLIP.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let q_x = q[0].pose().translation.x; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_q_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q_z` [INFO] [stdout] --> examples/ALSLIP.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let q_z = q[0].pose().translation.z; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_q_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `degree` [INFO] [stdout] --> examples/ALSLIP.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let degree = Float::to_degrees(*angle); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_body` [INFO] [stdout] --> examples/ALSLIP.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | let x_body = pose_body.translation.x; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_leg` [INFO] [stdout] --> examples/ALSLIP.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | let x_leg = pose_leg.translation.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_leg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `degree` [INFO] [stdout] --> examples/ALSLIP.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let degree = Float::to_degrees(*angle); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_degree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body_rotation` [INFO] [stdout] --> examples/ALSLIP.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | let body_rotation = q[0].pose().rotation.angle(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_body_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_angular` [INFO] [stdout] --> examples/rod_by_spring.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let v_angular = rot * v[0].spatial().angular; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_angular` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_body` [INFO] [stdout] --> examples/rod_by_spring.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let x_body = pose_body.translation.x; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_leg` [INFO] [stdout] --> examples/rod_by_spring.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let x_leg = pose_leg.translation.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_leg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `energy` [INFO] [stdout] --> examples/rod_by_spring.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let energy = state.kinetic_energy() + state.gravitational_energy(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Es` should have a snake case name [INFO] [stdout] --> examples/cart_pole.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut Es: DVector = dvector![]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `es` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linear` [INFO] [stdout] --> src/spatial/twist.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let linear = rot.mul(self.linear) + trans.cross(&angular); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_linear` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_mesh` [INFO] [stdout] --> examples/fem.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | collision::mesh::{read_mesh, Mesh}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/fem.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | exit(0); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 24 | [INFO] [stdout] 25 | let tau = DVector::zeros(deformable.n_vertices * 3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_steps` [INFO] [stdout] --> examples/fem.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let num_steps = (final_time / dt) as usize; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_steps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/double_pendulum.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/double_pendulum.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use nalgebra::{vector, Matrix3, Matrix4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/pendulum_energy.rs:6:62 [INFO] [stdout] | [INFO] [stdout] 6 | use nalgebra::{dvector, vector, DVector, Isometry3, Matrix3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> examples/constraint_contact.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let angle = q[0].pose().rotation.angle(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_n` [INFO] [stdout] --> examples/SLIP.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let f_n = 3.0; // Hz, natural frequency of vertical motion in stance [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_f_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/SLIP.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `KEs` should have a snake case name [INFO] [stdout] --> examples/pendulum_energy.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut KEs: DVector = dvector![]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `kes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PEs` should have a snake case name [INFO] [stdout] --> examples/pendulum_energy.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut PEs: DVector = dvector![]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `pes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/spring_drop.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/spring_drop.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | use nalgebra::{vector, zero, Isometry3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/spring_drop.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/spring_drop.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vs` [INFO] [stdout] --> examples/cart.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let (qs, vs) = simulate( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/rod_by_spring.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/rod_by_spring.rs:23:44 [INFO] [stdout] | [INFO] [stdout] 23 | use nalgebra::{vector, Isometry3, Matrix3, Matrix4, UnitQuaternion, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vs` [INFO] [stdout] --> examples/cart.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | let (qs, vs) = simulate( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_js_float_array` is never used [INFO] [stdout] --> src/interface/mod.rs:509:4 [INFO] [stdout] | [INFO] [stdout] 509 | fn to_js_float_array(from: &Vec>) -> js_sys::Float32Array { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> examples/constraint_contact.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let angle = q[0].pose().rotation.angle(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_angular` [INFO] [stdout] --> examples/rod_by_spring.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let v_angular = rot * v[0].spatial().angular; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_angular` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_body` [INFO] [stdout] --> examples/rod_by_spring.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | let x_body = pose_body.translation.x; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_leg` [INFO] [stdout] --> examples/rod_by_spring.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | let x_leg = pose_leg.translation.x; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_leg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `energy` [INFO] [stdout] --> examples/rod_by_spring.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let energy = state.kinetic_energy() + state.gravitational_energy(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_energy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gorilla_physics::spatial::transform::Matrix4Ext` [INFO] [stdout] --> examples/spring_drop.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gorilla_physics::spatial::transform::Matrix4Ext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Matrix4` [INFO] [stdout] --> examples/spring_drop.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | use nalgebra::{vector, zero, Isometry3, Matrix4, Vector3}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> examples/spring_drop.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | for s in 0..num_steps { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> examples/spring_drop.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | let (q, v) = step( [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "24e08abf4c80ba5534836590e0f537d088ccbec1066f193990bd3eba521ba47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e08abf4c80ba5534836590e0f537d088ccbec1066f193990bd3eba521ba47a", kill_on_drop: false }` [INFO] [stdout] 24e08abf4c80ba5534836590e0f537d088ccbec1066f193990bd3eba521ba47a