[INFO] cloning repository https://github.com/advil4rent/Stepper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/advil4rent/Stepper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvil4rent%2FStepper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvil4rent%2FStepper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9111d3b854c46909ac323bbcc3578c0242d2821 [INFO] building advil4rent/Stepper against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadvil4rent%2FStepper" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/advil4rent/Stepper on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/advil4rent/Stepper [INFO] finished tweaking git repo https://github.com/advil4rent/Stepper [INFO] tweaked toml for git repo https://github.com/advil4rent/Stepper written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/advil4rent/Stepper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f011ddd0f04f1a0da329dd3aa80c5d126d0acc48e93823b22c6bbf7d119f5f71 [INFO] running `Command { std: "docker" "start" "-a" "f011ddd0f04f1a0da329dd3aa80c5d126d0acc48e93823b22c6bbf7d119f5f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f011ddd0f04f1a0da329dd3aa80c5d126d0acc48e93823b22c6bbf7d119f5f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f011ddd0f04f1a0da329dd3aa80c5d126d0acc48e93823b22c6bbf7d119f5f71", kill_on_drop: false }` [INFO] [stdout] f011ddd0f04f1a0da329dd3aa80c5d126d0acc48e93823b22c6bbf7d119f5f71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12efc9afe87183e5bdd616f61551720af6468d062463356cc0c1e9c68857cc1c [INFO] running `Command { std: "docker" "start" "-a" "12efc9afe87183e5bdd616f61551720af6468d062463356cc0c1e9c68857cc1c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling simple_logger v1.13.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling gpio-cdev v0.5.0 [INFO] [stderr] Compiling stepper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Stream`, `pin_mut` [INFO] [stdout] --> src/lib.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::{pin_mut, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/lib.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:175:55 [INFO] [stdout] | [INFO] [stdout] 175 | ... EventType::RisingEdge => {&self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | EventType::RisingEdge => {let _ = &self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | ... EventType::FallingEdge => {&self.stepper_motor.set_state(State::Forward);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | EventType::FallingEdge => {let _ = &self.stepper_motor.set_state(State::Forward);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:181:55 [INFO] [stdout] | [INFO] [stdout] 181 | ... EventType::RisingEdge => {&self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | EventType::RisingEdge => {let _ = &self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:182:56 [INFO] [stdout] | [INFO] [stdout] 182 | ... EventType::FallingEdge => {&self.stepper_motor.set_state(State::Backward);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 182 | EventType::FallingEdge => {let _ = &self.stepper_motor.set_state(State::Backward);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace`, `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{trace, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "12efc9afe87183e5bdd616f61551720af6468d062463356cc0c1e9c68857cc1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12efc9afe87183e5bdd616f61551720af6468d062463356cc0c1e9c68857cc1c", kill_on_drop: false }` [INFO] [stdout] 12efc9afe87183e5bdd616f61551720af6468d062463356cc0c1e9c68857cc1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fa819e4890ca0b451a2cf10600bd7af3bdd88bbc374e7375d79c5a5717c461 [INFO] running `Command { std: "docker" "start" "-a" "d4fa819e4890ca0b451a2cf10600bd7af3bdd88bbc374e7375d79c5a5717c461", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Stream`, `pin_mut` [INFO] [stdout] --> src/lib.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::{pin_mut, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/lib.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:175:55 [INFO] [stdout] | [INFO] [stdout] 175 | ... EventType::RisingEdge => {&self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | EventType::RisingEdge => {let _ = &self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | ... EventType::FallingEdge => {&self.stepper_motor.set_state(State::Forward);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | EventType::FallingEdge => {let _ = &self.stepper_motor.set_state(State::Forward);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:181:55 [INFO] [stdout] | [INFO] [stdout] 181 | ... EventType::RisingEdge => {&self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | EventType::RisingEdge => {let _ = &self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stepper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:182:56 [INFO] [stdout] | [INFO] [stdout] 182 | ... EventType::FallingEdge => {&self.stepper_motor.set_state(State::Backward);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 182 | EventType::FallingEdge => {let _ = &self.stepper_motor.set_state(State::Backward);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Stream`, `pin_mut` [INFO] [stdout] --> src/lib.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use futures::{pin_mut, Stream, StreamExt}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/lib.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{info, trace, warn}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `trace`, `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{trace, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:175:55 [INFO] [stdout] | [INFO] [stdout] 175 | ... EventType::RisingEdge => {&self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 175 | EventType::RisingEdge => {let _ = &self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:176:56 [INFO] [stdout] | [INFO] [stdout] 176 | ... EventType::FallingEdge => {&self.stepper_motor.set_state(State::Forward);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | EventType::FallingEdge => {let _ = &self.stepper_motor.set_state(State::Forward);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:181:55 [INFO] [stdout] | [INFO] [stdout] 181 | ... EventType::RisingEdge => {&self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 181 | EventType::RisingEdge => {let _ = &self.stepper_motor.set_state(State::Stop);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:182:56 [INFO] [stdout] | [INFO] [stdout] 182 | ... EventType::FallingEdge => {&self.stepper_motor.set_state(State::Backward);} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 182 | EventType::FallingEdge => {let _ = &self.stepper_motor.set_state(State::Backward);} [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.84s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/stepper-a0070477159974a8) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/stepper-23a08bfde5e6cd20) [INFO] running `Command { std: "docker" "inspect" "d4fa819e4890ca0b451a2cf10600bd7af3bdd88bbc374e7375d79c5a5717c461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fa819e4890ca0b451a2cf10600bd7af3bdd88bbc374e7375d79c5a5717c461", kill_on_drop: false }` [INFO] [stdout] d4fa819e4890ca0b451a2cf10600bd7af3bdd88bbc374e7375d79c5a5717c461