[INFO] cloning repository https://github.com/ankeris/cnc_printer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ankeris/cnc_printer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankeris%2Fcnc_printer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankeris%2Fcnc_printer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9721ad0435827bb48f1f01038c0e5c87739cf60b [INFO] checking ankeris/cnc_printer/9721ad0435827bb48f1f01038c0e5c87739cf60b against try#24cd45d7714ba43afd4b8e62fb677b069b21c4a5 for pr-129543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fankeris%2Fcnc_printer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ankeris/cnc_printer on toolchain 24cd45d7714ba43afd4b8e62fb677b069b21c4a5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ankeris/cnc_printer [INFO] finished tweaking git repo https://github.com/ankeris/cnc_printer [INFO] tweaked toml for git repo https://github.com/ankeris/cnc_printer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ankeris/cnc_printer 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" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e607dbddc87dd41ee2d64b4a421c6df5e98dacc66ed375b3805a57a230d8685 [INFO] running `Command { std: "docker" "start" "-a" "0e607dbddc87dd41ee2d64b4a421c6df5e98dacc66ed375b3805a57a230d8685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e607dbddc87dd41ee2d64b4a421c6df5e98dacc66ed375b3805a57a230d8685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e607dbddc87dd41ee2d64b4a421c6df5e98dacc66ed375b3805a57a230d8685", kill_on_drop: false }` [INFO] [stdout] 0e607dbddc87dd41ee2d64b4a421c6df5e98dacc66ed375b3805a57a230d8685 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+24cd45d7714ba43afd4b8e62fb677b069b21c4a5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8efaaa9498448a0b34d361dfe03b5a753145aaef29034e5209bde60e4d6e38fc [INFO] running `Command { std: "docker" "start" "-a" "8efaaa9498448a0b34d361dfe03b5a753145aaef29034e5209bde60e4d6e38fc", kill_on_drop: false }` [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking gcode v0.5.2 [INFO] [stderr] Checking rppal v0.11.3 [INFO] [stderr] Checking stepper-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stepper_28byj48/mod.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn motor_sequence_setup(&self) -> Result<([OutputPin; 4]), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - pub fn motor_sequence_setup(&self) -> Result<([OutputPin; 4]), Box> { [INFO] [stdout] 48 + pub fn motor_sequence_setup(&self) -> Result<[OutputPin; 4], Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stepper_28byj48/mod.rs:48:50 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn motor_sequence_setup(&self) -> Result<([OutputPin; 4]), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - pub fn motor_sequence_setup(&self) -> Result<([OutputPin; 4]), Box> { [INFO] [stdout] 48 + pub fn motor_sequence_setup(&self) -> Result<[OutputPin; 4], Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `micro_stepping_values` is never read [INFO] [stdout] --> src/stepper_nema17/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct StepperNEMA17 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | micro_stepping_values: MicroStepping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepperNEMA17` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/stepper_nema17/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `micro_stepping_values` is never read [INFO] [stdout] --> src/stepper_nema17/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct StepperNEMA17 { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | micro_stepping_values: MicroStepping, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepperNEMA17` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/stepper_nema17/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | calibrate(17, &x_thread_sender, Direction::CW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = calibrate(17, &x_thread_sender, Direction::CW); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | calibrate(10, &y_thread_sender, Direction::CCW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = calibrate(10, &y_thread_sender, Direction::CCW); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | calibrate(17, &x_thread_sender, Direction::CW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = calibrate(17, &x_thread_sender, Direction::CW); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | calibrate(10, &y_thread_sender, Direction::CCW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = calibrate(10, &y_thread_sender, Direction::CCW); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "8efaaa9498448a0b34d361dfe03b5a753145aaef29034e5209bde60e4d6e38fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8efaaa9498448a0b34d361dfe03b5a753145aaef29034e5209bde60e4d6e38fc", kill_on_drop: false }` [INFO] [stdout] 8efaaa9498448a0b34d361dfe03b5a753145aaef29034e5209bde60e4d6e38fc