[INFO] fetching crate rust_tcp_ipc 0.3.1... [INFO] testing rust_tcp_ipc-0.3.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate rust_tcp_ipc 0.3.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rust_tcp_ipc 0.3.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24160822e3d6549ea04b0c67ac8985bb13bd96e86058d58f6a9681fe956b36cb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "24160822e3d6549ea04b0c67ac8985bb13bd96e86058d58f6a9681fe956b36cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24160822e3d6549ea04b0c67ac8985bb13bd96e86058d58f6a9681fe956b36cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24160822e3d6549ea04b0c67ac8985bb13bd96e86058d58f6a9681fe956b36cb", kill_on_drop: false }` [INFO] [stdout] 24160822e3d6549ea04b0c67ac8985bb13bd96e86058d58f6a9681fe956b36cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5417a4f8a0d8fe66971b66c704d7c0514d01b287d2aa2a82431c0a2ad053558b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5417a4f8a0d8fe66971b66c704d7c0514d01b287d2aa2a82431c0a2ad053558b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rust_tcp_ipc v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Working` [INFO] [stdout] --> src/tests/example_protocol.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Working, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `speed_check_tcp_minimal` [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "5417a4f8a0d8fe66971b66c704d7c0514d01b287d2aa2a82431c0a2ad053558b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5417a4f8a0d8fe66971b66c704d7c0514d01b287d2aa2a82431c0a2ad053558b", kill_on_drop: false }` [INFO] [stdout] 5417a4f8a0d8fe66971b66c704d7c0514d01b287d2aa2a82431c0a2ad053558b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bf060f513447762a7a5d65e8c802189b18880ab8df58aa72d511bba47ab290c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0bf060f513447762a7a5d65e8c802189b18880ab8df58aa72d511bba47ab290c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stdout] warning: variant is never constructed: `Working` [INFO] [stdout] --> src/tests/example_protocol.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Working, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `speed_check_tcp_minimal` [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling simplelog v0.5.3 [INFO] [stderr] Compiling rust_tcp_ipc v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Working` [INFO] [stdout] --> src/tests/example_protocol.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Working, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `speed_check_tcp_minimal` [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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.51s [INFO] running `Command { std: "docker" "inspect" "0bf060f513447762a7a5d65e8c802189b18880ab8df58aa72d511bba47ab290c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf060f513447762a7a5d65e8c802189b18880ab8df58aa72d511bba47ab290c", kill_on_drop: false }` [INFO] [stdout] 0bf060f513447762a7a5d65e8c802189b18880ab8df58aa72d511bba47ab290c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30210d32547afd80ad7bbacf4e9f81a213503ba32e2f29dad0c077700a95d430 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "30210d32547afd80ad7bbacf4e9f81a213503ba32e2f29dad0c077700a95d430", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `Working` [INFO] [stderr] --> src/tests/example_protocol.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Working, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `speed_check_tcp_minimal` [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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Working` [INFO] [stderr] --> src/tests/example_protocol.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Working, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `speed_check_tcp_minimal` [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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_tcp_ipc-a838dbb57527b18a [INFO] [stdout] running 1 test [INFO] [stdout] test tests::speed_comparison::speed_check ... test tests::speed_comparison::speed_check has been running for over 60 seconds [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 [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::command_to_array (line 150) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::construct_header (line 182) ... FAILED [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::parse_length (line 100) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::parse_command (line 85) ... 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::HeaderAsArray (line 54) ... ok [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::message_slice_to_header_array (line 109) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc

::get_busy_state (line 367) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc

::client (line 120) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol (line 21) ... ok [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc

::clear_message_queue (line 403) ... 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

::await_message (line 426) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc

::server (line 167) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc

::update_busy_state (line 356) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc

::write_message (line 453) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc

::get_message (line 382) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpcConfig (line 15) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::LengthAsArray (line 46) ... ok [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::Commands (line 28) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^ maybe a missing crate `ExampleCommands`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 3 | fn command_to_array(command: Self::Commands) -> Self::CommandAsArray { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:151:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn command_to_array(command: Self::Commands) -> Self::CommandAsArray { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/protocol/mod.rs - protocol::Protocol::construct_header (line 182) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 3 | fn construct_header(command: Self::CommandAsArray, length: Self::LengthAsArray) -> Vec { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:183:60 [INFO] [stdout] | [INFO] [stdout] 3 | fn construct_header(command: Self::CommandAsArray, length: Self::LengthAsArray) -> Vec { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [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: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 4 | command: &Self::Commands, [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 6 | busy_state: &Self::BusyStates, [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 7 | ) -> Option<(Self::Commands, Vec)> { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [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 or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn idle() -> Self::BusyStates {ExampleBusyStates::Idle} [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ExampleBusyStates` [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_length (line 100) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_length(length: &Self::LengthAsArray) -> Option { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:101:57 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_length(length: &Self::LengthAsArray) -> Option { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [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] | ^^^^^^^^^^^^^^^ maybe a missing crate `ExampleCommands`? [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_command(command: &Self::CommandAsArray) -> Option { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse_command(command: &Self::CommandAsArray) -> Option { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Start` in this scope [INFO] [stdout] --> src/protocol/mod.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 6 | [0,0,0]=>Start, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::SeekFrom::Start; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Stop` in this scope [INFO] [stdout] --> src/protocol/mod.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 7 | [1,2,3]=>Stop, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Failure` in this scope [INFO] [stdout] --> src/protocol/mod.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 8 | [255,255,255]=>Failure, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 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/protocol/mod.rs - protocol::Protocol::get_length_as_array (line 165) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_length_as_array(command: Self::Commands, message: &[u8]) -> Option { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [INFO] [stdout] --> src/protocol/mod.rs:166:75 [INFO] [stdout] | [INFO] [stdout] 3 | fn get_length_as_array(command: Self::Commands, message: &[u8]) -> Option { [INFO] [stdout] | ^^^^ use of undeclared type or module `Self` [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: use of undeclared type or module `Self` [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] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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/tcp_ipc.rs - tcp_ipc::TcpIpc

::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 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

::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 or module `TcpIpc` [INFO] [stdout] --> src/tcp_ipc.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 9 | TcpIpc::::client("127.0.0.1:6666", config, None).expect("connecting failed"); [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::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::::client("127.0.0.1:6666", config, None).expect("connecting failed"); [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: 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

::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 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[E0433]: failed to resolve: use of undeclared type or module `Self` [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] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [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] | ^^^^ use of undeclared type or module `Self` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Self` [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] | ^^^^ use of undeclared type or module `Self` [INFO] [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: 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

::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 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

::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 or module `TcpIpc` [INFO] [stdout] --> src/tcp_ipc.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 8 | TcpIpc::::server("127.0.0.1:6666", config).expect("connecting failed"); [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::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::::server("127.0.0.1:6666", config).expect("connecting failed"); [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: 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

::update_busy_state (line 356) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `BusyStatesExample` [INFO] [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: 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::TcpIpc

::write_message (line 453) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `ProtocolExampleCommands` [INFO] [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: 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::TcpIpc

::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 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::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 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] [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

::await_message (line 426) [INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc

::clear_message_queue (line 403) [INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc

::client (line 120) [INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc

::get_busy_state (line 367) [INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc

::get_message (line 382) [INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc

::server (line 167) [INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc

::update_busy_state (line 356) [INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc

::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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "30210d32547afd80ad7bbacf4e9f81a213503ba32e2f29dad0c077700a95d430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30210d32547afd80ad7bbacf4e9f81a213503ba32e2f29dad0c077700a95d430", kill_on_drop: false }` [INFO] [stdout] 30210d32547afd80ad7bbacf4e9f81a213503ba32e2f29dad0c077700a95d430