[INFO] fetching crate finny 0.3.0... [INFO] checking finny-0.3.0 against 5f93549e108157f071a34f220b74b25690496aa1 for pr-162986 [INFO] extracting crate finny 0.3.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate finny 0.3.0 [INFO] finished tweaking crates.io crate finny 0.3.0 [INFO] tweaked toml for crates.io crate finny 0.3.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate finny 0.3.0 on toolchain 5f93549e108157f071a34f220b74b25690496aa1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate finny 0.3.0 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" "+5f93549e108157f071a34f220b74b25690496aa1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b [INFO] running `Command { std: "docker" "start" "037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b" "/opt/rustwide/cargo-home/bin/cargo" "+5f93549e108157f071a34f220b74b25690496aa1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling heapless v0.7.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling indexmap v2.14.2 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling finny_derive v0.3.0 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Checking finny v0.3.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)]` (part of `#[warn(unused)]`) 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: `lib::*` [INFO] [stdout] --> src/fsm/transitions.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{FsmTimers, lib::*}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] = note: `#[forbid(unsatisfied_hrtb_arg)]` (part of `#[forbid(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | ... on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | ... on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | ...n on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | ...n on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [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] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | ...y<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::*` [INFO] [stdout] --> src/fsm/transitions.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{FsmTimers, lib::*}; [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, TimerFsmSettings}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | ...t<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...y<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...y<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:155:33 [INFO] [stdout] | [INFO] [stdout] 155 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/lib.rs:156:47 [INFO] [stdout] | [INFO] [stdout] 156 | 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:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub use self::core::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...t<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...t<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] = note: `#[forbid(unsatisfied_hrtb_arg)]` (part of `#[forbid(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | ... on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:42:31 [INFO] [stdout] | [INFO] [stdout] 42 | ... on_entry<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | ...n on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | ...n on_exit<'a, TAction: AsyncFn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `::Context` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:34:31 [INFO] [stdout] | [INFO] [stdout] 34 | ...y<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | ...t<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...y<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...y<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...t<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...t<'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TFsm` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the type parameter `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | ...'a, TAction: AsyncFn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `TContext` must outlive `'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #162200 [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, TimerFsmSettings}; [INFO] [stdout] | ^^^^^^^^^ [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 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: struct `StateA` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct StateA; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventA` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct EventA { pub n: usize } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestFsm` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TestFsm; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `States` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct States { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StateKind` is never used [INFO] [stdout] --> src/fsm/tests_fsm.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum StateKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Events` is never used [INFO] [stdout] --> src/fsm/tests_fsm.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FsmBackendTimers` is never used [INFO] [stdout] --> src/fsm/tests_fsm.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum FsmBackendTimers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `finny` (lib) due to 24 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | 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)]` (part of `#[warn(unused)]`) 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] [stderr] error: could not compile `finny` (lib test) due to 24 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b", kill_on_drop: false }` [INFO] [stdout] 037a38a01c56a54f59468d59e1ff4b89824d56f6bcb00ca432fc0c977a71bc2b