[INFO] fetching crate finny 0.2.0... [INFO] checking finny-0.2.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate finny 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate finny 0.2.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding arraydeque v0.4.5 (available: v0.5.1) [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding fixedbitset v0.2.0 (available: v0.5.7) [INFO] [stderr] Adding hash32 v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.8.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding petgraph v0.5.1 (available: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b823f9b85decf6f484af5caa4f18b184337182ea30c3a309075347715e7f18b4 [INFO] running `Command { std: "docker" "start" "-a" "b823f9b85decf6f484af5caa4f18b184337182ea30c3a309075347715e7f18b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b823f9b85decf6f484af5caa4f18b184337182ea30c3a309075347715e7f18b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b823f9b85decf6f484af5caa4f18b184337182ea30c3a309075347715e7f18b4", kill_on_drop: false }` [INFO] [stdout] b823f9b85decf6f484af5caa4f18b184337182ea30c3a309075347715e7f18b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad57eac97a499e9f2bb9a2b7660bf3e2ff8cb90dfdfa925b71aff04a6003dea [INFO] running `Command { std: "docker" "start" "-a" "cad57eac97a499e9f2bb9a2b7660bf3e2ff8cb90dfdfa925b71aff04a6003dea", kill_on_drop: false }` [INFO] [stderr] Compiling arraydeque v0.4.5 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling finny_derive v0.2.0 [INFO] [stderr] Checking finny v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FsmBackendImpl` [INFO] [stdout] --> src/decl/fsm.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackendImpl, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmEventQueue` [INFO] [stdout] --> src/fsm/events.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmEventQueue, FsmEventQueueSender, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmTimersNull` [INFO] [stdout] --> src/fsm/fsm_factory.rs:1:91 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmBackendImpl, FsmEventQueue, FsmFrontend, FsmResult, FsmTimers, FsmTimersNull, Inspect}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmStates` [INFO] [stdout] --> src/fsm/inspect/mod.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{FsmBackend, FsmBackendImpl, FsmEvent, FsmStates}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `Index` [INFO] [stdout] --> src/lib.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | pub use self::core::ops::{Deref, DerefMut, Index, IndexMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::core::slice::SliceIndex` [INFO] [stdout] --> src/lib.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub use self::core::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmBackendImpl` [INFO] [stdout] --> src/decl/fsm.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackendImpl, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmEventQueue` [INFO] [stdout] --> src/fsm/events.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmEventQueue, FsmEventQueueSender, lib::*}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmTimersNull` [INFO] [stdout] --> src/fsm/fsm_factory.rs:1:91 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{FsmBackend, FsmBackendImpl, FsmEventQueue, FsmFrontend, FsmResult, FsmTimers, FsmTimersNull, Inspect}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FsmStates` [INFO] [stdout] --> src/fsm/inspect/mod.rs:4:51 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{FsmBackend, FsmBackendImpl, FsmEvent, FsmStates}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | pub use self::core::marker::{self, PhantomData}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMut` and `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: this value of type `std::result::Result::Events>>, PoisonError::Events>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fsm/queue.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 110 | fn enqueue::Events>>(&mut self, event: E) -> FsmResult<()> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | if let Ok(mut q) = self.inner.queue.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result::Events>>, PoisonError::Events>>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/fsm/queue.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 110 | fn enqueue::Events>>(&mut self, event: E) -> FsmResult<()> { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | if let Ok(mut q) = self.inner.queue.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut timer = self.timers.get_timer_storage_mut(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let mut timer = self.timers.get_timer_storage_mut(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_a` is never read [INFO] [stdout] --> src/fsm/tests_fsm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct States { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | state_a: StateA [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StateA` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum StateKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 21 | StateA [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 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 `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 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 `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 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 `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 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] error: aborting due to 1 previous error; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `finny` (lib) due to 2 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut timer = self.timers.get_timer_storage_mut(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/timers/core.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let mut timer = self.timers.get_timer_storage_mut(&id); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_a` is never read [INFO] [stdout] --> src/fsm/tests_fsm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct States { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 16 | state_a: StateA [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StateA` is never constructed [INFO] [stdout] --> src/fsm/tests_fsm.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum StateKind { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 21 | StateA [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] error: aborting due to 1 previous error; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `finny` (lib test) due to 2 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cad57eac97a499e9f2bb9a2b7660bf3e2ff8cb90dfdfa925b71aff04a6003dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad57eac97a499e9f2bb9a2b7660bf3e2ff8cb90dfdfa925b71aff04a6003dea", kill_on_drop: false }` [INFO] [stdout] cad57eac97a499e9f2bb9a2b7660bf3e2ff8cb90dfdfa925b71aff04a6003dea