[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] 110bc211551f07ccecd903be84b2e4b4147e2c1c [INFO] checking szopqa/cnc-rustberry against try#894d32a5432c6a6461bb2aac7c3d5f2e87dce83f for pr-77015 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fszopqa%2Fcnc-rustberry" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/szopqa/cnc-rustberry on toolchain 894d32a5432c6a6461bb2aac7c3d5f2e87dce83f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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: "/workspace/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enigo v0.0.14 [INFO] [stderr] Downloaded bresenham v0.1.1 [INFO] [stderr] Downloaded rppal v0.11.3 [INFO] [stderr] Downloaded core-graphics v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cb8fb3ae264b81243db5e959470d71b0cfed571be7767859673851a42960038 [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" "2cb8fb3ae264b81243db5e959470d71b0cfed571be7767859673851a42960038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cb8fb3ae264b81243db5e959470d71b0cfed571be7767859673851a42960038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cb8fb3ae264b81243db5e959470d71b0cfed571be7767859673851a42960038", kill_on_drop: false }` [INFO] [stdout] 2cb8fb3ae264b81243db5e959470d71b0cfed571be7767859673851a42960038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+894d32a5432c6a6461bb2aac7c3d5f2e87dce83f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 878c788a6c57f72969d825539bedac2554dc0edced79db8d506b0f8e4eb5bcbb [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" "878c788a6c57f72969d825539bedac2554dc0edced79db8d506b0f8e4eb5bcbb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bresenham v0.1.1 [INFO] [stderr] Compiling enigo v0.0.14 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking rppal v0.11.3 [INFO] [stderr] Checking cnc-rustberry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rppal::gpio::Gpio` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rppal::gpio::Gpio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `prelude::*`, `self` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, prelude::*, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/device/servo/sg90.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rppal::gpio::OutputPin` [INFO] [stdout] --> src/device/servo/servo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rppal::gpio::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/device/servo/servo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cnc_plotter_device::CncPlotterDevice`, `moveable::Moveable`, `pc_mouse::PcMouseMoveable`, `servo::Servo`, `sg90::Sg90` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | cnc_plotter_device::CncPlotterDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | servo::{servo::Servo, sg90::Sg90}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | moveables::{moveable::Moveable, pc_mouse::PcMouseMoveable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rppal::gpio::Gpio` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rppal::gpio::Gpio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read`, `prelude::*`, `self` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, prelude::*, BufReader, Read}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/device/servo/sg90.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rppal::gpio::OutputPin` [INFO] [stdout] --> src/device/servo/servo.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rppal::gpio::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/device/servo/servo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cnc_plotter_device::CncPlotterDevice`, `moveable::Moveable`, `pc_mouse::PcMouseMoveable`, `servo::Servo`, `sg90::Sg90` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | cnc_plotter_device::CncPlotterDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | servo::{servo::Servo, sg90::Sg90}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 18 | moveables::{moveable::Moveable, pc_mouse::PcMouseMoveable} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/servo/sg90.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(output_pin: OutputPin) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CncPlotterDevice` [INFO] [stdout] --> src/device/cnc_plotter_device.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CncPlotterDevice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/cnc_plotter_device.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(_marker_servo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/device/cnc_plotter_device.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn run(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/moveables/pc_mouse.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(_x: i32, _y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DrawablePlatform` [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct DrawablePlatform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(x_resolution: i32, y_resolution: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/main.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw_line(&mut self, to_x: i32, to_y: i32) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GPIO_PWM` [INFO] [stdout] --> src/main.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | const GPIO_PWM: u8 = 23; [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/servo/sg90.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(output_pin: OutputPin) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CncPlotterDevice` [INFO] [stdout] --> src/device/cnc_plotter_device.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CncPlotterDevice { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/cnc_plotter_device.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(_marker_servo: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/device/cnc_plotter_device.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn run(&mut self) -> () { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/device/moveables/pc_mouse.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(_x: i32, _y: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DrawablePlatform` [INFO] [stdout] --> src/main.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct DrawablePlatform { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(x_resolution: i32, y_resolution: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_line` [INFO] [stdout] --> src/main.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw_line(&mut self, to_x: i32, to_y: i32) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/main.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GPIO_PWM` [INFO] [stdout] --> src/main.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | const GPIO_PWM: u8 = 23; [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `Command { std: "docker" "inspect" "878c788a6c57f72969d825539bedac2554dc0edced79db8d506b0f8e4eb5bcbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "878c788a6c57f72969d825539bedac2554dc0edced79db8d506b0f8e4eb5bcbb", kill_on_drop: false }` [INFO] [stdout] 878c788a6c57f72969d825539bedac2554dc0edced79db8d506b0f8e4eb5bcbb