[INFO] cloning repository https://github.com/kaizensparc/cybergear-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaizensparc/cybergear-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaizensparc%2Fcybergear-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaizensparc%2Fcybergear-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fa9f4e4d942c28bbce396d455355ea3a7b26c95 [INFO] checking kaizensparc/cybergear-rs against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaizensparc%2Fcybergear-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kaizensparc/cybergear-rs [INFO] finished tweaking git repo https://github.com/kaizensparc/cybergear-rs [INFO] tweaked toml for git repo https://github.com/kaizensparc/cybergear-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kaizensparc/cybergear-rs on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kaizensparc/cybergear-rs 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" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a9316dc92e3cb657b36a90e6a625ff85d825a5e3754501d8c0a23f1b6c28d0d [INFO] running `Command { std: "docker" "start" "-a" "1a9316dc92e3cb657b36a90e6a625ff85d825a5e3754501d8c0a23f1b6c28d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a9316dc92e3cb657b36a90e6a625ff85d825a5e3754501d8c0a23f1b6c28d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9316dc92e3cb657b36a90e6a625ff85d825a5e3754501d8c0a23f1b6c28d0d", kill_on_drop: false }` [INFO] [stdout] 1a9316dc92e3cb657b36a90e6a625ff85d825a5e3754501d8c0a23f1b6c28d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0b394a76631dd0d10911d3ae8fb6cbd10a7afd6ceca628685cae16fd583e126 [INFO] running `Command { std: "docker" "start" "-a" "a0b394a76631dd0d10911d3ae8fb6cbd10a7afd6ceca628685cae16fd583e126", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking cybergear-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `position` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn position(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `speed` is never used [INFO] [stdout] --> src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn speed(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation` is never used [INFO] [stdout] --> src/main.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn rotation(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leader_follower_current` is never used [INFO] [stdout] --> src/main.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn leader_follower_current(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_parameter`, `motion_control`, and `set_can_id` are never used [INFO] [stdout] --> src/cybercontrol.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Controller { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn read_parameter(&mut self, motor_id: u8, param: Parameter) -> Result<(), MotorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn motion_control(&mut self, motor_id: u8, mc: MotionControl) -> Result<(), MotorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn set_can_id(&mut self, old_can_id: u8, new_can_id: u8) -> Result<(), MotorError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fault` and `Unknown` are never constructed [INFO] [stdout] --> src/cybergear.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MotorError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Fault(MotorFeedback), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MotorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Configuration` is never constructed [INFO] [stdout] --> src/cybergear.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Configuration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/cybergear.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `can_id` is never read [INFO] [stdout] --> src/cybergear.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct CybergearMotor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 58 | pub can_id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/cybergear_proto.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct MotorFeedback { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 380 | pub mode: ModeStatus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MotorFeedback` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `position` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn position(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `speed` is never used [INFO] [stdout] --> src/main.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn speed(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation` is never used [INFO] [stdout] --> src/main.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn rotation(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `leader_follower_current` is never used [INFO] [stdout] --> src/main.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn leader_follower_current(motors: &mut Controller) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_parameter`, `motion_control`, and `set_can_id` are never used [INFO] [stdout] --> src/cybercontrol.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Controller { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn read_parameter(&mut self, motor_id: u8, param: Parameter) -> Result<(), MotorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn motion_control(&mut self, motor_id: u8, mc: MotionControl) -> Result<(), MotorError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn set_can_id(&mut self, old_can_id: u8, new_can_id: u8) -> Result<(), MotorError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fault` and `Unknown` are never constructed [INFO] [stdout] --> src/cybergear.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MotorError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Fault(MotorFeedback), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MotorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Configuration` is never constructed [INFO] [stdout] --> src/cybergear.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Configuration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/cybergear.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `can_id` is never read [INFO] [stdout] --> src/cybergear.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct CybergearMotor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 58 | pub can_id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mode` is never read [INFO] [stdout] --> src/cybergear_proto.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 372 | pub struct MotorFeedback { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 380 | pub mode: ModeStatus, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MotorFeedback` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.65s [INFO] running `Command { std: "docker" "inspect" "a0b394a76631dd0d10911d3ae8fb6cbd10a7afd6ceca628685cae16fd583e126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0b394a76631dd0d10911d3ae8fb6cbd10a7afd6ceca628685cae16fd583e126", kill_on_drop: false }` [INFO] [stdout] a0b394a76631dd0d10911d3ae8fb6cbd10a7afd6ceca628685cae16fd583e126