[INFO] fetching crate rs-statemachine 0.1.0...
[INFO] building rs-statemachine-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate rs-statemachine 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate rs-statemachine 0.1.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate rs-statemachine 0.1.0
[INFO] tweaked toml for crates.io crate rs-statemachine 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rs-statemachine 0.1.0 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 crates.io crate rs-statemachine 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 47f9d4d70a3e3f63f08f5f64356aea12317ee9d6d0df9004212451e1f05b2904
[INFO] running `Command { std: "docker" "start" "-a" "47f9d4d70a3e3f63f08f5f64356aea12317ee9d6d0df9004212451e1f05b2904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47f9d4d70a3e3f63f08f5f64356aea12317ee9d6d0df9004212451e1f05b2904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47f9d4d70a3e3f63f08f5f64356aea12317ee9d6d0df9004212451e1f05b2904", kill_on_drop: false }`
[INFO] [stdout] 47f9d4d70a3e3f63f08f5f64356aea12317ee9d6d0df9004212451e1f05b2904
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] dfd358fa404d7a9268ce141545fc299a2f7e744dbc7ea825f0ebdd765948865f
[INFO] running `Command { std: "docker" "start" "-a" "dfd358fa404d7a9268ce141545fc299a2f7e744dbc7ea825f0ebdd765948865f", kill_on_drop: false }`
[INFO] [stderr]    Compiling rs-statemachine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:319:17
[INFO] [stdout]     |
[INFO] [stdout] 319 |             let mut valid_transitions = transitions.clone();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `transition_type` is never read
[INFO] [stdout]    --> src/lib.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct Transition<S, E, C>
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |     transition_type: TransitionType,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Transition` has a derived impl for the trait `Clone`, but this is 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:606:32
[INFO] [stdout]     |
[INFO] [stdout] 606 |     pub fn external_transition(&mut self) -> ExternalTransitionBuilder<S, E, C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided 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] 606 |     pub fn external_transition(&mut self) -> ExternalTransitionBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:611:32
[INFO] [stdout]     |
[INFO] [stdout] 611 |     pub fn internal_transition(&mut self) -> InternalTransitionBuilder<S, E, C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 611 |     pub fn internal_transition(&mut self) -> InternalTransitionBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:616:33
[INFO] [stdout]     |
[INFO] [stdout] 616 |     pub fn external_transitions(&mut self) -> ExternalTransitionsBuilder<S, E, C> {
[INFO] [stdout]     |                                 ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 616 |     pub fn external_transitions(&mut self) -> ExternalTransitionsBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "dfd358fa404d7a9268ce141545fc299a2f7e744dbc7ea825f0ebdd765948865f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfd358fa404d7a9268ce141545fc299a2f7e744dbc7ea825f0ebdd765948865f", kill_on_drop: false }`
[INFO] [stdout] dfd358fa404d7a9268ce141545fc299a2f7e744dbc7ea825f0ebdd765948865f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 38d81b8db6118f932123c742b134982ab7b3355e98db7dd9cc4b7ba1a008e737
[INFO] running `Command { std: "docker" "start" "-a" "38d81b8db6118f932123c742b134982ab7b3355e98db7dd9cc4b7ba1a008e737", kill_on_drop: false }`
[INFO] [stderr]    Compiling rs-statemachine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:319:17
[INFO] [stdout]     |
[INFO] [stdout] 319 |             let mut valid_transitions = transitions.clone();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `transition_type` is never read
[INFO] [stdout]    --> src/lib.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct Transition<S, E, C>
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |     transition_type: TransitionType,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Transition` has a derived impl for the trait `Clone`, but this is 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:606:32
[INFO] [stdout]     |
[INFO] [stdout] 606 |     pub fn external_transition(&mut self) -> ExternalTransitionBuilder<S, E, C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided 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] 606 |     pub fn external_transition(&mut self) -> ExternalTransitionBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:611:32
[INFO] [stdout]     |
[INFO] [stdout] 611 |     pub fn internal_transition(&mut self) -> InternalTransitionBuilder<S, E, C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 611 |     pub fn internal_transition(&mut self) -> InternalTransitionBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:616:33
[INFO] [stdout]     |
[INFO] [stdout] 616 |     pub fn external_transitions(&mut self) -> ExternalTransitionsBuilder<S, E, C> {
[INFO] [stdout]     |                                 ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 616 |     pub fn external_transitions(&mut self) -> ExternalTransitionsBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Delivered` and `Refunded` are never constructed
[INFO] [stdout]   --> examples/order_example.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | enum OrderState {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 13 |     Delivered,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 14 |     Cancelled,
[INFO] [stdout] 15 |     Refunded,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderState` has derived impls for the traits `Clone` and `Debug`, 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: variants `Deliver` and `Refund` are never constructed
[INFO] [stdout]   --> examples/order_example.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum OrderEvent {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 26 |     Deliver,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 27 |     Cancel,
[INFO] [stdout] 28 |     Refund,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `customer_id` is never read
[INFO] [stdout]   --> examples/order_example.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct OrderContext {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 37 |     customer_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OrderContext` has derived impls for the traits `Clone` and `Debug`, 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/lib.rs:319:17
[INFO] [stdout]     |
[INFO] [stdout] 319 |             let mut valid_transitions = transitions.clone();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `transition_type` is never read
[INFO] [stdout]    --> src/lib.rs:128:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub struct Transition<S, E, C>
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 128 |     transition_type: TransitionType,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Transition` has a derived impl for the trait `Clone`, but this is 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: variants `State3` and `State4` are never constructed
[INFO] [stdout]     --> src/lib.rs:1119:9
[INFO] [stdout]      |
[INFO] [stdout] 1116 |     enum States {
[INFO] [stdout]      |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 1119 |         State3,
[INFO] [stdout]      |         ^^^^^^
[INFO] [stdout] 1120 |         State4,
[INFO] [stdout]      |         ^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `States` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Event3`, `Event4`, and `InternalEvent` are never constructed
[INFO] [stdout]     --> src/lib.rs:1129:9
[INFO] [stdout]      |
[INFO] [stdout] 1126 |     enum Events {
[INFO] [stdout]      |          ------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 1129 |         Event3,
[INFO] [stdout]      |         ^^^^^^
[INFO] [stdout] 1130 |         Event4,
[INFO] [stdout]      |         ^^^^^^
[INFO] [stdout] 1131 |         InternalEvent,
[INFO] [stdout]      |         ^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `Events` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `entity_id` is never read
[INFO] [stdout]     --> src/lib.rs:1139:9
[INFO] [stdout]      |
[INFO] [stdout] 1137 |     struct TestContext {
[INFO] [stdout]      |            ----------- field in this struct
[INFO] [stdout] 1138 |         operator: String,
[INFO] [stdout] 1139 |         entity_id: String,
[INFO] [stdout]      |         ^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `TestContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:606:32
[INFO] [stdout]     |
[INFO] [stdout] 606 |     pub fn external_transition(&mut self) -> ExternalTransitionBuilder<S, E, C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided 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] 606 |     pub fn external_transition(&mut self) -> ExternalTransitionBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:611:32
[INFO] [stdout]     |
[INFO] [stdout] 611 |     pub fn internal_transition(&mut self) -> InternalTransitionBuilder<S, E, C> {
[INFO] [stdout]     |                                ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 611 |     pub fn internal_transition(&mut self) -> InternalTransitionBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:616:33
[INFO] [stdout]     |
[INFO] [stdout] 616 |     pub fn external_transitions(&mut self) -> ExternalTransitionsBuilder<S, E, C> {
[INFO] [stdout]     |                                 ^^^^^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 616 |     pub fn external_transitions(&mut self) -> ExternalTransitionsBuilder<'_, S, E, C> {
[INFO] [stdout]     |                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `PedestrianRequest` is never constructed
[INFO] [stdout]   --> examples/traffic_light_example.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum TrafficLightEvent {
[INFO] [stdout]    |      ----------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 27 |     PedestrianRequest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrafficLightEvent` has derived impls for the traits `Clone` and `Debug`, 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 `traffic_density` and `time_in_state` are never read
[INFO] [stdout]   --> examples/traffic_light_example.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct TrafficContext {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 34 |     intersection_id: String,
[INFO] [stdout] 35 |     traffic_density: f32, // 0.0 to 1.0
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     time_in_state: std::time::Duration,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TrafficContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TrafficLightState` is more private than the item `build_traffic_light_system`
[INFO] [stdout]   --> examples/traffic_light_example.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | / pub fn build_traffic_light_system(
[INFO] [stdout] 45 | | ) -> StateMachine<TrafficLightState, TrafficLightEvent, TrafficContext> {
[INFO] [stdout]    | |_______________________________________________________________________^ function `build_traffic_light_system` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TrafficLightState` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> examples/traffic_light_example.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum TrafficLightState {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TrafficLightEvent` is more private than the item `build_traffic_light_system`
[INFO] [stdout]   --> examples/traffic_light_example.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | / pub fn build_traffic_light_system(
[INFO] [stdout] 45 | | ) -> StateMachine<TrafficLightState, TrafficLightEvent, TrafficContext> {
[INFO] [stdout]    | |_______________________________________________________________________^ function `build_traffic_light_system` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TrafficLightEvent` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> examples/traffic_light_example.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | enum TrafficLightEvent {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `TrafficContext` is more private than the item `build_traffic_light_system`
[INFO] [stdout]   --> examples/traffic_light_example.rs:44:1
[INFO] [stdout]    |
[INFO] [stdout] 44 | / pub fn build_traffic_light_system(
[INFO] [stdout] 45 | | ) -> StateMachine<TrafficLightState, TrafficLightEvent, TrafficContext> {
[INFO] [stdout]    | |_______________________________________________________________________^ function `build_traffic_light_system` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `TrafficContext` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> examples/traffic_light_example.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct TrafficContext {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.30s
[INFO] running `Command { std: "docker" "inspect" "38d81b8db6118f932123c742b134982ab7b3355e98db7dd9cc4b7ba1a008e737", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38d81b8db6118f932123c742b134982ab7b3355e98db7dd9cc4b7ba1a008e737", kill_on_drop: false }`
[INFO] [stdout] 38d81b8db6118f932123c742b134982ab7b3355e98db7dd9cc4b7ba1a008e737
