[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#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstefanluethi%2Frust-3d-orientation-demo" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stefanluethi/rust-3d-orientation-demo on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25b1e7dd088aeca30be65f3ac3dd2223fa032c0b5ba4f193529e9972253ba718 [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" "25b1e7dd088aeca30be65f3ac3dd2223fa032c0b5ba4f193529e9972253ba718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25b1e7dd088aeca30be65f3ac3dd2223fa032c0b5ba4f193529e9972253ba718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b1e7dd088aeca30be65f3ac3dd2223fa032c0b5ba4f193529e9972253ba718", kill_on_drop: false }` [INFO] [stdout] 25b1e7dd088aeca30be65f3ac3dd2223fa032c0b5ba4f193529e9972253ba718 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da791fc8e71fbbb8cb333d91393e83f43a5c3acabbaa38b5dbd6e051ba29d7b9 [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" "da791fc8e71fbbb8cb333d91393e83f43a5c3acabbaa38b5dbd6e051ba29d7b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling cortex-m v0.6.4 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling cortex-m-rt v0.6.13 [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling stm32f4 v0.11.0 [INFO] [stderr] Compiling r0 v0.2.2 [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 generic-array v0.14.4 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling generic-array v0.12.3 [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] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling volatile-register v0.2.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling shared-bus v0.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling micromath v1.1.0 [INFO] [stderr] Compiling accelerometer v0.11.0 [INFO] [stderr] Compiling aligned v0.3.4 [INFO] [stderr] Compiling panic-itm v0.4.2 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [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 lsm6dso v0.1.0 (/opt/rustwide/workdir/crates/lsm6dso) [INFO] [stderr] Compiling stts751 v0.1.0 (/opt/rustwide/workdir/crates/stts751) [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 1m 00s [INFO] running `Command { std: "docker" "inspect" "da791fc8e71fbbb8cb333d91393e83f43a5c3acabbaa38b5dbd6e051ba29d7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da791fc8e71fbbb8cb333d91393e83f43a5c3acabbaa38b5dbd6e051ba29d7b9", kill_on_drop: false }` [INFO] [stdout] da791fc8e71fbbb8cb333d91393e83f43a5c3acabbaa38b5dbd6e051ba29d7b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ad81712604d4034ee17c6cc6e8a406cdf233dbcfa74df4464e365dd443531d0 [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" "2ad81712604d4034ee17c6cc6e8a406cdf233dbcfa74df4464e365dd443531d0", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] running `Command { std: "docker" "inspect" "2ad81712604d4034ee17c6cc6e8a406cdf233dbcfa74df4464e365dd443531d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad81712604d4034ee17c6cc6e8a406cdf233dbcfa74df4464e365dd443531d0", kill_on_drop: false }` [INFO] [stdout] 2ad81712604d4034ee17c6cc6e8a406cdf233dbcfa74df4464e365dd443531d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57de342bf961fd23645f7b2a013cc5cb86548b6a2f9b7824795c934ef3ab8e62 [INFO] running `Command { std: "docker" "start" "-a" "57de342bf961fd23645f7b2a013cc5cb86548b6a2f9b7824795c934ef3ab8e62", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] running `Command { std: "docker" "inspect" "57de342bf961fd23645f7b2a013cc5cb86548b6a2f9b7824795c934ef3ab8e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57de342bf961fd23645f7b2a013cc5cb86548b6a2f9b7824795c934ef3ab8e62", kill_on_drop: false }` [INFO] [stdout] 57de342bf961fd23645f7b2a013cc5cb86548b6a2f9b7824795c934ef3ab8e62