[INFO] cloning repository https://github.com/goto-eof/rpizero_rdc_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goto-eof/rpizero_rdc_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoto-eof%2Frpizero_rdc_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoto-eof%2Frpizero_rdc_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12a42a2ae3b3c269a6c60dfb0452ff443d7d5bfd [INFO] testing goto-eof/rpizero_rdc_rust against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoto-eof%2Frpizero_rdc_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/goto-eof/rpizero_rdc_rust on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/goto-eof/rpizero_rdc_rust [INFO] finished tweaking git repo https://github.com/goto-eof/rpizero_rdc_rust [INFO] tweaked toml for git repo https://github.com/goto-eof/rpizero_rdc_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/goto-eof/rpizero_rdc_rust 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 607cd381af31a6336a30db3d9dc8df5ef0934049c6d5126db5facb7ed9a04f7d [INFO] running `Command { std: "docker" "start" "-a" "607cd381af31a6336a30db3d9dc8df5ef0934049c6d5126db5facb7ed9a04f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "607cd381af31a6336a30db3d9dc8df5ef0934049c6d5126db5facb7ed9a04f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "607cd381af31a6336a30db3d9dc8df5ef0934049c6d5126db5facb7ed9a04f7d", kill_on_drop: false }` [INFO] [stdout] 607cd381af31a6336a30db3d9dc8df5ef0934049c6d5126db5facb7ed9a04f7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 144e23839ccac543a424bba3512c695e4e938197ba52f27b9572efcc526f7f82 [INFO] running `Command { std: "docker" "start" "-a" "144e23839ccac543a424bba3512c695e4e938197ba52f27b9572efcc526f7f82", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-lite v2.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling concurrent-queue v2.3.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling async-task v4.5.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling event-listener-strategy v0.3.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling async-lock v3.1.1 [INFO] [stderr] Compiling async-channel v2.1.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling async-executor v1.7.2 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling simple-mutex v1.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling async-dup v1.2.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling rppal v0.12.0 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling rust_gpiozero v0.2.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling polling v3.3.0 [INFO] [stderr] Compiling async-io v2.2.0 [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling erased-serde v0.3.31 [INFO] [stderr] Compiling serde_fmt v1.0.3 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling value-bag-serde1 v1.4.2 [INFO] [stderr] Compiling value-bag v1.4.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling femme v2.2.1 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling async-h1 v2.3.4 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling rpizero_rdc_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | task::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut arc = arc_rdc_service.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut arc = arc_rdc_service.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pir` is never read [INFO] [stdout] --> src/service/device/pir_service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct PirService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | pir: DigitalInputDevice, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_motion`, `is_active`, and `wait_for_no_motion` are never used [INFO] [stdout] --> src/service/device/pir_service.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl PirService { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn wait_for_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn is_active(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn wait_for_no_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pir_service` is never read [INFO] [stdout] --> src/service/orchestrator_service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RdcService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | led_service: LedService, [INFO] [stdout] 7 | pir_service: PirService, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pir_active`, `wait_for_motion`, and `wait_for_no_motion` are never used [INFO] [stdout] --> src/service/orchestrator_service.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RdcService { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_pir_active(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn wait_for_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn wait_for_no_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.61s [INFO] running `Command { std: "docker" "inspect" "144e23839ccac543a424bba3512c695e4e938197ba52f27b9572efcc526f7f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "144e23839ccac543a424bba3512c695e4e938197ba52f27b9572efcc526f7f82", kill_on_drop: false }` [INFO] [stdout] 144e23839ccac543a424bba3512c695e4e938197ba52f27b9572efcc526f7f82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4dbd7b127fcf80a22f79a019bc50a1bad61ee99320c75319d42d923588f49a1 [INFO] running `Command { std: "docker" "start" "-a" "f4dbd7b127fcf80a22f79a019bc50a1bad61ee99320c75319d42d923588f49a1", kill_on_drop: false }` [INFO] [stderr] Compiling rpizero_rdc_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | task::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc` [INFO] [stdout] --> src/main.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut arc = arc_rdc_service.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut arc = arc_rdc_service.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pir` is never read [INFO] [stdout] --> src/service/device/pir_service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct PirService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 3 | pir: DigitalInputDevice, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wait_for_motion`, `is_active`, and `wait_for_no_motion` are never used [INFO] [stdout] --> src/service/device/pir_service.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl PirService { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn wait_for_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn is_active(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn wait_for_no_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pir_service` is never read [INFO] [stdout] --> src/service/orchestrator_service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct RdcService { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | led_service: LedService, [INFO] [stdout] 7 | pir_service: PirService, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pir_active`, `wait_for_motion`, and `wait_for_no_motion` are never used [INFO] [stdout] --> src/service/orchestrator_service.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl RdcService { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn is_pir_active(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn wait_for_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn wait_for_no_motion(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "f4dbd7b127fcf80a22f79a019bc50a1bad61ee99320c75319d42d923588f49a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4dbd7b127fcf80a22f79a019bc50a1bad61ee99320c75319d42d923588f49a1", kill_on_drop: false }` [INFO] [stdout] f4dbd7b127fcf80a22f79a019bc50a1bad61ee99320c75319d42d923588f49a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a9107a157c34eba4f5bbbb43d843ed60ecbc2480bf390e956df621a67d23820 [INFO] running `Command { std: "docker" "start" "-a" "2a9107a157c34eba4f5bbbb43d843ed60ecbc2480bf390e956df621a67d23820", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/main.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | task::{self}, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arc` [INFO] [stderr] --> src/main.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | let mut arc = arc_rdc_service.clone(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_arc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | let mut arc = arc_rdc_service.clone(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `pir` is never read [INFO] [stderr] --> src/service/device/pir_service.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct PirService { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 3 | pir: DigitalInputDevice, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `wait_for_motion`, `is_active`, and `wait_for_no_motion` are never used [INFO] [stderr] --> src/service/device/pir_service.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl PirService { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 13 | pub fn wait_for_motion(&mut self) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn is_active(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | pub fn wait_for_no_motion(&mut self) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `pir_service` is never read [INFO] [stderr] --> src/service/orchestrator_service.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct RdcService { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 6 | led_service: LedService, [INFO] [stderr] 7 | pir_service: PirService, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_pir_active`, `wait_for_motion`, and `wait_for_no_motion` are never used [INFO] [stderr] --> src/service/orchestrator_service.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl RdcService { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn is_pir_active(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 25 | pub fn wait_for_motion(&mut self) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn wait_for_no_motion(&mut self) -> () { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rpizero_rdc_rust` (bin "rpizero_rdc_rust" test) generated 7 warnings (run `cargo fix --bin "rpizero_rdc_rust" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rpizero_rdc_rust-c5afe8d6e327f045) [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" "2a9107a157c34eba4f5bbbb43d843ed60ecbc2480bf390e956df621a67d23820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a9107a157c34eba4f5bbbb43d843ed60ecbc2480bf390e956df621a67d23820", kill_on_drop: false }` [INFO] [stdout] 2a9107a157c34eba4f5bbbb43d843ed60ecbc2480bf390e956df621a67d23820