[INFO] cloning repository https://github.com/szopqa/cnc-rustberry [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/szopqa/cnc-rustberry" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszopqa%2Fcnc-rustberry", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszopqa%2Fcnc-rustberry'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce027f7e506a576ed27f7141634a99845c95107c [INFO] checking szopqa/cnc-rustberry against master#05eac57ef6668c9d181b65aceb96b1e7881f60be for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszopqa%2Fcnc-rustberry" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/szopqa/cnc-rustberry on toolchain 05eac57ef6668c9d181b65aceb96b1e7881f60be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/szopqa/cnc-rustberry [INFO] finished tweaking git repo https://github.com/szopqa/cnc-rustberry [INFO] tweaked toml for git repo https://github.com/szopqa/cnc-rustberry written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/szopqa/cnc-rustberry 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" "+05eac57ef6668c9d181b65aceb96b1e7881f60be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking szopqa/cnc-rustberry against try#0c9c19b42881b7ee3d3f268d2369726c7f8dddfd for pr-127656 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszopqa%2Fcnc-rustberry" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/szopqa/cnc-rustberry on toolchain 0c9c19b42881b7ee3d3f268d2369726c7f8dddfd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/szopqa/cnc-rustberry [INFO] finished tweaking git repo https://github.com/szopqa/cnc-rustberry [INFO] tweaked toml for git repo https://github.com/szopqa/cnc-rustberry written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/szopqa/cnc-rustberry 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" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rppal v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b2e4366a34e693d25e47dde2b6e82e13d214167710b72e14e3ff396f688e5ab [INFO] running `Command { std: "docker" "start" "-a" "3b2e4366a34e693d25e47dde2b6e82e13d214167710b72e14e3ff396f688e5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b2e4366a34e693d25e47dde2b6e82e13d214167710b72e14e3ff396f688e5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2e4366a34e693d25e47dde2b6e82e13d214167710b72e14e3ff396f688e5ab", kill_on_drop: false }` [INFO] [stdout] 3b2e4366a34e693d25e47dde2b6e82e13d214167710b72e14e3ff396f688e5ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+0c9c19b42881b7ee3d3f268d2369726c7f8dddfd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c674ed5cf6c19437e4f8bc43cc31c5634073efc4279daa3960d024bb73b9b076 [INFO] running `Command { std: "docker" "start" "-a" "c674ed5cf6c19437e4f8bc43cc31c5634073efc4279daa3960d024bb73b9b076", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Checking rppal v0.11.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking line_drawing v0.8.0 [INFO] [stderr] Checking cnc-rustberry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `enigo::*` [INFO] [stdout] --> src/moveables/dummy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use enigo::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dummy::DummyMoveable` [INFO] [stdout] --> src/main.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | use moveables::{moveable::Moveable, pc_mouse::PcMouseMoveable, dummy::DummyMoveable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedNum` [INFO] [stdout] --> src/geometry/path.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | SignedNum [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `enigo::*` [INFO] [stdout] --> src/moveables/dummy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use enigo::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dummy::DummyMoveable` [INFO] [stdout] --> src/main.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | use moveables::{moveable::Moveable, pc_mouse::PcMouseMoveable, dummy::DummyMoveable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedNum` [INFO] [stdout] --> src/geometry/path.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | SignedNum [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hardware` is never used [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_hardware() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/gcode/gcode_driver.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct GCodeDriver { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub position: Position [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stepper` is never used [INFO] [stdout] --> src/device/stepper/stepper.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Stepper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CW` and `CCW` are never constructed [INFO] [stdout] --> src/device/stepper/stepper.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SteppingDirection { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 7 | CW, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | CCW, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calibrate`, `move_up`, and `move_down` are never used [INFO] [stdout] --> src/moveables/moveable.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Moveable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 4 | fn calibrate(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn move_up(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn move_down(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gcode/parser.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!(_command.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("{}", _command.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MANUAL_SERVO_DOWN_INPUT` should have a snake case name [INFO] [stdout] --> src/device/cnc_plotter_device.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let MANUAL_SERVO_DOWN_INPUT: String = String::from("d\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `manual_servo_down_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MANUAL_SERVO_UP_INPUT` should have a snake case name [INFO] [stdout] --> src/device/cnc_plotter_device.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let MANUAL_SERVO_UP_INPUT: String = String::from("u\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `manual_servo_up_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hardware` is never used [INFO] [stdout] --> src/main.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_hardware() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/gcode/gcode_driver.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub struct GCodeDriver { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub position: Position [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Stepper` is never used [INFO] [stdout] --> src/device/stepper/stepper.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Stepper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CW` and `CCW` are never constructed [INFO] [stdout] --> src/device/stepper/stepper.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SteppingDirection { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 7 | CW, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | CCW, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calibrate`, `move_up`, and `move_down` are never used [INFO] [stdout] --> src/moveables/moveable.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Moveable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 4 | fn calibrate(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | fn move_up(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | fn move_down(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gcode/parser.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!(_command.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("{}", _command.to_string()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MANUAL_SERVO_DOWN_INPUT` should have a snake case name [INFO] [stdout] --> src/device/cnc_plotter_device.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let MANUAL_SERVO_DOWN_INPUT: String = String::from("d\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `manual_servo_down_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MANUAL_SERVO_UP_INPUT` should have a snake case name [INFO] [stdout] --> src/device/cnc_plotter_device.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let MANUAL_SERVO_UP_INPUT: String = String::from("u\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `manual_servo_up_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "c674ed5cf6c19437e4f8bc43cc31c5634073efc4279daa3960d024bb73b9b076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c674ed5cf6c19437e4f8bc43cc31c5634073efc4279daa3960d024bb73b9b076", kill_on_drop: false }` [INFO] [stdout] c674ed5cf6c19437e4f8bc43cc31c5634073efc4279daa3960d024bb73b9b076