[INFO] fetching crate finny 0.2.0... [INFO] checking finny-0.2.0 against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] extracting crate finny 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate finny 0.2.0 on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate finny 0.2.0 [INFO] finished tweaking crates.io crate finny 0.2.0 [INFO] tweaked toml for crates.io crate finny 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 32 packages [INFO] [stderr] Adding arraydeque v0.4.5 (latest: v0.5.1) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding fixedbitset v0.2.0 (latest: v0.5.7) [INFO] [stderr] Adding hash32 v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding heapless v0.7.17 (latest: v0.8.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding petgraph v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.59) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "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 slog v2.7.0 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded finny_derive v0.2.0 [INFO] [stderr] Downloaded arraydeque v0.4.5 [INFO] [stderr] Downloaded fixedbitset v0.2.0 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded petgraph v0.5.1 [INFO] [stderr] Downloaded serde_json v1.0.115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 252d74d55f7e96c66adb61cf1da57a72deed03151e30e718a0121b5d39845d78 [INFO] running `Command { std: "docker" "start" "-a" "252d74d55f7e96c66adb61cf1da57a72deed03151e30e718a0121b5d39845d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "252d74d55f7e96c66adb61cf1da57a72deed03151e30e718a0121b5d39845d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "252d74d55f7e96c66adb61cf1da57a72deed03151e30e718a0121b5d39845d78", kill_on_drop: false }` [INFO] [stdout] 252d74d55f7e96c66adb61cf1da57a72deed03151e30e718a0121b5d39845d78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c316d0483eae3227d69cfdb263bf169336721257c087a31dab46fef5655887e6 [INFO] running `Command { std: "docker" "start" "-a" "c316d0483eae3227d69cfdb263bf169336721257c087a31dab46fef5655887e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling finny_derive v0.2.0 [INFO] [stderr] Checking finny v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FsmBackendImpl` [INFO] [stdout] --> src/decl/fsm.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackendImpl, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmEventQueue` [INFO] [stdout] --> src/fsm/events.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmEventQueue, FsmEventQueueSender, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmTimersNull` [INFO] [stdout] --> src/fsm/fsm_factory.rs:1:91 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmBackendImpl, FsmEventQueue, FsmFrontend, FsmResult, FsmTimers, FsmTimersNull, Inspect}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmStates` [INFO] [stdout] --> src/fsm/inspect/mod.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{FsmBackend, FsmBackendImpl, FsmEvent, FsmStates}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/lib.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | pub use self::core::ops::{Deref, DerefMut, Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::slice::SliceIndex` [INFO] [stdout] --> src/lib.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub use self::core::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmBackendImpl` [INFO] [stdout] --> src/decl/fsm.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackendImpl, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmEventQueue` [INFO] [stdout] --> src/fsm/events.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmEventQueue, FsmEventQueueSender, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmTimersNull` [INFO] [stdout] --> src/fsm/fsm_factory.rs:1:91 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmBackendImpl, FsmEventQueue, FsmFrontend, FsmResult, FsmTimers, FsmTimersNull, Inspect}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmStates` [INFO] [stdout] --> src/fsm/inspect/mod.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{FsmBackend, FsmBackendImpl, FsmEvent, FsmStates}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut`, `Index` [INFO] [stdout] --> src/lib.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | pub use self::core::ops::{Deref, DerefMut, Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::slice::SliceIndex` [INFO] [stdout] --> src/lib.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub use self::core::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/fsm/transitions.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let ctx = inspect_event_ctx.for_transition::(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/fsm/transitions.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let ctx = inspect_event_ctx.for_transition::(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fsm` [INFO] [stdout] --> src/inspect/null.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | fn event_done(self, fsm: &FsmBackendImpl) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fsm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/null.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/inspect/null.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/null.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn info(&self, msg: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/inspect/null.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_event(&self, event: &InspectFsmEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fsm` [INFO] [stdout] --> src/inspect/events.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn event_done(self, fsm: &FsmBackendImpl) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fsm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/events.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/inspect/events.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/events.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | fn info(&self, msg: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fsm` [INFO] [stdout] --> src/inspect/null.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | fn event_done(self, fsm: &FsmBackendImpl) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fsm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/null.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/inspect/null.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/null.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn info(&self, msg: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/inspect/null.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_event(&self, event: &InspectFsmEvent) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fsm` [INFO] [stdout] --> src/inspect/events.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn event_done(self, fsm: &FsmBackendImpl) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fsm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/events.rs:61:27 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/inspect/events.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | fn on_error(&self, msg: &str, error: &E) where E: core::fmt::Debug { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/inspect/events.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | fn info(&self, msg: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut timer = self.timers.get_timer_storage_mut(&id); [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: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let mut timer = self.timers.get_timer_storage_mut(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut timer = self.timers.get_timer_storage_mut(&id); [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: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let mut timer = self.timers.get_timer_storage_mut(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_a` is never read [INFO] [stdout] --> src/fsm/tests_fsm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct States { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | state_a: StateA [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StateA` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum StateKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 21 | StateA [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_a` is never read [INFO] [stdout] --> src/fsm/tests_fsm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct States { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | state_a: StateA [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StateA` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum StateKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 21 | StateA [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fsm/fsm_impl.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | Self::dispatch(self, ev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = Self::dispatch(self, ev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fsm/fsm_impl.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | Self::dispatch(self, ev); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 124 | let _ = Self::dispatch(self, ev); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/timers/core.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | self.pending_events.push_front(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = self.pending_events.push_front(id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/timers/core.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | self.pending_events.push_front(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = self.pending_events.push_front(id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/timers/core.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | self.cancel(id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = self.cancel(id.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/timers/core.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | self.pending_events.push_front(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = self.pending_events.push_front(id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/timers/core.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | self.pending_events.push_front(id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = self.pending_events.push_front(id); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/timers/core.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | self.cancel(id.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = self.cancel(id.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.79s [INFO] running `Command { std: "docker" "inspect" "c316d0483eae3227d69cfdb263bf169336721257c087a31dab46fef5655887e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c316d0483eae3227d69cfdb263bf169336721257c087a31dab46fef5655887e6", kill_on_drop: false }` [INFO] [stdout] c316d0483eae3227d69cfdb263bf169336721257c087a31dab46fef5655887e6