[INFO] cloning repository https://github.com/stefanluethi/rust-3d-orientation-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stefanluethi/rust-3d-orientation-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanluethi%2Frust-3d-orientation-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanluethi%2Frust-3d-orientation-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 237d973dc675bf9c0423d4a11ff5a542c7cdd8eb [INFO] testing stefanluethi/rust-3d-orientation-demo against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanluethi%2Frust-3d-orientation-demo" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stefanluethi/rust-3d-orientation-demo on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/source/.cargo/config [INFO] started tweaking git repo https://github.com/stefanluethi/rust-3d-orientation-demo [INFO] finished tweaking git repo https://github.com/stefanluethi/rust-3d-orientation-demo [INFO] tweaked toml for git repo https://github.com/stefanluethi/rust-3d-orientation-demo written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/stefanluethi/rust-3d-orientation-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56653a30f6c5a5600e989747f8e4ad56c2e5044d24d21fcd87f46d5052c64eeb [INFO] running `Command { std: "docker" "start" "-a" "56653a30f6c5a5600e989747f8e4ad56c2e5044d24d21fcd87f46d5052c64eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56653a30f6c5a5600e989747f8e4ad56c2e5044d24d21fcd87f46d5052c64eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56653a30f6c5a5600e989747f8e4ad56c2e5044d24d21fcd87f46d5052c64eeb", kill_on_drop: false }` [INFO] [stdout] 56653a30f6c5a5600e989747f8e4ad56c2e5044d24d21fcd87f46d5052c64eeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 100c5198bbaf437c9f4bbec8743b69a89620588a1a13c5d8d5ed087c785d238e [INFO] running `Command { std: "docker" "start" "-a" "100c5198bbaf437c9f4bbec8743b69a89620588a1a13c5d8d5ed087c785d238e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling r0 v0.2.2 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling orientation_bare_metal v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling kalman_nostd v0.1.0 (/opt/rustwide/workdir/crates/kalman_nostd) [INFO] [stderr] Compiling panic-halt v0.2.0 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling micromath v1.1.0 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stdout] warning: the feature `const_generics` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> crates/kalman_nostd/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_generics)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #44580 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling accelerometer v0.11.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling shared-bus v0.2.0 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling panic-itm v0.4.2 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling lis2mdl v0.1.0 (/opt/rustwide/workdir/crates/lis2mdl) [INFO] [stderr] Compiling stts751 v0.1.0 (/opt/rustwide/workdir/crates/stts751) [INFO] [stderr] Compiling lsm6dso v0.1.0 (/opt/rustwide/workdir/crates/lsm6dso) [INFO] [stderr] Compiling stm32f4xx-hal v0.8.3 [INFO] [stdout] warning: unused variable: `kalman_x` [INFO] [stdout] --> src/main.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut kalman_x = Kalman::new(x_init, a, c, q_w, q_v, p_init, k_init); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kalman_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kalman_y` [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let mut kalman_y = Kalman::new(x_init, a, c, q_w, q_v, p_init, k_init); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kalman_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kalman_z` [INFO] [stdout] --> src/main.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let mut kalman_z = Kalman::new(x_init, a, c, q_w, q_v, p_init, k_init); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kalman_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut cortex_peripherals = cortex_m::peripheral::Peripherals::take().expect("cannot take cortex peripherals"); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let mut kalman_x = Kalman::new(x_init, a, c, q_w, q_v, p_init, k_init); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let mut kalman_y = Kalman::new(x_init, a, c, q_w, q_v, p_init, k_init); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut kalman_z = Kalman::new(x_init, a, c, q_w, q_v, p_init, k_init); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | let mut angle = calc_angles(&acceleration, &angular_velocity, &mut angle_gyro); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/button_led_handler_implementation.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | self.led.set_high(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/button_led_handler_implementation.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | self.led.set_low(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.24s [INFO] running `Command { std: "docker" "inspect" "100c5198bbaf437c9f4bbec8743b69a89620588a1a13c5d8d5ed087c785d238e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100c5198bbaf437c9f4bbec8743b69a89620588a1a13c5d8d5ed087c785d238e", kill_on_drop: false }` [INFO] [stdout] 100c5198bbaf437c9f4bbec8743b69a89620588a1a13c5d8d5ed087c785d238e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ba73f64e69b9d6024e632d13605c9559a439e8de04e136c89d5df522b52242c [INFO] running `Command { std: "docker" "start" "-a" "7ba73f64e69b9d6024e632d13605c9559a439e8de04e136c89d5df522b52242c", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] running `Command { std: "docker" "inspect" "7ba73f64e69b9d6024e632d13605c9559a439e8de04e136c89d5df522b52242c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba73f64e69b9d6024e632d13605c9559a439e8de04e136c89d5df522b52242c", kill_on_drop: false }` [INFO] [stdout] 7ba73f64e69b9d6024e632d13605c9559a439e8de04e136c89d5df522b52242c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45fe583540feb8525842bee5673f11f1c4181eaf5c65e776826d9f7436b936aa [INFO] running `Command { std: "docker" "start" "-a" "45fe583540feb8525842bee5673f11f1c4181eaf5c65e776826d9f7436b936aa", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] running `Command { std: "docker" "inspect" "45fe583540feb8525842bee5673f11f1c4181eaf5c65e776826d9f7436b936aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45fe583540feb8525842bee5673f11f1c4181eaf5c65e776826d9f7436b936aa", kill_on_drop: false }` [INFO] [stdout] 45fe583540feb8525842bee5673f11f1c4181eaf5c65e776826d9f7436b936aa