[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 master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/voelklmichael/rust_tcp_data_share on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.6 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded simplelog v0.4.4 [INFO] [stderr] Downloaded iovec v0.1.2 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded num_cpus v0.2.13 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded num-traits v0.2.6 [INFO] [stderr] Downloaded strsim v0.7.0 [INFO] [stderr] Downloaded autocfg v0.1.1 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded mio v0.6.16 [INFO] [stderr] Downloaded backtrace v0.3.13 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded serde v1.0.82 [INFO] [stderr] Downloaded syn v0.15.23 [INFO] [stderr] Downloaded libc v0.2.45 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded failure v0.1.3 [INFO] [stderr] Downloaded term v0.4.6 [INFO] [stderr] Downloaded criterion-plot v0.1.3 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded rustc-demangle v0.1.11 [INFO] [stderr] Downloaded winapi v0.3.6 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded failure_derive v0.1.3 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] [stderr] Downloaded isatty v0.1.9 [INFO] [stderr] Downloaded serde_derive v1.0.82 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded rand v0.3.22 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded cast v0.1.0 [INFO] [stderr] Downloaded criterion-stats v0.1.3 [INFO] [stderr] Downloaded criterion v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cda0461fc1ec466c861e8a23c6adcc69ce95b4c93c4655340b949d10959f917 [INFO] running `Command { std: "docker" "start" "-a" "7cda0461fc1ec466c861e8a23c6adcc69ce95b4c93c4655340b949d10959f917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cda0461fc1ec466c861e8a23c6adcc69ce95b4c93c4655340b949d10959f917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cda0461fc1ec466c861e8a23c6adcc69ce95b4c93c4655340b949d10959f917", kill_on_drop: false }` [INFO] [stdout] 7cda0461fc1ec466c861e8a23c6adcc69ce95b4c93c4655340b949d10959f917 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9b8cf43c18cb0efc5abfdc0a3b890f3b2d2285b7f4af956f587133c1e8eba43 [INFO] running `Command { std: "docker" "start" "-a" "d9b8cf43c18cb0efc5abfdc0a3b890f3b2d2285b7f4af956f587133c1e8eba43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.2 [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.78s [INFO] running `Command { std: "docker" "inspect" "d9b8cf43c18cb0efc5abfdc0a3b890f3b2d2285b7f4af956f587133c1e8eba43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9b8cf43c18cb0efc5abfdc0a3b890f3b2d2285b7f4af956f587133c1e8eba43", kill_on_drop: false }` [INFO] [stdout] d9b8cf43c18cb0efc5abfdc0a3b890f3b2d2285b7f4af956f587133c1e8eba43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3962a8c3ab179204b47ee1a19c245cb0457d95a505dc3d0529b4b859a371aad3 [INFO] running `Command { std: "docker" "start" "-a" "3962a8c3ab179204b47ee1a19c245cb0457d95a505dc3d0529b4b859a371aad3", 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 autocfg v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling cast v0.1.0 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling criterion-plot v0.1.3 [INFO] [stderr] Compiling simplelog v0.4.4 [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_derive v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.33 [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.85s [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" "3962a8c3ab179204b47ee1a19c245cb0457d95a505dc3d0529b4b859a371aad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3962a8c3ab179204b47ee1a19c245cb0457d95a505dc3d0529b4b859a371aad3", kill_on_drop: false }` [INFO] [stdout] 3962a8c3ab179204b47ee1a19c245cb0457d95a505dc3d0529b4b859a371aad3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 39424d180228d3c2c06e7d4d46e7834468eab555e91cf08c71bbdc736305a873 [INFO] running `Command { std: "docker" "start" "-a" "39424d180228d3c2c06e7d4d46e7834468eab555e91cf08c71bbdc736305a873", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [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::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::HeaderAsArray (line 54) ... ok [INFO] [stdout] test src/protocol/mod.rs - protocol::Protocol (line 21) ... ok [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::message_slice_to_header_array (line 109) ... 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::BusyStates (line 34) ... ok [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::split_header_array (line 129) ... 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/tcp_ipc.rs - tcp_ipc::TcpIpc
::get_message (line 415) ... 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
::client (line 126) ... 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::TcpIpc
::get_busy_state (line 400) ... 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::TcpIpcConfig (line 16) ... FAILED [INFO] [stdout] test src/tcp_ipc.rs - tcp_ipc::TcpIpc
::clear_message_queue (line 436) ... FAILED
[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] | ^^^^^^^^^^^^^^^ 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::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 ::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/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 ::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:: ::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:: ::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::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 ::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::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] ---- 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]
[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.24s
[INFO] [stdout]
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "39424d180228d3c2c06e7d4d46e7834468eab555e91cf08c71bbdc736305a873", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39424d180228d3c2c06e7d4d46e7834468eab555e91cf08c71bbdc736305a873", kill_on_drop: false }`
[INFO] [stdout] 39424d180228d3c2c06e7d4d46e7834468eab555e91cf08c71bbdc736305a873