[INFO] cloning repository https://github.com/19h/ftsim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/19h/ftsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F19h%2Fftsim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F19h%2Fftsim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e0f57c1f9779c5fdfd6f3b99f05547e9daa77e4 [INFO] building 19h/ftsim against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F19h%2Fftsim" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/19h/ftsim [INFO] finished tweaking git repo https://github.com/19h/ftsim [INFO] tweaked toml for git repo https://github.com/19h/ftsim written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/19h/ftsim on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/19h/ftsim already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca08b0845b9a0b177762779a49723dbf59621b9c184a49aae6ead4c4c9fcd7b3 [INFO] running `Command { std: "docker" "start" "-a" "ca08b0845b9a0b177762779a49723dbf59621b9c184a49aae6ead4c4c9fcd7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca08b0845b9a0b177762779a49723dbf59621b9c184a49aae6ead4c4c9fcd7b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca08b0845b9a0b177762779a49723dbf59621b9c184a49aae6ead4c4c9fcd7b3", kill_on_drop: false }` [INFO] [stdout] ca08b0845b9a0b177762779a49723dbf59621b9c184a49aae6ead4c4c9fcd7b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc4864712615c2505d9bf938e94398de620a6f66a6b98fbf1944d6f4cffe0527 [INFO] running `Command { std: "docker" "start" "-a" "cc4864712615c2505d9bf938e94398de620a6f66a6b98fbf1944d6f4cffe0527", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling metrics v0.22.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.25.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling ftsim-types v0.1.0 (/opt/rustwide/workdir/crates/ftsim-types) [INFO] [stderr] Compiling ftsim-proto v0.1.0 (/opt/rustwide/workdir/crates/ftsim-proto) [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> crates/ftsim-proto/src/protocols/raft_lite/state.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct LogEntry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 24 | pub term: u64, [INFO] [stdout] 25 | pub command: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `commit_index` and `last_applied` are never read [INFO] [stdout] --> crates/ftsim-proto/src/protocols/raft_lite/state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub commit_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | pub last_applied: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ftsim-engine v0.1.0 (/opt/rustwide/workdir/crates/ftsim-engine) [INFO] [stdout] warning: unused variable: `sim_ctx` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let sim_ctx = self.context.lock().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let node_id = ctx.current_span().id().and_then(|id| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn on_event(&self, event: &tracing::Event<'_>, ctx: Context<'_, S>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EngineError` is never used [INFO] [stdout] --> crates/ftsim-engine/src/errors.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum EngineError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ftsim-engine/src/sim.rs:571:16 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn rng(&mut self, site_label: &'static str) -> RngDiscipline { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 571 | pub fn rng(&mut self, site_label: &'static str) -> RngDiscipline<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> crates/ftsim-engine/src/rng.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Recorder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 54 | seed: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TracingContext` is more private than the item `telemetry::TelemetryBus::context` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn context(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `telemetry::TelemetryBus::context` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TracingContext` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct TracingContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ftsim-tui v0.1.0 (/opt/rustwide/workdir/crates/ftsim-tui) [INFO] [stderr] Compiling ftsim-modelcheck v0.1.0 (/opt/rustwide/workdir/crates/ftsim-modelcheck) [INFO] [stderr] Compiling ftsim-cli v0.1.0 (/opt/rustwide/workdir/crates/ftsim-cli) [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> crates/ftsim-cli/src/commands/run.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(handle) = tui_handle { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.31s [INFO] running `Command { std: "docker" "inspect" "cc4864712615c2505d9bf938e94398de620a6f66a6b98fbf1944d6f4cffe0527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4864712615c2505d9bf938e94398de620a6f66a6b98fbf1944d6f4cffe0527", kill_on_drop: false }` [INFO] [stdout] cc4864712615c2505d9bf938e94398de620a6f66a6b98fbf1944d6f4cffe0527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b96df8d9aeea0ee83fc636576a30cc0656464ee6f4f8af6a5c9a9a17b422b0d4 [INFO] running `Command { std: "docker" "start" "-a" "b96df8d9aeea0ee83fc636576a30cc0656464ee6f4f8af6a5c9a9a17b422b0d4", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> crates/ftsim-proto/src/protocols/raft_lite/state.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct LogEntry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 24 | pub term: u64, [INFO] [stdout] 25 | pub command: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `commit_index` and `last_applied` are never read [INFO] [stdout] --> crates/ftsim-proto/src/protocols/raft_lite/state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub commit_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | pub last_applied: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stdout] warning: unused variable: `sim_ctx` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let sim_ctx = self.context.lock().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let node_id = ctx.current_span().id().and_then(|id| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn on_event(&self, event: &tracing::Event<'_>, ctx: Context<'_, S>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EngineError` is never used [INFO] [stdout] --> crates/ftsim-engine/src/errors.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum EngineError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ftsim-engine/src/sim.rs:571:16 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn rng(&mut self, site_label: &'static str) -> RngDiscipline { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 571 | pub fn rng(&mut self, site_label: &'static str) -> RngDiscipline<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> crates/ftsim-engine/src/rng.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Recorder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 54 | seed: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TracingContext` is more private than the item `telemetry::TelemetryBus::context` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn context(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `telemetry::TelemetryBus::context` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TracingContext` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct TracingContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling ftsim-engine v0.1.0 (/opt/rustwide/workdir/crates/ftsim-engine) [INFO] [stderr] Compiling ftsim-proto v0.1.0 (/opt/rustwide/workdir/crates/ftsim-proto) [INFO] [stderr] Compiling ftsim-tui v0.1.0 (/opt/rustwide/workdir/crates/ftsim-tui) [INFO] [stderr] Compiling ftsim-types v0.1.0 (/opt/rustwide/workdir/crates/ftsim-types) [INFO] [stderr] Compiling ftsim-cli v0.1.0 (/opt/rustwide/workdir/crates/ftsim-cli) [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> crates/ftsim-cli/src/commands/run.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | if let Some(handle) = tui_handle { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `command` is never read [INFO] [stdout] --> crates/ftsim-proto/src/protocols/raft_lite/state.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct LogEntry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 24 | pub term: u64, [INFO] [stdout] 25 | pub command: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogEntry` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `commit_index` and `last_applied` are never read [INFO] [stdout] --> crates/ftsim-proto/src/protocols/raft_lite/state.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub commit_index: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | pub last_applied: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stdout] warning: unused variable: `sim_ctx` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let sim_ctx = self.context.lock().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let node_id = ctx.current_span().id().and_then(|id| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/tracing_layer.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn on_event(&self, event: &tracing::Event<'_>, ctx: Context<'_, S>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> crates/ftsim-engine/src/sim.rs:571:16 [INFO] [stdout] | [INFO] [stdout] 571 | pub fn rng(&mut self, site_label: &'static str) -> RngDiscipline { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 571 | pub fn rng(&mut self, site_label: &'static str) -> RngDiscipline<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seed` is never read [INFO] [stdout] --> crates/ftsim-engine/src/rng.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Recorder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 54 | seed: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EngineError` is never used [INFO] [stdout] --> crates/ftsim-engine/src/errors.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum EngineError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TracingContext` is more private than the item `telemetry::TelemetryBus::context` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn context(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `telemetry::TelemetryBus::context` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `TracingContext` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/ftsim-engine/src/telemetry/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct TracingContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling generator v0.8.5 [INFO] [stderr] Compiling generator v0.7.5 [INFO] [stderr] Compiling loom v0.7.2 [INFO] [stderr] Compiling shuttle v0.4.1 [INFO] [stderr] Compiling ftsim-modelcheck v0.1.0 (/opt/rustwide/workdir/crates/ftsim-modelcheck) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.04s [INFO] running `Command { std: "docker" "inspect" "b96df8d9aeea0ee83fc636576a30cc0656464ee6f4f8af6a5c9a9a17b422b0d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96df8d9aeea0ee83fc636576a30cc0656464ee6f4f8af6a5c9a9a17b422b0d4", kill_on_drop: false }` [INFO] [stdout] b96df8d9aeea0ee83fc636576a30cc0656464ee6f4f8af6a5c9a9a17b422b0d4