[INFO] cloning repository https://github.com/owenpmckenna/BasicLidarSLAM
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/owenpmckenna/BasicLidarSLAM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowenpmckenna%2FBasicLidarSLAM", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowenpmckenna%2FBasicLidarSLAM'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f4b1b6ef9579fe4eeeef168c2e5f65679dc301bb
[INFO] testing owenpmckenna/BasicLidarSLAM against beta-2025-09-21 for beta-1.91-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fowenpmckenna%2FBasicLidarSLAM" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/owenpmckenna/BasicLidarSLAM
[INFO] finished tweaking git repo https://github.com/owenpmckenna/BasicLidarSLAM
[INFO] tweaked toml for git repo https://github.com/owenpmckenna/BasicLidarSLAM written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/owenpmckenna/BasicLidarSLAM on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/owenpmckenna/BasicLidarSLAM 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a00b3b642d94f2601bee318b7f7f266bd57b91b90ca0ca42178e3f0309cf8cc
[INFO] running `Command { std: "docker" "start" "-a" "5a00b3b642d94f2601bee318b7f7f266bd57b91b90ca0ca42178e3f0309cf8cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a00b3b642d94f2601bee318b7f7f266bd57b91b90ca0ca42178e3f0309cf8cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a00b3b642d94f2601bee318b7f7f266bd57b91b90ca0ca42178e3f0309cf8cc", kill_on_drop: false }`
[INFO] [stdout] 5a00b3b642d94f2601bee318b7f7f266bd57b91b90ca0ca42178e3f0309cf8cc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57dcde94e82ce804a061bd6108f9b128355547d3363c69f7b8bdfb391b572688
[INFO] running `Command { std: "docker" "start" "-a" "57dcde94e82ce804a061bd6108f9b128355547d3363c69f7b8bdfb391b572688", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling build_const v0.2.2
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling cc v1.2.37
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling bytemuck v1.23.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling font-kit v0.14.3
[INFO] [stderr]    Compiling weezl v0.1.10
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling pathfinder_simd v0.5.5
[INFO] [stderr]    Compiling float-ord v0.3.2
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling serial2 v0.2.31
[INFO] [stderr]    Compiling libudev v0.2.0
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling serialport v3.3.0
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling plotters-bitmap v0.3.7
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling backtrace v0.3.75
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling rplidar_drv_rs v0.7.0
[INFO] [stderr]    Compiling BasicLidarSLAM v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Thread` and `sleep`
[INFO] [stdout]  --> src/main.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread::{sleep, 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 imports: `Channel`, `RplidarHostProtocol`, `RposError`, and `ScanOptions`
[INFO] [stdout]   --> src/main.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | use rplidar_drv::{Channel, RplidarHostProtocol, RposError, ScanOptions};
[INFO] [stdout]    |                   ^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataBits`, `FlowControl`, `Parity`, `SerialPortSettings`, and `StopBits`
[INFO] [stdout]   --> src/main.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | use serialport::{DataBits, FlowControl, Parity, SerialPortSettings, StopBits};
[INFO] [stdout]    |                  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polar_to_cartesian_radians` is never used
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn polar_to_cartesian_radians(radius: f32, theta_radians: f32) -> (f32, f32) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polar_to_cartesian_radians` is never used
[INFO] [stdout]  --> src/Lidar.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn polar_to_cartesian_radians(radius: f32, theta_radians: f32) -> (f32, f32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `grab_single_point` and `read_single_point` are never used
[INFO] [stdout]    --> src/Lidar.rs:72:8
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl LidarUnit {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  72 |     fn grab_single_point(&mut self) -> Result<(f32, f32), ()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub(crate) fn read_single_point(&mut self) -> Result<(), ()> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Lidar` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Lidar;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case: `lidar`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/Lidar.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         dev.grab_scan_point();//Ignore result
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let _ = dev.grab_scan_point();//Ignore result
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.62s
[INFO] running `Command { std: "docker" "inspect" "57dcde94e82ce804a061bd6108f9b128355547d3363c69f7b8bdfb391b572688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57dcde94e82ce804a061bd6108f9b128355547d3363c69f7b8bdfb391b572688", kill_on_drop: false }`
[INFO] [stdout] 57dcde94e82ce804a061bd6108f9b128355547d3363c69f7b8bdfb391b572688
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bb8e78bb8aca8876c4f971c4499e54b607fa7a831e1d47b584449836bd7affec
[INFO] running `Command { std: "docker" "start" "-a" "bb8e78bb8aca8876c4f971c4499e54b607fa7a831e1d47b584449836bd7affec", kill_on_drop: false }`
[INFO] [stderr]    Compiling BasicLidarSLAM v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::process::exit;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Thread` and `sleep`
[INFO] [stdout]  --> src/main.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::thread::{sleep, 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 imports: `Channel`, `RplidarHostProtocol`, `RposError`, and `ScanOptions`
[INFO] [stdout]   --> src/main.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 | use rplidar_drv::{Channel, RplidarHostProtocol, RposError, ScanOptions};
[INFO] [stdout]    |                   ^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataBits`, `FlowControl`, `Parity`, `SerialPortSettings`, and `StopBits`
[INFO] [stdout]   --> src/main.rs:17:18
[INFO] [stdout]    |
[INFO] [stdout] 17 | use serialport::{DataBits, FlowControl, Parity, SerialPortSettings, StopBits};
[INFO] [stdout]    |                  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polar_to_cartesian_radians` is never used
[INFO] [stdout]   --> src/main.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn polar_to_cartesian_radians(radius: f32, theta_radians: f32) -> (f32, f32) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `polar_to_cartesian_radians` is never used
[INFO] [stdout]  --> src/Lidar.rs:9:4
[INFO] [stdout]   |
[INFO] [stdout] 9 | fn polar_to_cartesian_radians(radius: f32, theta_radians: f32) -> (f32, f32) {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `grab_single_point` and `read_single_point` are never used
[INFO] [stdout]    --> src/Lidar.rs:72:8
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl LidarUnit {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  72 |     fn grab_single_point(&mut self) -> Result<(f32, f32), ()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub(crate) fn read_single_point(&mut self) -> Result<(), ()> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Lidar` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Lidar;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case: `lidar`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/Lidar.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         dev.grab_scan_point();//Ignore result
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let _ = dev.grab_scan_point();//Ignore result
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "bb8e78bb8aca8876c4f971c4499e54b607fa7a831e1d47b584449836bd7affec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb8e78bb8aca8876c4f971c4499e54b607fa7a831e1d47b584449836bd7affec", kill_on_drop: false }`
[INFO] [stdout] bb8e78bb8aca8876c4f971c4499e54b607fa7a831e1d47b584449836bd7affec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 078761ad6dcf5ec3c130ca93441816d885bd7fe6453c4b3c381b3bc8d8466685
[INFO] running `Command { std: "docker" "start" "-a" "078761ad6dcf5ec3c130ca93441816d885bd7fe6453c4b3c381b3bc8d8466685", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::cmp::max`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::cmp::max;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::process::exit`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::process::exit;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Thread` and `sleep`
[INFO] [stderr]  --> src/main.rs:8:19
[INFO] [stderr]   |
[INFO] [stderr] 8 | use std::thread::{sleep, Thread};
[INFO] [stderr]   |                   ^^^^^  ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use std::time::Duration;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Channel`, `RplidarHostProtocol`, `RposError`, and `ScanOptions`
[INFO] [stderr]   --> src/main.rs:16:19
[INFO] [stderr]    |
[INFO] [stderr] 16 | use rplidar_drv::{Channel, RplidarHostProtocol, RposError, ScanOptions};
[INFO] [stderr]    |                   ^^^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DataBits`, `FlowControl`, `Parity`, `SerialPortSettings`, and `StopBits`
[INFO] [stderr]   --> src/main.rs:17:18
[INFO] [stderr]    |
[INFO] [stderr] 17 | use serialport::{DataBits, FlowControl, Parity, SerialPortSettings, StopBits};
[INFO] [stderr]    |                  ^^^^^^^^  ^^^^^^^^^^^  ^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `polar_to_cartesian_radians` is never used
[INFO] [stderr]   --> src/main.rs:22:4
[INFO] [stderr]    |
[INFO] [stderr] 22 | fn polar_to_cartesian_radians(radius: f32, theta_radians: f32) -> (f32, f32) {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `polar_to_cartesian_radians` is never used
[INFO] [stderr]  --> src/Lidar.rs:9:4
[INFO] [stderr]   |
[INFO] [stderr] 9 | fn polar_to_cartesian_radians(radius: f32, theta_radians: f32) -> (f32, f32) {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `grab_single_point` and `read_single_point` are never used
[INFO] [stderr]    --> src/Lidar.rs:72:8
[INFO] [stderr]     |
[INFO] [stderr]  21 | impl LidarUnit {
[INFO] [stderr]     | -------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  72 |     fn grab_single_point(&mut self) -> Result<(f32, f32), ()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 105 |     pub(crate) fn read_single_point(&mut self) -> Result<(), ()> {
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: module `Lidar` should have a snake case name
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | mod Lidar;
[INFO] [stderr]   |     ^^^^^ help: convert the identifier to snake case: `lidar`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/Lidar.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |         dev.grab_scan_point();//Ignore result
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let _ = dev.grab_scan_point();//Ignore result
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `BasicLidarSLAM` (bin "BasicLidarSLAM" test) generated 12 warnings (run `cargo fix --bin "BasicLidarSLAM" --tests` to apply 7 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/BasicLidarSLAM-c67103bb196a1e2e)
[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" "078761ad6dcf5ec3c130ca93441816d885bd7fe6453c4b3c381b3bc8d8466685", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "078761ad6dcf5ec3c130ca93441816d885bd7fe6453c4b3c381b3bc8d8466685", kill_on_drop: false }`
[INFO] [stdout] 078761ad6dcf5ec3c130ca93441816d885bd7fe6453c4b3c381b3bc8d8466685
