[INFO] cloning repository https://github.com/DaanMiddelkoop/QuadcopterSim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaanMiddelkoop/QuadcopterSim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaanMiddelkoop%2FQuadcopterSim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaanMiddelkoop%2FQuadcopterSim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 65f29956aed3cc24c17370b3af18980f1ccafca4 [INFO] checking DaanMiddelkoop/QuadcopterSim against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaanMiddelkoop%2FQuadcopterSim" "/workspace/builds/worker-44/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-44/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DaanMiddelkoop/QuadcopterSim on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-44/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de876c66f1a65bc63432378f1a468320fc80373430bf2d188ffd6655a22f5c7e [INFO] running `Command { std: "docker" "start" "-a" "de876c66f1a65bc63432378f1a468320fc80373430bf2d188ffd6655a22f5c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de876c66f1a65bc63432378f1a468320fc80373430bf2d188ffd6655a22f5c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de876c66f1a65bc63432378f1a468320fc80373430bf2d188ffd6655a22f5c7e", kill_on_drop: false }` [INFO] [stdout] de876c66f1a65bc63432378f1a468320fc80373430bf2d188ffd6655a22f5c7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-44/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 313fe6bc1ee0163f83a99073c63c51c92eab9beb1410bf644857769f68a38741 [INFO] running `Command { std: "docker" "start" "-a" "313fe6bc1ee0163f83a99073c63c51c92eab9beb1410bf644857769f68a38741", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling cc v1.0.35 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking mint v0.5.1 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking xi-unicode v0.1.0 [INFO] [stderr] Checking hashbrown v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking claxon v0.3.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking spin v0.4.10 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking froggy v0.4.4 [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 rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling minimp3-sys v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking slice-deque v0.1.16 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking wayland-sys v0.21.12 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Checking cgmath v0.14.1 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking minimp3 v0.3.2 [INFO] [stderr] Checking rusttype v0.7.6 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking twox-hash v1.2.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking glyph_brush_layout v0.1.5 [INFO] [stderr] Compiling includedir_codegen v0.5.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking includedir v0.5.0 [INFO] [stderr] Checking glyph_brush v0.4.3 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling wayland-protocols v0.21.12 [INFO] [stderr] Compiling three v0.4.0 [INFO] [stderr] Checking genmesh v0.6.2 [INFO] [stderr] Checking rodio v0.8.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking obj v0.9.0 [INFO] [stderr] Checking wayland-commons v0.21.12 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking smithay-client-toolkit v0.4.5 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_device_gl v0.15.5 [INFO] [stderr] Checking gfx_glyph v0.13.3 [INFO] [stderr] Checking gfx_window_glutin v0.28.0 [INFO] [stderr] Checking 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 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: 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: 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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.09s [INFO] running `Command { std: "docker" "inspect" "313fe6bc1ee0163f83a99073c63c51c92eab9beb1410bf644857769f68a38741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "313fe6bc1ee0163f83a99073c63c51c92eab9beb1410bf644857769f68a38741", kill_on_drop: false }` [INFO] [stdout] 313fe6bc1ee0163f83a99073c63c51c92eab9beb1410bf644857769f68a38741