[INFO] fetching crate rust_tcp_ipc 0.3.1...
[INFO] testing rust_tcp_ipc-0.3.1 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate rust_tcp_ipc 0.3.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate rust_tcp_ipc 0.3.1 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rust_tcp_ipc 0.3.1
[INFO] finished tweaking crates.io crate rust_tcp_ipc 0.3.1
[INFO] tweaked toml for crates.io crate rust_tcp_ipc 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 53 packages to latest compatible versions
[INFO] [stderr]       Adding simplelog v0.5.3 (available: v0.12.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4695eb93e37aa9822e6a3ca80f94df0563a83c72784af748a683fd4b461ecd89
[INFO] running `Command { std: "docker" "start" "-a" "4695eb93e37aa9822e6a3ca80f94df0563a83c72784af748a683fd4b461ecd89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4695eb93e37aa9822e6a3ca80f94df0563a83c72784af748a683fd4b461ecd89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4695eb93e37aa9822e6a3ca80f94df0563a83c72784af748a683fd4b461ecd89", kill_on_drop: false }`
[INFO] [stdout] 4695eb93e37aa9822e6a3ca80f94df0563a83c72784af748a683fd4b461ecd89
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a35568f9893890bc4a7c38747865deb239fc0634d8abb9da1c1486cbfd54947d
[INFO] running `Command { std: "docker" "start" "-a" "a35568f9893890bc4a7c38747865deb239fc0634d8abb9da1c1486cbfd54947d", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_tcp_ipc v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Working` is never constructed
[INFO] [stdout]   --> src/tests/example_protocol.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum BusyStatesExample {
[INFO] [stdout]    |          ----------------- variant in this enum
[INFO] [stdout] 10 |     Idle,
[INFO] [stdout] 11 |     Working,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BusyStatesExample` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `speed_check_tcp_minimal` is never used
[INFO] [stdout]  --> src/tests/speed_comparison.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn speed_check_tcp_minimal() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "a35568f9893890bc4a7c38747865deb239fc0634d8abb9da1c1486cbfd54947d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a35568f9893890bc4a7c38747865deb239fc0634d8abb9da1c1486cbfd54947d", kill_on_drop: false }`
[INFO] [stdout] a35568f9893890bc4a7c38747865deb239fc0634d8abb9da1c1486cbfd54947d
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 984dfff55174ae5eb4b2b1c6b154423a4d56113bfc3683ee872f3c40d3e137b0
[INFO] running `Command { std: "docker" "start" "-a" "984dfff55174ae5eb4b2b1c6b154423a4d56113bfc3683ee872f3c40d3e137b0", kill_on_drop: false }`
[INFO] [stdout] warning: variant `Working` is never constructed
[INFO] [stdout]   --> src/tests/example_protocol.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum BusyStatesExample {
[INFO] [stdout]    |          ----------------- variant in this enum
[INFO] [stdout] 10 |     Idle,
[INFO] [stdout] 11 |     Working,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BusyStatesExample` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `speed_check_tcp_minimal` is never used
[INFO] [stdout]  --> src/tests/speed_comparison.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn speed_check_tcp_minimal() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling term v0.5.2
[INFO] [stderr]    Compiling simplelog v0.5.3
[INFO] [stderr]    Compiling rust_tcp_ipc v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Working` is never constructed
[INFO] [stdout]   --> src/tests/example_protocol.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum BusyStatesExample {
[INFO] [stdout]    |          ----------------- variant in this enum
[INFO] [stdout] 10 |     Idle,
[INFO] [stdout] 11 |     Working,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BusyStatesExample` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `speed_check_tcp_minimal` is never used
[INFO] [stdout]  --> src/tests/speed_comparison.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn speed_check_tcp_minimal() {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "984dfff55174ae5eb4b2b1c6b154423a4d56113bfc3683ee872f3c40d3e137b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "984dfff55174ae5eb4b2b1c6b154423a4d56113bfc3683ee872f3c40d3e137b0", kill_on_drop: false }`
[INFO] [stdout] 984dfff55174ae5eb4b2b1c6b154423a4d56113bfc3683ee872f3c40d3e137b0
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bd272aa591a60f09d36f5e0fc420d74bc407d4d5503e47a95153ce17d1eb058a
[INFO] running `Command { std: "docker" "start" "-a" "bd272aa591a60f09d36f5e0fc420d74bc407d4d5503e47a95153ce17d1eb058a", kill_on_drop: false }`
[INFO] [stderr] warning: variant `Working` is never constructed
[INFO] [stderr]   --> src/tests/example_protocol.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 9  | pub enum BusyStatesExample {
[INFO] [stderr]    |          ----------------- variant in this enum
[INFO] [stderr] 10 |     Idle,
[INFO] [stderr] 11 |     Working,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `BusyStatesExample` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `speed_check_tcp_minimal` is never used
[INFO] [stderr]  --> src/tests/speed_comparison.rs:6:4
[INFO] [stderr]   |
[INFO] [stderr] 6 | fn speed_check_tcp_minimal() {
[INFO] [stderr]   |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_tcp_ipc` (lib) generated 2 warnings
[INFO] [stderr] warning: `rust_tcp_ipc` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_tcp_ipc-e033e53c271b45f9)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::speed_comparison::speed_check ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rust_tcp_ipc
[INFO] [stdout] 
[INFO] [stdout] running 24 tests
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::construct_header (line 182) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::command_to_array (line 150) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::get_length_as_array (line 165) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::CommandAsArray (line 40) ... ok
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::BusyStates (line 34) ... ok
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol (line 21) ... ok
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::Commands (line 28) ... ok
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::HeaderAsArray (line 54) ... ok
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::LengthAsArray (line 46) ... ok
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::message_is_answered_via_immediate_route (line 69) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::idle (line 60) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::message_slice_to_header_array (line 109) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::parse_length (line 100) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::parse_command (line 85) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::await_message (line 426) ... FAILED
[INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::split_header_array (line 129) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::clear_message_queue (line 403) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::client (line 120) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::get_busy_state (line 367) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::get_message (line 382) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::server (line 167) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::update_busy_state (line 356) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpcConfig (line 15) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::write_message (line 453) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::construct_header (line 182) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:183:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn construct_header(command: Self::CommandAsArray, length: Self::LengthAsArray) -> Vec<u8> {
[INFO] [stdout]   |                              ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:183:60
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn construct_header(command: Self::CommandAsArray, length: Self::LengthAsArray) -> Vec<u8> {
[INFO] [stdout]   |                                                            ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::command_to_array (line 150) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `self::ExampleCommands`
[INFO] [stdout]  --> src/protocol/mod.rs:152:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use self::ExampleCommands::*;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^ could not find `ExampleCommands` in the crate root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::get_length_as_array (line 165) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:166:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_length_as_array(command: Self::Commands, message: &[u8]) -> Option<Self::LengthAsArray> {
[INFO] [stdout]   |                                 ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:166:75
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn get_length_as_array(command: Self::Commands, message: &[u8]) -> Option<Self::LengthAsArray> {
[INFO] [stdout]   |                                                                           ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::message_is_answered_via_immediate_route (line 69) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:71:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |      command: &Self::Commands,
[INFO] [stdout]   |                ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:73:19
[INFO] [stdout]   |
[INFO] [stdout] 6 |      busy_state: &Self::BusyStates,
[INFO] [stdout]   |                   ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:74:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |  ) -> Option<(Self::Commands, Vec<u8>)> {
[INFO] [stdout]   |               ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::idle (line 60) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExampleBusyStates`
[INFO] [stdout]  --> src/protocol/mod.rs:61:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn idle() -> Self::BusyStates {ExampleBusyStates::Idle}
[INFO] [stdout]   |                                ^^^^^^^^^^^^^^^^^ use of undeclared type `ExampleBusyStates`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:61:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn idle() -> Self::BusyStates {ExampleBusyStates::Idle}
[INFO] [stdout]   |              ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::message_slice_to_header_array (line 109) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:110:60
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn message_slice_to_header_array(input: &[u8]) -> Option<(&Self::HeaderAsArray, &[u8])> {
[INFO] [stdout]   |                                                            ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::parse_length (line 100) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:101:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn parse_length(length: &Self::LengthAsArray) -> Option<Self::usize> {
[INFO] [stdout]   |                          ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:101:57
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn parse_length(length: &Self::LengthAsArray) -> Option<Self::usize> {
[INFO] [stdout]   |                                                         ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::parse_command (line 85) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `self::ExampleCommands`
[INFO] [stdout]  --> src/protocol/mod.rs:87:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use self::ExampleCommands::*;
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^ could not find `ExampleCommands` in the crate root
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::await_message (line 426) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:427:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let message = client.await_message(std::time::Duration::from_micros(10_000), std::time::Duration::from_nanos(2_000));
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::split_header_array (line 129) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `COMMAND_SIZE_EXAMPLE` in this scope
[INFO] [stdout]  --> src/protocol/mod.rs:136:35
[INFO] [stdout]   |
[INFO] [stdout] 9 |                     as *const [_; COMMAND_SIZE_EXAMPLE])
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:130:32
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn split_header_array(header: &Self::HeaderAsArray) -> (&Self::CommandAsArray, &Self::LengthAsArray) {
[INFO] [stdout]   |                                ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:130:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn split_header_array(header: &Self::HeaderAsArray) -> (&Self::CommandAsArray, &Self::LengthAsArray) {
[INFO] [stdout]   |                                                          ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions
[INFO] [stdout]  --> src/protocol/mod.rs:130:81
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn split_header_array(header: &Self::HeaderAsArray) -> (&Self::CommandAsArray, &Self::LengthAsArray) {
[INFO] [stdout]   |                                                                                 ^^^^ `Self` is only available in impls, traits, and type definitions
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::clear_message_queue (line 403) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:404:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let result = client.clear_message_queue(std::time::Duration::from_micros(10_000));
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::client (line 120) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TcpIpcConfig` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:121:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = TcpIpcConfig {
[INFO] [stdout]   |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_tcp_ipc::TcpIpcConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpIpc`
[INFO] [stdout]  --> src/tcp_ipc.rs:127:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TcpIpc::<ProtocolExample>::client("127.0.0.1:6666", config, None).expect("connecting failed");
[INFO] [stdout]   |     ^^^^^^ use of undeclared type `TcpIpc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_tcp_ipc::TcpIpc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolExample` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:127:14
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TcpIpc::<ProtocolExample>::client("127.0.0.1:6666", config, None).expect("connecting failed");
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tcp_ipc_rs_120_0<ProtocolExample>() {
[INFO] [stdout]   |                                                                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::get_busy_state (line 367) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:368:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | let current_busy_state = client.get_busy_state();
[INFO] [stdout]   |                          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::get_message (line 382) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:383:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let message = client.get_message();
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::server (line 167) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TcpIpcConfig` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:168:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = TcpIpcConfig {
[INFO] [stdout]   |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_tcp_ipc::TcpIpcConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpIpc`
[INFO] [stdout]  --> src/tcp_ipc.rs:173:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     TcpIpc::<ProtocolExample>::server("127.0.0.1:6666", config).expect("connecting failed");
[INFO] [stdout]   |     ^^^^^^ use of undeclared type `TcpIpc`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_tcp_ipc::TcpIpc;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProtocolExample` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:173:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     TcpIpc::<ProtocolExample>::server("127.0.0.1:6666", config).expect("connecting failed");
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_tcp_ipc_rs_167_0<ProtocolExample>() {
[INFO] [stdout]   |                                                                           +++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::update_busy_state (line 356) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:357:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | client.update_busy_state(BusyStatesExample::Working);
[INFO] [stdout]   | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusyStatesExample`
[INFO] [stdout]  --> src/tcp_ipc.rs:357:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | client.update_busy_state(BusyStatesExample::Working);
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^^^^ use of undeclared type `BusyStatesExample`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/tcp_ipc.rs - tcp_ipc::TcpIpcConfig (line 15) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TcpIpcConfig` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:16:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = TcpIpcConfig {
[INFO] [stdout]   |              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use rust_tcp_ipc::TcpIpcConfig;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::write_message (line 453) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]  --> src/tcp_ipc.rs:454:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | let message = client.write_message(ProtocolExampleCommands::Start, "ok".as_bytes());
[INFO] [stdout]   |               ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProtocolExampleCommands`
[INFO] [stdout]  --> src/tcp_ipc.rs:454:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | let message = client.write_message(ProtocolExampleCommands::Start, "ok".as_bytes());
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ProtocolExampleCommands`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::command_to_array (line 150)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::construct_header (line 182)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::get_length_as_array (line 165)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::idle (line 60)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::message_is_answered_via_immediate_route (line 69)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::message_slice_to_header_array (line 109)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::parse_command (line 85)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::parse_length (line 100)
[INFO] [stdout]     src/protocol/mod.rs - protocol::Protocol::split_header_array (line 129)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::await_message (line 426)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::clear_message_queue (line 403)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::client (line 120)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::get_busy_state (line 367)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::get_message (line 382)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::server (line 167)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::update_busy_state (line 356)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpc<P>::write_message (line 453)
[INFO] [stdout]     src/tcp_ipc.rs - tcp_ipc::TcpIpcConfig (line 15)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bd272aa591a60f09d36f5e0fc420d74bc407d4d5503e47a95153ce17d1eb058a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd272aa591a60f09d36f5e0fc420d74bc407d4d5503e47a95153ce17d1eb058a", kill_on_drop: false }`
[INFO] [stdout] bd272aa591a60f09d36f5e0fc420d74bc407d4d5503e47a95153ce17d1eb058a
