[INFO] fetching crate rust_rpi_4wd_car 0.0.12... [INFO] testing rust_rpi_4wd_car-0.0.12 against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] extracting crate rust_rpi_4wd_car 0.0.12 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate rust_rpi_4wd_car 0.0.12 on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "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-20/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" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rppal v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa1e68c9ba1911e95b85aef4b6de62dda81be8e26f609d2cea2f9654be021fea [INFO] running `Command { std: "docker" "start" "-a" "aa1e68c9ba1911e95b85aef4b6de62dda81be8e26f609d2cea2f9654be021fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa1e68c9ba1911e95b85aef4b6de62dda81be8e26f609d2cea2f9654be021fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa1e68c9ba1911e95b85aef4b6de62dda81be8e26f609d2cea2f9654be021fea", kill_on_drop: false }` [INFO] [stdout] aa1e68c9ba1911e95b85aef4b6de62dda81be8e26f609d2cea2f9654be021fea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0150e91f069a1f17eba8d1b8689fbb13f66f139d27de347f6166ca7428a2d90d [INFO] running `Command { std: "docker" "start" "-a" "0150e91f069a1f17eba8d1b8689fbb13f66f139d27de347f6166ca7428a2d90d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling nb v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.4 [INFO] [stderr] Compiling tokio v1.5.0 [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.79s [INFO] running `Command { std: "docker" "inspect" "0150e91f069a1f17eba8d1b8689fbb13f66f139d27de347f6166ca7428a2d90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0150e91f069a1f17eba8d1b8689fbb13f66f139d27de347f6166ca7428a2d90d", kill_on_drop: false }` [INFO] [stdout] 0150e91f069a1f17eba8d1b8689fbb13f66f139d27de347f6166ca7428a2d90d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6af2c24e3acb046486c904033de1d3a75fd71530a369d3dc7cb42959d8e17e5 [INFO] running `Command { std: "docker" "start" "-a" "a6af2c24e3acb046486c904033de1d3a75fd71530a369d3dc7cb42959d8e17e5", kill_on_drop: false }` [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] [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 3.03s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_rpi_4wd_car-a7e543b62e7f39d8) [INFO] running `Command { std: "docker" "inspect" "a6af2c24e3acb046486c904033de1d3a75fd71530a369d3dc7cb42959d8e17e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6af2c24e3acb046486c904033de1d3a75fd71530a369d3dc7cb42959d8e17e5", kill_on_drop: false }` [INFO] [stdout] a6af2c24e3acb046486c904033de1d3a75fd71530a369d3dc7cb42959d8e17e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 36c0589ae1ad3ce1410dee5702f359a4b01f0500789312a314fc8dd6532d83d8 [INFO] running `Command { std: "docker" "start" "-a" "36c0589ae1ad3ce1410dee5702f359a4b01f0500789312a314fc8dd6532d83d8", kill_on_drop: false }` [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_rpi_4wd_car-a7e543b62e7f39d8) [INFO] [stdout] [INFO] [stderr] Doc-tests rust_rpi_4wd_car [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] [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_green (line 246) ... ok [INFO] [stdout] test src/hids.rs - hids::Hids::set_red (line 286) ... 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.23s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "36c0589ae1ad3ce1410dee5702f359a4b01f0500789312a314fc8dd6532d83d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c0589ae1ad3ce1410dee5702f359a4b01f0500789312a314fc8dd6532d83d8", kill_on_drop: false }` [INFO] [stdout] 36c0589ae1ad3ce1410dee5702f359a4b01f0500789312a314fc8dd6532d83d8