[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 try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvoelklmichael%2Frust_tcp_data_share" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/voelklmichael/rust_tcp_data_share on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cdf5d7ede19f1f626939b2827e3d9e7a10292b63ef49470eff3f426fc60875c [INFO] running `Command { std: "docker" "start" "-a" "0cdf5d7ede19f1f626939b2827e3d9e7a10292b63ef49470eff3f426fc60875c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cdf5d7ede19f1f626939b2827e3d9e7a10292b63ef49470eff3f426fc60875c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdf5d7ede19f1f626939b2827e3d9e7a10292b63ef49470eff3f426fc60875c", kill_on_drop: false }` [INFO] [stdout] 0cdf5d7ede19f1f626939b2827e3d9e7a10292b63ef49470eff3f426fc60875c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96d5a28036ee1bc3b7551e0b975c54463316a294867321b6e06c533ba2172ddc [INFO] running `Command { std: "docker" "start" "-a" "96d5a28036ee1bc3b7551e0b975c54463316a294867321b6e06c533ba2172ddc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling lazycell v1.2.1 [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` profile [unoptimized + debuginfo] target(s) in 2.72s [INFO] running `Command { std: "docker" "inspect" "96d5a28036ee1bc3b7551e0b975c54463316a294867321b6e06c533ba2172ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96d5a28036ee1bc3b7551e0b975c54463316a294867321b6e06c533ba2172ddc", kill_on_drop: false }` [INFO] [stdout] 96d5a28036ee1bc3b7551e0b975c54463316a294867321b6e06c533ba2172ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34fbdc3152b231e48bf823daea04a7db917e09f28ce075a45cf19f1e9a2931fe [INFO] running `Command { std: "docker" "start" "-a" "34fbdc3152b231e48bf823daea04a7db917e09f28ce075a45cf19f1e9a2931fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling cast v0.1.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling simplelog v0.4.4 [INFO] [stderr] Compiling criterion-plot v0.1.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling criterion-stats v0.1.3 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling criterion v0.1.2 [INFO] [stderr] Compiling rust_tcp_ipc v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.57s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "34fbdc3152b231e48bf823daea04a7db917e09f28ce075a45cf19f1e9a2931fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34fbdc3152b231e48bf823daea04a7db917e09f28ce075a45cf19f1e9a2931fe", kill_on_drop: false }` [INFO] [stdout] 34fbdc3152b231e48bf823daea04a7db917e09f28ce075a45cf19f1e9a2931fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b8e02b4718ab8ec87f215ad4349bf7391913124dc4c0d06ad8cf4a15320104c [INFO] running `Command { std: "docker" "start" "-a" "3b8e02b4718ab8ec87f215ad4349bf7391913124dc4c0d06ad8cf4a15320104c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_tcp_ipc-4f716989e5a5cef5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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::get_length_as_array (line 165) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::idle (line 60) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol (line 21) ... 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::LengthAsArray (line 46) ... ok [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::Commands (line 28) ... ok [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::parse_length (line 100) ... FAILED [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol::CommandAsArray (line 40) ... 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::BusyStates (line 34) ... 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::HeaderAsArray (line 54) ... ok [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::client (line 126) ... 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::parse_command (line 85) ... 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
::clear_message_queue (line 436) ... 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
::server (line 185) ... 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
::update_busy_state (line 389) ... 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::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 ::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) 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 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::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/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 ::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 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 ::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 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 ::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 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 ::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:: ::write_message (line 486) 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[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: 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 ::update_busy_state (line 389) 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[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: 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 16) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TcpIpcConfig` in this scope
[INFO] [stdout] --> src/tcp_ipc.rs:17: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]
[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 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; finished in 1.23s
[INFO] [stdout]
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3b8e02b4718ab8ec87f215ad4349bf7391913124dc4c0d06ad8cf4a15320104c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b8e02b4718ab8ec87f215ad4349bf7391913124dc4c0d06ad8cf4a15320104c", kill_on_drop: false }`
[INFO] [stdout] 3b8e02b4718ab8ec87f215ad4349bf7391913124dc4c0d06ad8cf4a15320104c