[INFO] fetching crate finny 0.2.0... [INFO] checking finny-0.2.0 against master#accc516128b21e960b1a7af45393e9acdd184890 for pr-122501 [INFO] extracting crate finny 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate finny 0.2.0 on toolchain accc516128b21e960b1a7af45393e9acdd184890 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+accc516128b21e960b1a7af45393e9acdd184890" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded finny_derive v0.2.0 [INFO] [stderr] Downloaded arraydeque v0.4.5 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+accc516128b21e960b1a7af45393e9acdd184890" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dab7c5a5c553bc1fac7f74165796060807e841b09f86385373812898cfa0105f [INFO] running `Command { std: "docker" "start" "-a" "dab7c5a5c553bc1fac7f74165796060807e841b09f86385373812898cfa0105f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dab7c5a5c553bc1fac7f74165796060807e841b09f86385373812898cfa0105f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab7c5a5c553bc1fac7f74165796060807e841b09f86385373812898cfa0105f", kill_on_drop: false }` [INFO] [stdout] dab7c5a5c553bc1fac7f74165796060807e841b09f86385373812898cfa0105f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+accc516128b21e960b1a7af45393e9acdd184890" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8baa71c4222086b887ead838e260c61c4a6007eedd0d681cb0f0f424b1c3713e [INFO] running `Command { std: "docker" "start" "-a" "8baa71c4222086b887ead838e260c61c4a6007eedd0d681cb0f0f424b1c3713e", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling serde_derive v1.0.197 [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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/accc516128b21e960b1a7af45393e9acdd184890/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Debug` is already imported here [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] 7 | use core::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/accc516128b21e960b1a7af45393e9acdd184890/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/timers/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Duration` is already imported here [INFO] [stdout] 6 | use Duration; [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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/accc516128b21e960b1a7af45393e9acdd184890/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Debug` is already imported here [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] 7 | use core::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/accc516128b21e960b1a7af45393e9acdd184890/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/timers/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Duration` is already imported here [INFO] [stdout] 6 | use Duration; [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/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: `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/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/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/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: `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: `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: 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: 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: 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: 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: 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: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.72s [INFO] running `Command { std: "docker" "inspect" "8baa71c4222086b887ead838e260c61c4a6007eedd0d681cb0f0f424b1c3713e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8baa71c4222086b887ead838e260c61c4a6007eedd0d681cb0f0f424b1c3713e", kill_on_drop: false }` [INFO] [stdout] 8baa71c4222086b887ead838e260c61c4a6007eedd0d681cb0f0f424b1c3713e [INFO] checking finny-0.2.0 against try#32f93a5733992b29f321831b7e26c1f7d7205013 for pr-122501 [INFO] extracting crate finny 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate finny 0.2.0 on toolchain 32f93a5733992b29f321831b7e26c1f7d7205013 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "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-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a872df1b38e15eef1ecdd40e89fbfa074ff7dbcff83ea08459c9d7e12201bb2 [INFO] running `Command { std: "docker" "start" "-a" "7a872df1b38e15eef1ecdd40e89fbfa074ff7dbcff83ea08459c9d7e12201bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a872df1b38e15eef1ecdd40e89fbfa074ff7dbcff83ea08459c9d7e12201bb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a872df1b38e15eef1ecdd40e89fbfa074ff7dbcff83ea08459c9d7e12201bb2", kill_on_drop: false }` [INFO] [stdout] 7a872df1b38e15eef1ecdd40e89fbfa074ff7dbcff83ea08459c9d7e12201bb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+32f93a5733992b29f321831b7e26c1f7d7205013" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 076b84d6e94f134dcf872d29b9abc10111cf3076912a0760f612d2d5c261b6ae [INFO] running `Command { std: "docker" "start" "-a" "076b84d6e94f134dcf872d29b9abc10111cf3076912a0760f612d2d5c261b6ae", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Debug` is already imported here [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] 7 | use core::fmt::Debug; [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: the item `ToString` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/timers/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Duration` is already imported here [INFO] [stdout] 6 | use Duration; [INFO] [stdout] | ^^^^^^^^ [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: `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 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 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: `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::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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Debug` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Debug` is already imported here [INFO] [stdout] 6 | use AsRef; [INFO] [stdout] 7 | use core::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/inspect/slog.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/32f93a5733992b29f321831b7e26c1f7d7205013/library/std/src/prelude/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/timers/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lib::*; [INFO] [stdout] | ------------- the item `Duration` is already imported here [INFO] [stdout] 6 | use Duration; [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] error[E0309]: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `::Context` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the associated type `::Context` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where ::Context: 'a { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `::Context` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the associated type `::Context` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where ::Context: 'a { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `::Context` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the associated type `::Context` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where ::Context: 'a { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 16 | pub fn on_entry<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the associated type `::Context` may not live long enough [INFO] [stdout] --> src/decl/state.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `::Context` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the associated type `::Context` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where ::Context: 'a { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/state.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 21 | pub fn on_exit<'a, TAction: Fn(&mut TState, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `TContext` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TContext` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TContext: 'a { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `TContext` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TContext` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TContext: 'a { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `TContext` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TContext` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TContext: 'a { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 23 | pub fn on_entry<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TContext` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `TContext` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TContext` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub context: &'a mut TFsm::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TContext: 'a { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0309]: the parameter type `TFsm` may not live long enough [INFO] [stdout] --> src/decl/sub.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `queue_vec::FsmEventQueueVec` will meet its required lifetime bounds... [INFO] [stdout] | | [INFO] [stdout] | the parameter type `TFsm` must be valid for the lifetime `'a` as defined here... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> src/fsm/events.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub queue: &'a mut Q, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 28 | pub fn on_exit<'a, TAction: Fn(&mut TSubMachine, &mut EventContext<'a, TFsm, FsmQueueMock>)>(&self, _action: TAction) -> &Self where TFsm: 'a { [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: `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: `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/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] error: aborting due to 8 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [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] [stderr] error: could not compile `finny` (lib) due to 9 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 8 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0309`. [INFO] [stdout] [INFO] [stderr] error: could not compile `finny` (lib test) due to 9 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "076b84d6e94f134dcf872d29b9abc10111cf3076912a0760f612d2d5c261b6ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "076b84d6e94f134dcf872d29b9abc10111cf3076912a0760f612d2d5c261b6ae", kill_on_drop: false }` [INFO] [stdout] 076b84d6e94f134dcf872d29b9abc10111cf3076912a0760f612d2d5c261b6ae