[INFO] cloning repository https://github.com/jchacks/rusty_rover [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jchacks/rusty_rover" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchacks%2Frusty_rover", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchacks%2Frusty_rover'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e4434abb49b51e01280ba7b2882428a472f30fe [INFO] building jchacks/rusty_rover against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjchacks%2Frusty_rover" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jchacks/rusty_rover [INFO] finished tweaking git repo https://github.com/jchacks/rusty_rover [INFO] tweaked toml for git repo https://github.com/jchacks/rusty_rover written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jchacks/rusty_rover on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jchacks/rusty_rover 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b02abc841aec9e86abf43d0d051530cad2211665ab25abfbe3a4883514cfe68 [INFO] running `Command { std: "docker" "start" "-a" "6b02abc841aec9e86abf43d0d051530cad2211665ab25abfbe3a4883514cfe68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b02abc841aec9e86abf43d0d051530cad2211665ab25abfbe3a4883514cfe68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b02abc841aec9e86abf43d0d051530cad2211665ab25abfbe3a4883514cfe68", kill_on_drop: false }` [INFO] [stdout] 6b02abc841aec9e86abf43d0d051530cad2211665ab25abfbe3a4883514cfe68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 993e128bec689b2d5aa3e2f0b5d5d1b985997de2c5726f83e9e6440ddf271a40 [INFO] running `Command { std: "docker" "start" "-a" "993e128bec689b2d5aa3e2f0b5d5d1b985997de2c5726f83e9e6440ddf271a40", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling embedded-hal-bus v0.3.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling gpio-cdev v0.6.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling sysfs_gpio v0.6.2 [INFO] [stderr] Compiling spidev v0.6.0 [INFO] [stderr] Compiling i2cdev v0.6.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unescaper v0.1.6 [INFO] [stderr] Compiling serialport v4.7.2 [INFO] [stderr] Compiling linux-embedded-hal v0.4.0 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling mpu6050 v0.1.6 (https://github.com/jchacks/mpu6050?branch=master#4c4de042) [INFO] [stderr] Compiling rusty_rover v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/drivers/imu.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const G: f32 = 9.81; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR1` is never used [INFO] [stdout] --> src/hal/pca9685.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SUBADR1: u8 = 0x02; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR2` is never used [INFO] [stdout] --> src/hal/pca9685.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SUBADR2: u8 = 0x03; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR3` is never used [INFO] [stdout] --> src/hal/pca9685.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SUBADR3: u8 = 0x04; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODE2` is never used [INFO] [stdout] --> src/hal/pca9685.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MODE2: u8 = 0x01; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LED0_OFF_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const LED0_OFF_L: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLLED_ON_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ALLLED_ON_L: u8 = 0xFA; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLLED_OFF_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const ALLLED_OFF_L: u8 = 0xFC; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_channel` is never used [INFO] [stdout] --> src/hal/ads7830.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn map_channel(ch: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | / loop { [INFO] [stdout] 21 | | let (pitch, roll, yaw) = dog.get_angles(); [INFO] [stdout] 22 | | println!("p={pitch} r={roll} y={yaw}"); [INFO] [stdout] 23 | | std::thread::sleep(Duration::from_millis(2)); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 25 | [INFO] [stdout] 26 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.19s [INFO] running `Command { std: "docker" "inspect" "993e128bec689b2d5aa3e2f0b5d5d1b985997de2c5726f83e9e6440ddf271a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993e128bec689b2d5aa3e2f0b5d5d1b985997de2c5726f83e9e6440ddf271a40", kill_on_drop: false }` [INFO] [stdout] 993e128bec689b2d5aa3e2f0b5d5d1b985997de2c5726f83e9e6440ddf271a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5f43b1dab96d89eafb739689756e35c7a78eb94897b5614a598a1ae4ecb4c88 [INFO] running `Command { std: "docker" "start" "-a" "b5f43b1dab96d89eafb739689756e35c7a78eb94897b5614a598a1ae4ecb4c88", kill_on_drop: false }` [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/drivers/imu.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const G: f32 = 9.81; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR1` is never used [INFO] [stdout] --> src/hal/pca9685.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SUBADR1: u8 = 0x02; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR2` is never used [INFO] [stdout] --> src/hal/pca9685.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SUBADR2: u8 = 0x03; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR3` is never used [INFO] [stdout] --> src/hal/pca9685.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SUBADR3: u8 = 0x04; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODE2` is never used [INFO] [stdout] --> src/hal/pca9685.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MODE2: u8 = 0x01; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LED0_OFF_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const LED0_OFF_L: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLLED_ON_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ALLLED_ON_L: u8 = 0xFA; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLLED_OFF_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const ALLLED_OFF_L: u8 = 0xFC; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_channel` is never used [INFO] [stdout] --> src/hal/ads7830.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn map_channel(ch: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling embedded-time v0.12.1 [INFO] [stderr] Compiling embedded-hal-mock v0.11.1 [INFO] [stderr] Compiling rusty_rover v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 20 | / loop { [INFO] [stdout] 21 | | let (pitch, roll, yaw) = dog.get_angles(); [INFO] [stdout] 22 | | println!("p={pitch} r={roll} y={yaw}"); [INFO] [stdout] 23 | | std::thread::sleep(Duration::from_millis(2)); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 25 | [INFO] [stdout] 26 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G` is never used [INFO] [stdout] --> src/drivers/imu.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const G: f32 = 9.81; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR1` is never used [INFO] [stdout] --> src/hal/pca9685.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const SUBADR1: u8 = 0x02; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_channel` is never used [INFO] [stdout] --> src/hal/ads7830.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn map_channel(ch: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR2` is never used [INFO] [stdout] --> src/hal/pca9685.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const SUBADR2: u8 = 0x03; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUBADR3` is never used [INFO] [stdout] --> src/hal/pca9685.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const SUBADR3: u8 = 0x04; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODE2` is never used [INFO] [stdout] --> src/hal/pca9685.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const MODE2: u8 = 0x01; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LED0_OFF_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const LED0_OFF_L: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLLED_ON_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const ALLLED_ON_L: u8 = 0xFA; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALLLED_OFF_L` is never used [INFO] [stdout] --> src/hal/pca9685.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const ALLLED_OFF_L: u8 = 0xFC; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.23s [INFO] running `Command { std: "docker" "inspect" "b5f43b1dab96d89eafb739689756e35c7a78eb94897b5614a598a1ae4ecb4c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5f43b1dab96d89eafb739689756e35c7a78eb94897b5614a598a1ae4ecb4c88", kill_on_drop: false }` [INFO] [stdout] b5f43b1dab96d89eafb739689756e35c7a78eb94897b5614a598a1ae4ecb4c88