[INFO] updating cached repository https://github.com/DaanMiddelkoop/QuadcopterSim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65f29956aed3cc24c17370b3af18980f1ccafca4 [INFO] testing DaanMiddelkoop/QuadcopterSim against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaanMiddelkoop%2FQuadcopterSim" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DaanMiddelkoop/QuadcopterSim on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DaanMiddelkoop/QuadcopterSim [INFO] finished tweaking git repo https://github.com/DaanMiddelkoop/QuadcopterSim [INFO] tweaked toml for git repo https://github.com/DaanMiddelkoop/QuadcopterSim written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/DaanMiddelkoop/QuadcopterSim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a34042731a6cddc1b849bbe61d87dc1a725480c89a8e7fd12d8b800b51ae7a1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0a34042731a6cddc1b849bbe61d87dc1a725480c89a8e7fd12d8b800b51ae7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a34042731a6cddc1b849bbe61d87dc1a725480c89a8e7fd12d8b800b51ae7a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a34042731a6cddc1b849bbe61d87dc1a725480c89a8e7fd12d8b800b51ae7a1", kill_on_drop: false }` [INFO] [stdout] 0a34042731a6cddc1b849bbe61d87dc1a725480c89a8e7fd12d8b800b51ae7a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7b2b67efbb027dad9730eed67e68ef04257e686f5dfc4298f4e7b139d605520 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b7b2b67efbb027dad9730eed67e68ef04257e686f5dfc4298f4e7b139d605520", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling hashbrown v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling claxon v0.3.2 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling gif v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling stb_truetype v0.2.6 [INFO] [stderr] Compiling ogg v0.7.0 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling slice-deque v0.1.16 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling rusttype v0.7.6 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling minimp3 v0.3.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling wayland-sys v0.21.12 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glyph_brush_layout v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling twox-hash v1.2.0 [INFO] [stderr] Compiling includedir v0.5.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling includedir_codegen v0.5.0 [INFO] [stderr] Compiling glyph_brush v0.4.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling wayland-protocols v0.21.12 [INFO] [stderr] Compiling wayland-commons v0.21.12 [INFO] [stderr] Compiling genmesh v0.6.2 [INFO] [stderr] Compiling three v0.4.0 [INFO] [stderr] Compiling rodio v0.8.1 [INFO] [stderr] Compiling obj v0.9.0 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling tiff v0.2.2 [INFO] [stderr] Compiling gfx_core v0.8.3 [INFO] [stderr] Compiling image v0.20.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.5 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling gfx v0.17.1 [INFO] [stderr] Compiling gfx_device_gl v0.15.5 [INFO] [stderr] Compiling gfx_glyph v0.13.3 [INFO] [stderr] Compiling gfx_window_glutin v0.28.0 [INFO] [stderr] Compiling quadcopter-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `three::Mesh` [INFO] [stdout] --> src/cube.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use three::Mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/quadcopter.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | let total_engine_power = (self.controller.lf + self.controller.rf + self.controller.lb + self.controller.rb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let center = [0.0, 0.0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle` [INFO] [stdout] --> src/vector.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn angle(&self, other: &Vector3f) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/controls.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/quadcopter.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let I = 4.0 * (self.lf.mass * (rotational_axis.sub(&self.lf.pos).length())); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "b7b2b67efbb027dad9730eed67e68ef04257e686f5dfc4298f4e7b139d605520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7b2b67efbb027dad9730eed67e68ef04257e686f5dfc4298f4e7b139d605520", kill_on_drop: false }` [INFO] [stdout] b7b2b67efbb027dad9730eed67e68ef04257e686f5dfc4298f4e7b139d605520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca789d3a36aa749ee4127a614a5134cbca5b23ccff12f9bd9528b8aad165b2da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ca789d3a36aa749ee4127a614a5134cbca5b23ccff12f9bd9528b8aad165b2da", kill_on_drop: false }` [INFO] [stderr] Compiling quadcopter-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `three::Mesh` [INFO] [stdout] --> src/cube.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use three::Mesh; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/quadcopter.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | let total_engine_power = (self.controller.lf + self.controller.rf + self.controller.lb + self.controller.rb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let center = [0.0, 0.0]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle` [INFO] [stdout] --> src/vector.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn angle(&self, other: &Vector3f) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/controls.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/quadcopter.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let I = 4.0 * (self.lf.mass * (rotational_axis.sub(&self.lf.pos).length())); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.55s [INFO] running `Command { std: "docker" "inspect" "ca789d3a36aa749ee4127a614a5134cbca5b23ccff12f9bd9528b8aad165b2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca789d3a36aa749ee4127a614a5134cbca5b23ccff12f9bd9528b8aad165b2da", kill_on_drop: false }` [INFO] [stdout] ca789d3a36aa749ee4127a614a5134cbca5b23ccff12f9bd9528b8aad165b2da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 722f2e4d236418c208f0cc235ce32d6bd9da2b936550b527a646a7a246786e14 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "722f2e4d236418c208f0cc235ce32d6bd9da2b936550b527a646a7a246786e14", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `three::Mesh` [INFO] [stderr] --> src/cube.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use three::Mesh; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/quadcopter.rs:86:34 [INFO] [stderr] | [INFO] [stderr] 86 | let total_engine_power = (self.controller.lf + self.controller.rf + self.controller.lb + self.controller.rb); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let center = [0.0, 0.0]; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `angle` [INFO] [stderr] --> src/vector.rs:41:12 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn angle(&self, other: &Vector3f) -> f64 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update` [INFO] [stderr] --> src/controls.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn update(&mut self) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `I` should have a snake case name [INFO] [stderr] --> src/quadcopter.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | let I = 4.0 * (self.lf.mass * (rotational_axis.sub(&self.lf.pos).length())); [INFO] [stderr] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/quadcopter_sim-475cf8cd738cbe0d [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "722f2e4d236418c208f0cc235ce32d6bd9da2b936550b527a646a7a246786e14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "722f2e4d236418c208f0cc235ce32d6bd9da2b936550b527a646a7a246786e14", kill_on_drop: false }` [INFO] [stdout] 722f2e4d236418c208f0cc235ce32d6bd9da2b936550b527a646a7a246786e14