[INFO] updating cached repository blowin/state_machine
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/blowin/state_machine
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/blowin/state_machine" "work/ex/beta-1.37-6/sources/1.36.0/gh/blowin/state_machine"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/blowin/state_machine'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/blowin/state_machine" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/blowin/state_machine"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/blowin/state_machine'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] e06ee08f9d03511083c6f695571f2114f493031e
[INFO] sha for GitHub repo blowin/state_machine: e06ee08f9d03511083c6f695571f2114f493031e
[INFO] validating manifest of blowin/state_machine on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of blowin/state_machine on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing blowin/state_machine
[INFO] finished frobbing blowin/state_machine
[INFO] frobbed toml for blowin/state_machine written to work/ex/beta-1.37-6/sources/1.36.0/gh/blowin/state_machine/Cargo.toml
[INFO] started frobbing blowin/state_machine
[INFO] finished frobbing blowin/state_machine
[INFO] frobbed toml for blowin/state_machine written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/blowin/state_machine/Cargo.toml
[INFO] crate blowin/state_machine already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing blowin/state_machine against beta-2019-07-23 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/blowin/state_machine:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "build" "--frozen"`
[INFO] [stdout] 099e09ff7b18222e7a3c019c9987ef290b54edd97e7130146f7cc98b5cc07066
[INFO] running `"docker" "start" "-a" "099e09ff7b18222e7a3c019c9987ef290b54edd97e7130146f7cc98b5cc07066"`
[INFO] [stderr]    Compiling state_machine v0.1.14 (/opt/crater/workdir)
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lib.rs:18:30
[INFO] [stderr]    |
[INFO] [stderr] 18 | type MachineVal<State> = Box<Machine<State>>;
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Machine<State>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: #[warn(bare_trait_objects)] on by default
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `"docker" "inspect" "099e09ff7b18222e7a3c019c9987ef290b54edd97e7130146f7cc98b5cc07066"`
[INFO] running `"docker" "rm" "-f" "099e09ff7b18222e7a3c019c9987ef290b54edd97e7130146f7cc98b5cc07066"`
[INFO] [stdout] 099e09ff7b18222e7a3c019c9987ef290b54edd97e7130146f7cc98b5cc07066
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/blowin/state_machine:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen" "--no-run"`
[INFO] [stdout] 6dc0a6eeb2a0647407efdd5866b8cc4da6dc23b0012df45c05534f7bc9c5c38e
[INFO] running `"docker" "start" "-a" "6dc0a6eeb2a0647407efdd5866b8cc4da6dc23b0012df45c05534f7bc9c5c38e"`
[INFO] [stderr]    Compiling state_machine v0.1.14 (/opt/crater/workdir)
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/lib.rs:18:30
[INFO] [stderr]    |
[INFO] [stderr] 18 | type MachineVal<State> = Box<Machine<State>>;
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Machine<State>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: #[warn(bare_trait_objects)] on by default
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.12s
[INFO] running `"docker" "inspect" "6dc0a6eeb2a0647407efdd5866b8cc4da6dc23b0012df45c05534f7bc9c5c38e"`
[INFO] running `"docker" "rm" "-f" "6dc0a6eeb2a0647407efdd5866b8cc4da6dc23b0012df45c05534f7bc9c5c38e"`
[INFO] [stdout] 6dc0a6eeb2a0647407efdd5866b8cc4da6dc23b0012df45c05534f7bc9c5c38e
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-4/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/blowin/state_machine:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-07-23" "test" "--frozen"`
[INFO] [stdout] e562f726b78ef2f4e91e45c4c99610057f1a0a535137c54a97657d06556a0897
[INFO] running `"docker" "start" "-a" "e562f726b78ef2f4e91e45c4c99610057f1a0a535137c54a97657d06556a0897"`
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running /opt/crater/target/debug/deps/state_machine-04f7f08f6c73eecd
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test test::get ... ok
[INFO] [stderr]    Doc-tests state_machine
[INFO] [stdout] test test::contain ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/lib.rs - StateMachine<State>::new (line 45) ... FAILED
[INFO] [stdout] test src/lib.rs - StateMachine<State>::get_state (line 212) ... FAILED
[INFO] [stdout] test src/lib.rs - StateMachine<State>::next (line 81) ... FAILED
[INFO] [stdout] test src/lib.rs - StateMachine<State>::add_builder (line 133) ... FAILED
[INFO] [stdout] test src/lib.rs - StateMachine<State>::get_machine (line 189) ... FAILED
[INFO] [stdout] test src/lib.rs - StateMachine<State>::remove (line 151) ... FAILED
[INFO] [stdout] test src/lib.rs - StateMachine<State>::add (line 115) ... FAILED
[INFO] [stdout] test src/lib.rs - StateMachine<State>::contain (line 170) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::new (line 45) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `}`
[INFO] [stdout]  --> src/lib.rs:49:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut machine = StateMachine::new(States::Empty)
[INFO] [stdout]   |                                                   - expected one of `.`, `;`, `?`, or an operator here
[INFO] [stdout] 6 | }
[INFO] [stdout]   | ^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `StateMachine`
[INFO] [stdout]  --> src/lib.rs:46:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use StateMachine;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StateMachine` in the root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::get_state (line 212) stdout ----
[INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `machine`
[INFO] [stdout]  --> src/lib.rs:217:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut machine = StateMachine::new(States::Empty)
[INFO] [stdout]   |                                                   - expected one of `.`, `;`, `?`, or an operator here
[INFO] [stdout] 7 | machine.add(States::Music, Box::new(MusicImpl));
[INFO] [stdout]   | ^^^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `Machine`
[INFO] [stdout]  --> src/lib.rs:213:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Machine;
[INFO] [stdout]   |     ^^^^^^^ no `Machine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `StateMachine`
[INFO] [stdout]  --> src/lib.rs:214:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use StateMachine;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StateMachine` in the root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::next (line 81) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `Machine`
[INFO] [stdout]  --> src/lib.rs:82:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Machine;
[INFO] [stdout]   |     ^^^^^^^ no `Machine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `StateMachine`
[INFO] [stdout]  --> src/lib.rs:83:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use StateMachine;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StateMachine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:85:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut machine = StateMachine::new(States::Empty);
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:86:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Empty, Box::new(EmptyImpl));
[INFO] [stdout]   |             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:87:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | machine.add(States::Fire, Box::new(FireImpl));
[INFO] [stdout]   |             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:88:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | machine.add(States::Stop, Box::new(StopImpl));
[INFO] [stdout]   |             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EmptyImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:86:37
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Empty, Box::new(EmptyImpl));
[INFO] [stdout]   |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FireImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:87:36
[INFO] [stdout]   |
[INFO] [stdout] 8 | machine.add(States::Fire, Box::new(FireImpl));
[INFO] [stdout]   |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `StopImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:88:36
[INFO] [stdout]   |
[INFO] [stdout] 9 | machine.add(States::Stop, Box::new(StopImpl));
[INFO] [stdout]   |                                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::add_builder (line 133) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `StateMachine`
[INFO] [stdout]  --> src/lib.rs:134:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut mach = StateMachine::new(1);
[INFO] [stdout]   |                ^^^^^^^^^^^^ use of undeclared type or module `StateMachine`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `State2` in this scope
[INFO] [stdout]  --> src/lib.rs:137:24
[INFO] [stdout]   |
[INFO] [stdout] 6 |        .add_builder(2, State2)
[INFO] [stdout]   |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `State3` in this scope
[INFO] [stdout]  --> src/lib.rs:138:24
[INFO] [stdout]   |
[INFO] [stdout] 7 |        .add_builder(3, State3);
[INFO] [stdout]   |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::get_machine (line 189) stdout ----
[INFO] [stdout] error: chained comparison operators require parentheses
[INFO] [stdout]   --> src/lib.rs:199:49
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert_eq!(machine.get(&States::Fire), Some(&Box<Machine<States>>));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `::<...>` instead of `<...>` if you meant to specify type arguments
[INFO] [stdout]    = help: or use `(...)` if you meant to specify fn arguments
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `)`
[INFO] [stdout]   --> src/lib.rs:199:66
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert_eq!(machine.get(&States::Fire), Some(&Box<Machine<States>>));
[INFO] [stdout]    |                                                                  ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `Machine`
[INFO] [stdout]  --> src/lib.rs:190:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Machine;
[INFO] [stdout]   |     ^^^^^^^ no `Machine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `StateMachine`
[INFO] [stdout]  --> src/lib.rs:191:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use StateMachine;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StateMachine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:193:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut machine = StateMachine::new(States::Empty);
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:194:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:196:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.contain(&States::Fire), true);
[INFO] [stdout]   |                             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]   --> src/lib.rs:197:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | assert_eq!(machine.contain(&States::Stop), false);
[INFO] [stdout]    |                             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]   --> src/lib.rs:199:25
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert_eq!(machine.get(&States::Fire), Some(&Box<Machine<States>>));
[INFO] [stdout]    |                         ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]   --> src/lib.rs:200:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | assert_eq!(machine.get(&States::Empty), None);
[INFO] [stdout]    |                         ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FireStateImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:194:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::remove (line 151) stdout ----
[INFO] [stdout] error: chained comparison operators require parentheses
[INFO] [stdout]  --> src/lib.rs:158:51
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.remove(&States::Fire), Some(Box<Machine<States>>));
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `::<...>` instead of `<...>` if you meant to specify type arguments
[INFO] [stdout]   = help: or use `(...)` if you meant to specify fn arguments
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `)`
[INFO] [stdout]  --> src/lib.rs:158:68
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.remove(&States::Fire), Some(Box<Machine<States>>));
[INFO] [stdout]   |                                                                    ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `Machine`
[INFO] [stdout]  --> src/lib.rs:152:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Machine;
[INFO] [stdout]   |     ^^^^^^^ no `Machine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `StateMachine`
[INFO] [stdout]  --> src/lib.rs:153:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use StateMachine;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StateMachine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:155:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut machine = StateMachine::new(States::Empty);
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:156:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:158:28
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.remove(&States::Fire), Some(Box<Machine<States>>));
[INFO] [stdout]   |                            ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]   --> src/lib.rs:159:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | assert_eq!(machine.remove(&States::Stop), None);
[INFO] [stdout]    |                            ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FireStateImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:156:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::add (line 115) stdout ----
[INFO] [stdout] error: chained comparison operators require parentheses
[INFO] [stdout]  --> src/lib.rs:122:72
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.add(States::Fire, Box::new(StopStateImpl)), Some(Box<Machine<States>>));
[INFO] [stdout]   |                                                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: use `::<...>` instead of `<...>` if you meant to specify type arguments
[INFO] [stdout]   = help: or use `(...)` if you meant to specify fn arguments
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `)`
[INFO] [stdout]  --> src/lib.rs:122:89
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.add(States::Fire, Box::new(StopStateImpl)), Some(Box<Machine<States>>));
[INFO] [stdout]   |                                                                                         ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `Machine`
[INFO] [stdout]  --> src/lib.rs:116:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Machine;
[INFO] [stdout]   |     ^^^^^^^ no `Machine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `StateMachine`
[INFO] [stdout]  --> src/lib.rs:117:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use StateMachine;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StateMachine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:119:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut machine = StateMachine::new(States::Empty);
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:120:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:122:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.add(States::Fire, Box::new(StopStateImpl)), Some(Box<Machine<States>>));
[INFO] [stdout]   |                        ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]   --> src/lib.rs:123:25
[INFO] [stdout]    |
[INFO] [stdout] 10 | assert_eq!(machine.add(&States::Block), None);
[INFO] [stdout]    |                         ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FireStateImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:120:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `StopStateImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:122:47
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.add(States::Fire, Box::new(StopStateImpl)), Some(Box<Machine<States>>));
[INFO] [stdout]   |                                               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - StateMachine<State>::contain (line 170) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `Machine`
[INFO] [stdout]  --> src/lib.rs:171:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Machine;
[INFO] [stdout]   |     ^^^^^^^ no `Machine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `StateMachine`
[INFO] [stdout]  --> src/lib.rs:172:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use StateMachine;
[INFO] [stdout]   |     ^^^^^^^^^^^^ no `StateMachine` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:174:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | let mut machine = StateMachine::new(States::Empty);
[INFO] [stdout]   |                                     ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:175:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]  --> src/lib.rs:177:29
[INFO] [stdout]   |
[INFO] [stdout] 9 | assert_eq!(machine.contain(&States::Fire), true);
[INFO] [stdout]   |                             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `States`
[INFO] [stdout]   --> src/lib.rs:178:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | assert_eq!(machine.contain(&States::Stop), false);
[INFO] [stdout]    |                             ^^^^^^ use of undeclared type or module `States`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FireStateImpl` in this scope
[INFO] [stdout]  --> src/lib.rs:175:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | machine.add(States::Fire, Box::new(FireStateImpl));
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - StateMachine<State>::add (line 115)
[INFO] [stdout]     src/lib.rs - StateMachine<State>::add_builder (line 133)
[INFO] [stdout]     src/lib.rs - StateMachine<State>::contain (line 170)
[INFO] [stdout]     src/lib.rs - StateMachine<State>::get_machine (line 189)
[INFO] [stdout]     src/lib.rs - StateMachine<State>::get_state (line 212)
[INFO] [stdout]     src/lib.rs - StateMachine<State>::new (line 45)
[INFO] [stdout]     src/lib.rs - StateMachine<State>::next (line 81)
[INFO] [stdout]     src/lib.rs - StateMachine<State>::remove (line 151)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `"docker" "inspect" "e562f726b78ef2f4e91e45c4c99610057f1a0a535137c54a97657d06556a0897"`
[INFO] running `"docker" "rm" "-f" "e562f726b78ef2f4e91e45c4c99610057f1a0a535137c54a97657d06556a0897"`
[INFO] [stdout] e562f726b78ef2f4e91e45c4c99610057f1a0a535137c54a97657d06556a0897
