[INFO] fetching crate rust_rpi_4wd_car 0.0.12... [INFO] testing rust_rpi_4wd_car-0.0.12 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate rust_rpi_4wd_car 0.0.12 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate rust_rpi_4wd_car 0.0.12 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_rpi_4wd_car 0.0.12 [INFO] finished tweaking crates.io crate rust_rpi_4wd_car 0.0.12 [INFO] tweaked toml for crates.io crate rust_rpi_4wd_car 0.0.12 written to /workspace/builds/worker-27/source/Cargo.toml [INFO] crate crates.io crate rust_rpi_4wd_car 0.0.12 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.1.9 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded anyhow v1.0.40 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded nix v0.20.0 [INFO] [stderr] Downloaded thiserror v1.0.24 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded rppal v0.12.0 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded syn v1.0.69 [INFO] [stderr] Downloaded pin-project-lite v0.2.6 [INFO] [stderr] Downloaded tokio v1.5.0 [INFO] [stderr] Downloaded nb v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bdccff3fb7579b18e0ca932303e1e85fe618f3ce19d3732a228edfc5032a545 [INFO] running `Command { std: "docker" "start" "-a" "0bdccff3fb7579b18e0ca932303e1e85fe618f3ce19d3732a228edfc5032a545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bdccff3fb7579b18e0ca932303e1e85fe618f3ce19d3732a228edfc5032a545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bdccff3fb7579b18e0ca932303e1e85fe618f3ce19d3732a228edfc5032a545", kill_on_drop: false }` [INFO] [stdout] 0bdccff3fb7579b18e0ca932303e1e85fe618f3ce19d3732a228edfc5032a545 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba59f4772466bbdd282e0056c70d0f04a1c6b9b0cee205838bc8aa811e4dc40b [INFO] running `Command { std: "docker" "start" "-a" "ba59f4772466bbdd282e0056c70d0f04a1c6b9b0cee205838bc8aa811e4dc40b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling rppal v0.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling rust_rpi_4wd_car v0.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `ir_left` [INFO] [stdout] --> src/sensors.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ir_left: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ir_right` [INFO] [stdout] --> src/sensors.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | ir_right: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_left1` [INFO] [stdout] --> src/sensors.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | track_left1: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_left2` [INFO] [stdout] --> src/sensors.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | track_left2: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_right1` [INFO] [stdout] --> src/sensors.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | track_right1: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_right2` [INFO] [stdout] --> src/sensors.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | track_right2: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `echo` [INFO] [stdout] --> src/sensors.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | echo: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sonar` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sensors.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn new() -> Rr4cResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.68s [INFO] running `Command { std: "docker" "inspect" "ba59f4772466bbdd282e0056c70d0f04a1c6b9b0cee205838bc8aa811e4dc40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba59f4772466bbdd282e0056c70d0f04a1c6b9b0cee205838bc8aa811e4dc40b", kill_on_drop: false }` [INFO] [stdout] ba59f4772466bbdd282e0056c70d0f04a1c6b9b0cee205838bc8aa811e4dc40b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7f1622f0a69f4f1762ca9121c3f03914939e40a06e590e2013452ece11f04bd [INFO] running `Command { std: "docker" "start" "-a" "a7f1622f0a69f4f1762ca9121c3f03914939e40a06e590e2013452ece11f04bd", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `ir_left` [INFO] [stdout] --> src/sensors.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ir_left: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ir_right` [INFO] [stdout] --> src/sensors.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | ir_right: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_left1` [INFO] [stdout] --> src/sensors.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | track_left1: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_left2` [INFO] [stdout] --> src/sensors.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | track_left2: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_right1` [INFO] [stdout] --> src/sensors.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | track_right1: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_right2` [INFO] [stdout] --> src/sensors.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | track_right2: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `echo` [INFO] [stdout] --> src/sensors.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | echo: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sonar` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_rpi_4wd_car v0.0.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sensors.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn new() -> Rr4cResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ir_left` [INFO] [stdout] --> src/sensors.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ir_left: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ir_right` [INFO] [stdout] --> src/sensors.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | ir_right: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_left1` [INFO] [stdout] --> src/sensors.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | track_left1: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_left2` [INFO] [stdout] --> src/sensors.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | track_left2: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_right1` [INFO] [stdout] --> src/sensors.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | track_right1: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `track_right2` [INFO] [stdout] --> src/sensors.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | track_right2: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `echo` [INFO] [stdout] --> src/sensors.rs:379:5 [INFO] [stdout] | [INFO] [stdout] 379 | echo: InputPin, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Sonar` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sensors.rs:370:10 [INFO] [stdout] | [INFO] [stdout] 370 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/sensors.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn new() -> Rr4cResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "a7f1622f0a69f4f1762ca9121c3f03914939e40a06e590e2013452ece11f04bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f1622f0a69f4f1762ca9121c3f03914939e40a06e590e2013452ece11f04bd", kill_on_drop: false }` [INFO] [stdout] a7f1622f0a69f4f1762ca9121c3f03914939e40a06e590e2013452ece11f04bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eda5c983f455f96988b714bfc05c247e64aa5e8fba4354b5eabc2aad4a5f86ba [INFO] running `Command { std: "docker" "start" "-a" "eda5c983f455f96988b714bfc05c247e64aa5e8fba4354b5eabc2aad4a5f86ba", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `ir_left` [INFO] [stderr] --> src/sensors.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | ir_left: InputPin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sensors.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ir_right` [INFO] [stderr] --> src/sensors.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | ir_right: InputPin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sensors.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `track_left1` [INFO] [stderr] --> src/sensors.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | track_left1: InputPin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sensors.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `track_left2` [INFO] [stderr] --> src/sensors.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | track_left2: InputPin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sensors.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `track_right1` [INFO] [stderr] --> src/sensors.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | track_right1: InputPin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sensors.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `track_right2` [INFO] [stderr] --> src/sensors.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | track_right2: InputPin, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sensors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sensors.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `echo` [INFO] [stderr] --> src/sensors.rs:379:5 [INFO] [stderr] | [INFO] [stderr] 379 | echo: InputPin, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Sonar` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/sensors.rs:370:10 [INFO] [stderr] | [INFO] [stderr] 370 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/sensors.rs:387:12 [INFO] [stderr] | [INFO] [stderr] 387 | pub fn new() -> Rr4cResult { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_rpi_4wd_car` (lib) generated 8 warnings [INFO] [stderr] warning: `rust_rpi_4wd_car` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_rpi_4wd_car-80257a43a5cc9de4) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests rust_rpi_4wd_car [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/motors.rs - motors::Motors::movement (line 160) - compile ... ok [INFO] [stdout] test src/hids.rs - hids::Hids::set_red (line 286) ... ok [INFO] [stdout] test src/hids.rs - hids::Hids::set_green (line 246) ... ok [INFO] [stdout] test src/hids.rs - hids::Hids::set_blue (line 192) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "eda5c983f455f96988b714bfc05c247e64aa5e8fba4354b5eabc2aad4a5f86ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda5c983f455f96988b714bfc05c247e64aa5e8fba4354b5eabc2aad4a5f86ba", kill_on_drop: false }` [INFO] [stdout] eda5c983f455f96988b714bfc05c247e64aa5e8fba4354b5eabc2aad4a5f86ba