[INFO] cloning repository https://github.com/voelklmichael/rust_tcp_data_share [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/voelklmichael/rust_tcp_data_share" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Frust_tcp_data_share", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Frust_tcp_data_share'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49486b4d665514132191f0cbbf1721d098adbb0d [INFO] testing voelklmichael/rust_tcp_data_share against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Frust_tcp_data_share" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/voelklmichael/rust_tcp_data_share on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/voelklmichael/rust_tcp_data_share [INFO] finished tweaking git repo https://github.com/voelklmichael/rust_tcp_data_share [INFO] tweaked toml for git repo https://github.com/voelklmichael/rust_tcp_data_share written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/voelklmichael/rust_tcp_data_share already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba495d200236adf2435111500ba16c6bb523eca7ecb1a882d95f6b8d524c2e25 [INFO] running `Command { std: "docker" "start" "-a" "ba495d200236adf2435111500ba16c6bb523eca7ecb1a882d95f6b8d524c2e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba495d200236adf2435111500ba16c6bb523eca7ecb1a882d95f6b8d524c2e25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba495d200236adf2435111500ba16c6bb523eca7ecb1a882d95f6b8d524c2e25", kill_on_drop: false }` [INFO] [stdout] ba495d200236adf2435111500ba16c6bb523eca7ecb1a882d95f6b8d524c2e25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e3ff62775d1fe69638d90d7d13e71e70e9808b6d0e3171797cfc0f16f5f5ac5 [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" "6e3ff62775d1fe69638d90d7d13e71e70e9808b6d0e3171797cfc0f16f5f5ac5", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling rust_tcp_ipc v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.51s [INFO] running `Command { std: "docker" "inspect" "6e3ff62775d1fe69638d90d7d13e71e70e9808b6d0e3171797cfc0f16f5f5ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3ff62775d1fe69638d90d7d13e71e70e9808b6d0e3171797cfc0f16f5f5ac5", kill_on_drop: false }` [INFO] [stdout] 6e3ff62775d1fe69638d90d7d13e71e70e9808b6d0e3171797cfc0f16f5f5ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2834cdff7268cfcc72cc0fe0305d24f24cbfc9e66f8ba7768cf889c42acf1a7c [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" "2834cdff7268cfcc72cc0fe0305d24f24cbfc9e66f8ba7768cf889c42acf1a7c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling cast v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling criterion-plot v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling simplelog v0.4.4 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling criterion-stats v0.1.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling criterion v0.1.2 [INFO] [stderr] Compiling rust_tcp_ipc v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 53.63s [INFO] running `Command { std: "docker" "inspect" "2834cdff7268cfcc72cc0fe0305d24f24cbfc9e66f8ba7768cf889c42acf1a7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2834cdff7268cfcc72cc0fe0305d24f24cbfc9e66f8ba7768cf889c42acf1a7c", kill_on_drop: false }` [INFO] [stdout] 2834cdff7268cfcc72cc0fe0305d24f24cbfc9e66f8ba7768cf889c42acf1a7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb2701cbccd319757908e551ff304a2ff8886ca9c35f5e9c8de858ac61d7744e [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" "bb2701cbccd319757908e551ff304a2ff8886ca9c35f5e9c8de858ac61d7744e", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_tcp_ipc-02c963cf64432f6f [INFO] [stdout] [INFO] [stdout] test result: ok. 0 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::message_is_answered_via_immediate_route (line 69) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::parse_length (line 100) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::idle (line 60) ... 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::construct_header (line 182) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::BusyStates (line 34) ... ok [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::LengthAsArray (line 46) ... ok [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::command_to_array (line 150) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::Commands (line 28) ... ok [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::parse_command (line 85) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::await_message (line 459) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::HeaderAsArray (line 54) ... ok [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::CommandAsArray (line 40) ... ok [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::server (line 185) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol (line 21) ... ok [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::update_busy_state (line 389) ... 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
::get_message (line 415) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::get_busy_state (line 400) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::clear_message_queue (line 436) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::write_message (line 486) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::client (line 126) ... FAILED
[INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpcConfig (line 16) ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[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 `Self`
[INFO] [stdout] --> src/protocol/mod.rs:71:16
[INFO] [stdout] |
[INFO] [stdout] 4 | command: &Self::Commands,
[INFO] [stdout] | ^^^^ use of undeclared type `Self`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Self`
[INFO] [stdout] --> src/protocol/mod.rs:73:19
[INFO] [stdout] |
[INFO] [stdout] 6 | busy_state: &Self::BusyStates,
[INFO] [stdout] | ^^^^ use of undeclared type `Self`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Self`
[INFO] [stdout] --> src/protocol/mod.rs:74:15
[INFO] [stdout] |
[INFO] [stdout] 7 | ) -> Option<(Self::Commands, Vec ::await_message (line 459) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:460: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 185) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TcpIpcConfig` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:186: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:191:5
[INFO] [stdout] |
[INFO] [stdout] 8 | TcpIpc:: ::update_busy_state (line 389) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BusyStatesExample`
[INFO] [stdout] --> src/tcp_ipc.rs:390:26
[INFO] [stdout] |
[INFO] [stdout] 3 | client.update_busy_state(BusyStatesExample::Working);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `BusyStatesExample`
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:390: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/protocol/mod.rs - protocol::Protocol::split_header_array (line 129) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `Self`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `Self`
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `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 `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 ::get_message (line 415) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:416: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::TcpIpc ::get_busy_state (line 400) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:401: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 ::clear_message_queue (line 436) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:437: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/tcp_ipc.rs - tcp_ipc::TcpIpc ::write_message (line 486) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProtocolExampleCommands`
[INFO] [stdout] --> src/tcp_ipc.rs:487: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[E0425]: cannot find value `client` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:487: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 ::client (line 126) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TcpIpcConfig` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:127: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:133:5
[INFO] [stdout] |
[INFO] [stdout] 9 | TcpIpc:: ::await_message (line 459)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc ::clear_message_queue (line 436)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc ::client (line 126)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc ::get_busy_state (line 400)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc ::get_message (line 415)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc ::server (line 185)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc ::update_busy_state (line 389)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpc ::write_message (line 486)
[INFO] [stdout] src/tcp_ipc.rs - tcp_ipc::TcpIpcConfig (line 16)
[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" "bb2701cbccd319757908e551ff304a2ff8886ca9c35f5e9c8de858ac61d7744e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb2701cbccd319757908e551ff304a2ff8886ca9c35f5e9c8de858ac61d7744e", kill_on_drop: false }`
[INFO] [stdout] bb2701cbccd319757908e551ff304a2ff8886ca9c35f5e9c8de858ac61d7744e