[INFO] cloning repository https://github.com/workofimagination/ARM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/workofimagination/ARM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworkofimagination%2FARM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworkofimagination%2FARM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 165f274abfbedfef2a95a1fc132c18a7f3d42d47 [INFO] testing workofimagination/ARM against 1.73.0 for beta-1.74-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworkofimagination%2FARM" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/workofimagination/ARM on toolchain 1.73.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/workofimagination/ARM [INFO] finished tweaking git repo https://github.com/workofimagination/ARM [INFO] tweaked toml for git repo https://github.com/workofimagination/ARM written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/workofimagination/ARM 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" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-mio v0.2.3 [INFO] [stderr] Downloaded signal-hook v0.3.15 [INFO] [stderr] Downloaded crossterm v0.26.1 [INFO] [stderr] Downloaded libc v0.2.142 [INFO] [stderr] Downloaded tokio v1.28.1 [INFO] [stderr] Downloaded rppal v0.14.1 [INFO] [stderr] Downloaded tui v0.19.0 [INFO] [stderr] Downloaded crossterm v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c3c263af3485e00a486bec8a6b93cc7aea138fa72bdf685a60016c04ee41287 [INFO] running `Command { std: "docker" "start" "-a" "0c3c263af3485e00a486bec8a6b93cc7aea138fa72bdf685a60016c04ee41287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c3c263af3485e00a486bec8a6b93cc7aea138fa72bdf685a60016c04ee41287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c3c263af3485e00a486bec8a6b93cc7aea138fa72bdf685a60016c04ee41287", kill_on_drop: false }` [INFO] [stdout] 0c3c263af3485e00a486bec8a6b93cc7aea138fa72bdf685a60016c04ee41287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c5edcc2e70577449b2ef11c032afc225a7b64eaac35ba21feb0cc93336e75ab [INFO] running `Command { std: "docker" "start" "-a" "2c5edcc2e70577449b2ef11c032afc225a7b64eaac35ba21feb0cc93336e75ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling tokio v1.28.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling rppal v0.14.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling tui v0.19.0 [INFO] [stderr] Compiling temp2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AngleSet` [INFO] [stdout] --> src/driver.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::{ Point, AngleSet }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/app/handle_input.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/app/handle_input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/app/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layout` [INFO] [stdout] --> src/app/mod.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use tui::layout::{Layout, Direction, Constraint}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amp` [INFO] [stdout] --> src/calc/mod.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let amp = 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_amp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/calc/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let min = points[0] as f64; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_all` is never used [INFO] [stdout] --> src/utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ShiftingVec where T: Clone { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_all(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_random_angle`, `goto_point_3d`, and `get_steps_3d` are never used [INFO] [stdout] --> src/driver.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Driver { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_random_angle() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn goto_point_3d(&mut self, x: f32, y: f32, z: f32) -> Result<(), DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn get_steps_3d(&self, column_angle: f32, beam_angle: f32, base_angle: f32) -> (i32, i32, i32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dist_3d`, `get_angles_3d`, and `test_temp` are never used [INFO] [stdout] --> src/calc/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Calc { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn dist_3d(start: &Point, end: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_angles_3d(&self, x: f32, y: f32, z: f32) -> AngleSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn test_temp() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction_pin` and `step_pin` are never read [INFO] [stdout] --> src/stepper.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Stepper { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | direction_pin: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | step_pin: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStepper` is never constructed [INFO] [stdout] --> src/stepper.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct TestStepper { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `step`, and `reset` are never used [INFO] [stdout] --> src/stepper.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl TestStepper { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new(direction_pin: u8, step_pin: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn step(&mut self, direction: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn reset(&mut self) { // must call reset before calling step() again [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.73s [INFO] running `Command { std: "docker" "inspect" "2c5edcc2e70577449b2ef11c032afc225a7b64eaac35ba21feb0cc93336e75ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5edcc2e70577449b2ef11c032afc225a7b64eaac35ba21feb0cc93336e75ab", kill_on_drop: false }` [INFO] [stdout] 2c5edcc2e70577449b2ef11c032afc225a7b64eaac35ba21feb0cc93336e75ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55b4f3a3d80768be64952d32e2848aba5a64a00068933708a1bfa71bcfa82ff6 [INFO] running `Command { std: "docker" "start" "-a" "55b4f3a3d80768be64952d32e2848aba5a64a00068933708a1bfa71bcfa82ff6", kill_on_drop: false }` [INFO] [stderr] Compiling temp2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AngleSet` [INFO] [stdout] --> src/driver.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::utils::{ Point, AngleSet }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/app/handle_input.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/app/handle_input.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/app/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Layout` [INFO] [stdout] --> src/app/mod.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | use tui::layout::{Layout, Direction, Constraint}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amp` [INFO] [stdout] --> src/calc/mod.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let amp = 1; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_amp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/calc/mod.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let min = points[0] as f64; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_all` is never used [INFO] [stdout] --> src/utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ShiftingVec where T: Clone { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn set_all(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_random_angle`, `goto_point_3d`, and `get_steps_3d` are never used [INFO] [stdout] --> src/driver.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Driver { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn get_random_angle() -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn goto_point_3d(&mut self, x: f32, y: f32, z: f32) -> Result<(), DriverError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn get_steps_3d(&self, column_angle: f32, beam_angle: f32, base_angle: f32) -> (i32, i32, i32, f32, f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dist_3d`, `get_angles_3d`, and `test_temp` are never used [INFO] [stdout] --> src/calc/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Calc { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn dist_3d(start: &Point, end: &Point) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn get_angles_3d(&self, x: f32, y: f32, z: f32) -> AngleSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn test_temp() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction_pin` and `step_pin` are never read [INFO] [stdout] --> src/stepper.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Stepper { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 4 | direction_pin: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | step_pin: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStepper` is never constructed [INFO] [stdout] --> src/stepper.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct TestStepper { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `step`, and `reset` are never used [INFO] [stdout] --> src/stepper.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl TestStepper { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new(direction_pin: u8, step_pin: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn step(&mut self, direction: bool) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn reset(&mut self) { // must call reset before calling step() again [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "55b4f3a3d80768be64952d32e2848aba5a64a00068933708a1bfa71bcfa82ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b4f3a3d80768be64952d32e2848aba5a64a00068933708a1bfa71bcfa82ff6", kill_on_drop: false }` [INFO] [stdout] 55b4f3a3d80768be64952d32e2848aba5a64a00068933708a1bfa71bcfa82ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:023092b8bfa974c7f3e45c5ce651cc8dd3afd5e76915d5995b8dacd3032bf956" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 14bcfd252bdef64ce385602eb4dc65bc2fca31be77de31b67adfdbdb37a2a150 [INFO] running `Command { std: "docker" "start" "-a" "14bcfd252bdef64ce385602eb4dc65bc2fca31be77de31b67adfdbdb37a2a150", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `AngleSet` [INFO] [stderr] --> src/driver.rs:7:28 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::utils::{ Point, AngleSet }; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/app/handle_input.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/app/handle_input.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/app/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Layout` [INFO] [stderr] --> src/app/mod.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | use tui::layout::{Layout, Direction, Constraint}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `amp` [INFO] [stderr] --> src/calc/mod.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | let amp = 1; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_amp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `min` [INFO] [stderr] --> src/calc/mod.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | let min = points[0] as f64; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stderr] [INFO] [stderr] warning: method `set_all` is never used [INFO] [stderr] --> src/utils.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl ShiftingVec where T: Clone { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn set_all(&mut self, item: T) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `get_random_angle`, `goto_point_3d`, and `get_steps_3d` are never used [INFO] [stderr] --> src/driver.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 39 | impl Driver { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 62 | pub fn get_random_angle() -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 158 | pub fn goto_point_3d(&mut self, x: f32, y: f32, z: f32) -> Result<(), DriverError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 281 | pub fn get_steps_3d(&self, column_angle: f32, beam_angle: f32, base_angle: f32) -> (i32, i32, i32, f32, f32, f32) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `dist_3d`, `get_angles_3d`, and `test_temp` are never used [INFO] [stderr] --> src/calc/mod.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Calc { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn dist_3d(start: &Point, end: &Point) -> f32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn get_angles_3d(&self, x: f32, y: f32, z: f32) -> AngleSet { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | pub fn test_temp() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `direction_pin` and `step_pin` are never read [INFO] [stderr] --> src/stepper.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Stepper { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 4 | direction_pin: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 5 | step_pin: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `TestStepper` is never constructed [INFO] [stderr] --> src/stepper.rs:39:12 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct TestStepper { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `step`, and `reset` are never used [INFO] [stderr] --> src/stepper.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl TestStepper { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 45 | pub fn new(direction_pin: u8, step_pin: u8) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub fn step(&mut self, direction: bool) { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn reset(&mut self) { // must call reset before calling step() again [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `temp2` (bin "temp2" test) generated 13 warnings (run `cargo fix --bin "temp2" --tests` to apply 7 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/temp2-74275bdf7c25940a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14bcfd252bdef64ce385602eb4dc65bc2fca31be77de31b67adfdbdb37a2a150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14bcfd252bdef64ce385602eb4dc65bc2fca31be77de31b67adfdbdb37a2a150", kill_on_drop: false }` [INFO] [stdout] 14bcfd252bdef64ce385602eb4dc65bc2fca31be77de31b67adfdbdb37a2a150