[INFO] cloning repository https://github.com/falcucci/tcp-multiplexer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/falcucci/tcp-multiplexer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffalcucci%2Ftcp-multiplexer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffalcucci%2Ftcp-multiplexer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 815059b82ae06f1664f46346f18e5a68a487f987
[INFO] testing falcucci/tcp-multiplexer against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffalcucci%2Ftcp-multiplexer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/falcucci/tcp-multiplexer on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/falcucci/tcp-multiplexer
[INFO] finished tweaking git repo https://github.com/falcucci/tcp-multiplexer
[INFO] tweaked toml for git repo https://github.com/falcucci/tcp-multiplexer written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/falcucci/tcp-multiplexer 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" "+nightly-2025-01-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a983ad95300a77584cb88ca8e2228437ccf45aca49daaf24e591be93d6465d7
[INFO] running `Command { std: "docker" "start" "-a" "0a983ad95300a77584cb88ca8e2228437ccf45aca49daaf24e591be93d6465d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a983ad95300a77584cb88ca8e2228437ccf45aca49daaf24e591be93d6465d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a983ad95300a77584cb88ca8e2228437ccf45aca49daaf24e591be93d6465d7", kill_on_drop: false }`
[INFO] [stdout] 0a983ad95300a77584cb88ca8e2228437ccf45aca49daaf24e591be93d6465d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f4199322d3c9a423bcb54fe3a5944e4a3c5277a10d95d2df7acce377ddf7d877
[INFO] running `Command { std: "docker" "start" "-a" "f4199322d3c9a423bcb54fe3a5944e4a3c5277a10d95d2df7acce377ddf7d877", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling object v0.36.7
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling portable-atomic v1.10.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling gimli v0.31.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling colorchoice v1.0.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling anstyle-parse v0.2.6
[INFO] [stderr]    Compiling miniz_oxide v0.8.2
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling unicode-width v0.2.0
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling anstyle-query v1.1.2
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling rustc-demangle v0.1.24
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling unicode-linebreak v0.1.5
[INFO] [stderr]    Compiling anstream v0.6.18
[INFO] [stderr]    Compiling serde_json v1.0.135
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling clap_lex v0.7.4
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling console v0.15.10
[INFO] [stderr]    Compiling smawk v0.3.2
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling is_ci v1.2.0
[INFO] [stderr]    Compiling clap_builder v4.5.23
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling supports-color v2.1.0
[INFO] [stderr]    Compiling textwrap v0.15.2
[INFO] [stderr]    Compiling supports-hyperlinks v2.1.0
[INFO] [stderr]    Compiling supports-unicode v2.1.0
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling terminal_size v0.1.17
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling owo-colors v3.5.0
[INFO] [stderr]    Compiling syn v2.0.95
[INFO] [stderr]    Compiling vte_generate_state_changes v0.1.2
[INFO] [stderr]    Compiling directories v5.0.1
[INFO] [stderr]    Compiling vte v0.11.1
[INFO] [stderr]    Compiling addr2line v0.24.2
[INFO] [stderr]    Compiling vt100 v0.15.2
[INFO] [stderr]    Compiling indicatif v0.17.9
[INFO] [stderr]    Compiling backtrace v0.3.74
[INFO] [stderr]    Compiling backtrace-ext v0.2.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling miette-derive v5.10.0
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling miette v5.10.0
[INFO] [stderr]    Compiling tracing-indicatif v0.3.8
[INFO] [stderr]    Compiling clap v4.5.23
[INFO] [stderr]    Compiling tcp-multiplexer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.54s
[INFO] running `Command { std: "docker" "inspect" "f4199322d3c9a423bcb54fe3a5944e4a3c5277a10d95d2df7acce377ddf7d877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4199322d3c9a423bcb54fe3a5944e4a3c5277a10d95d2df7acce377ddf7d877", kill_on_drop: false }`
[INFO] [stdout] f4199322d3c9a423bcb54fe3a5944e4a3c5277a10d95d2df7acce377ddf7d877
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 620a3aefc65e846fc6c7191c1c2bea03c9fafbfd994c80dee13f0797256feb6c
[INFO] running `Command { std: "docker" "start" "-a" "620a3aefc65e846fc6c7191c1c2bea03c9fafbfd994c80dee13f0797256feb6c", kill_on_drop: false }`
[INFO] [stderr]    Compiling tcp-multiplexer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s
[INFO] running `Command { std: "docker" "inspect" "620a3aefc65e846fc6c7191c1c2bea03c9fafbfd994c80dee13f0797256feb6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "620a3aefc65e846fc6c7191c1c2bea03c9fafbfd994c80dee13f0797256feb6c", kill_on_drop: false }`
[INFO] [stdout] 620a3aefc65e846fc6c7191c1c2bea03c9fafbfd994c80dee13f0797256feb6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Zrandomize-layout" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5697dd024c7ef74f2ee15b145441c09e3f9de10653d199a5fb788013b442ef7b
[INFO] running `Command { std: "docker" "start" "-a" "5697dd024c7ef74f2ee15b145441c09e3f9de10653d199a5fb788013b442ef7b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tcp_multiplexer-cd750f5dd6ed0560)
[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]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tcp_multiplexer-79e9440afca29c86)
[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 tcp_multiplexer
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/socket/wrapper.rs - socket::wrapper::SocketAddr::port (line 49) ... FAILED
[INFO] [stdout] test src/client.rs - client::handle_forward_message (line 239) ... FAILED
[INFO] [stdout] test src/config.rs - config::Address (line 18) ... FAILED
[INFO] [stdout] test src/client.rs - client::handle_message (line 35) ... FAILED
[INFO] [stdout] test src/config.rs - config::default::listen (line 45) ... FAILED
[INFO] [stdout] test src/client.rs - client::handle_acknowledgment_message (line 218) ... FAILED
[INFO] [stdout] test src/client.rs - client::handle_incoming_message (line 202) ... FAILED
[INFO] [stdout] test src/config.rs - config::Config (line 63) ... FAILED
[INFO] [stdout] test src/socket/wrapper.rs - socket::wrapper::SocketAddr (line 30) ... FAILED
[INFO] [stdout] test src/client.rs - client::read_stream (line 147) ... FAILED
[INFO] [stdout] test src/client.rs - client::read_from_broadcast_channel (line 99) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/socket/wrapper.rs - socket::wrapper::SocketAddr::port (line 49) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr`
[INFO] [stdout]  --> src/socket/wrapper.rs:50:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let addr = SocketAddr::Ip("127.0.0.1:8080".parse().unwrap());
[INFO] [stdout]   |            ^^^^^^^^^^ use of undeclared type `SocketAddr`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::unix::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tcp_multiplexer::socket::wrapper::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout]     and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::handle_forward_message (line 239) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `handle_forward_message` in this scope
[INFO] [stdout]  --> src/client.rs:240:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | let forwarded = handle_forward_message(8080, "REQUEST".to_string());
[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/config.rs - config::Address (line 18) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Address`
[INFO] [stdout]  --> src/config.rs:21:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | let address = Address::Tcp(IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)), 27_632);
[INFO] [stdout]   |               ^^^^^^^ use of undeclared type `Address`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tcp_multiplexer::config::Address;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::handle_message (line 35) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `handle_message` in this scope
[INFO] [stdout]  --> src/client.rs:37:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | handle_message(stream, tx, addr).await?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 3 + use tcp_multiplexer::client::handle_message;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `stream` in this scope
[INFO] [stdout]  --> src/client.rs:37:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | handle_message(stream, tx, addr).await?;
[INFO] [stdout]   |                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tx` in this scope
[INFO] [stdout]  --> src/client.rs:37:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | handle_message(stream, tx, addr).await?;
[INFO] [stdout]   |                        ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `addr` in this scope
[INFO] [stdout]  --> src/client.rs:37:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | handle_message(stream, tx, addr).await?;
[INFO] [stdout]   |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client.rs:37:34
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_35_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 4 | handle_message(stream, tx, addr).await?;
[INFO] [stdout]   |                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::default::listen (line 45) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `default`
[INFO] [stdout]  --> src/config.rs:46:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | let default_address = default::listen();
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       use of undeclared crate or module `default`
[INFO] [stdout]   |                       help: a trait with a similar name exists: `Default`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::handle_acknowledgment_message (line 218) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `handle_acknowledgment_message` in this scope
[INFO] [stdout]  --> src/client.rs:219:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | let acknowledgment = handle_acknowledgment_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/client.rs - client::handle_incoming_message (line 202) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `handle_incoming_message` in this scope
[INFO] [stdout]  --> src/client.rs:203:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let result = handle_incoming_message("hello");
[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/config.rs - config::Config (line 63) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]  --> src/config.rs:64:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let config = Config::default();
[INFO] [stdout]   |              ^^^^^^ use of undeclared type `Config`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tcp_multiplexer::config::Config;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/socket/wrapper.rs - socket::wrapper::SocketAddr (line 30) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr`
[INFO] [stdout]  --> src/socket/wrapper.rs:31:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let addr = SocketAddr::Ip("127.0.0.1:8080".parse().unwrap());
[INFO] [stdout]   |            ^^^^^^^^^^ use of undeclared type `SocketAddr`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::unix::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tcp_multiplexer::socket::wrapper::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout]     and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::read_stream (line 147) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `num_bytes_read` in this scope
[INFO] [stdout]  --> src/client.rs:149:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_stream(num_bytes_read, incoming, &mut writer, tx, addr).await?;
[INFO] [stdout]   |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `incoming` in this scope
[INFO] [stdout]  --> src/client.rs:149:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_stream(num_bytes_read, incoming, &mut writer, tx, addr).await?;
[INFO] [stdout]   |                             ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `writer` in this scope
[INFO] [stdout]  --> src/client.rs:149:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_stream(num_bytes_read, incoming, &mut writer, tx, addr).await?;
[INFO] [stdout]   |                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tx` in this scope
[INFO] [stdout]  --> src/client.rs:149:52
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_stream(num_bytes_read, incoming, &mut writer, tx, addr).await?;
[INFO] [stdout]   |                                                    ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `addr` in this scope
[INFO] [stdout]  --> src/client.rs:149:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_stream(num_bytes_read, incoming, &mut writer, tx, addr).await?;
[INFO] [stdout]   |                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client.rs:149:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_147_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] 4 | read_stream(num_bytes_read, incoming, &mut writer, tx, addr).await?;
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_stream` in this scope
[INFO] [stdout]  --> src/client.rs:149:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_stream(num_bytes_read, incoming, &mut writer, tx, addr).await?;
[INFO] [stdout]   | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::read_from_broadcast_channel (line 99) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `result` in this scope
[INFO] [stdout]  --> src/client.rs:101:29
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_from_broadcast_channel(result, addr, &mut writer).await?;
[INFO] [stdout]   |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `addr` in this scope
[INFO] [stdout]  --> src/client.rs:101:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_from_broadcast_channel(result, addr, &mut writer).await?;
[INFO] [stdout]   |                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `writer` in this scope
[INFO] [stdout]  --> src/client.rs:101:48
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_from_broadcast_channel(result, addr, &mut writer).await?;
[INFO] [stdout]   |                                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client.rs:101:56
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_99_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] 4 | read_from_broadcast_channel(result, addr, &mut writer).await?;
[INFO] [stdout]   |                                                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `read_from_broadcast_channel` in this scope
[INFO] [stdout]  --> src/client.rs:101:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | read_from_broadcast_channel(result, addr, &mut writer).await?;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::handle_acknowledgment_message (line 218)
[INFO] [stdout]     src/client.rs - client::handle_forward_message (line 239)
[INFO] [stdout]     src/client.rs - client::handle_incoming_message (line 202)
[INFO] [stdout]     src/client.rs - client::handle_message (line 35)
[INFO] [stdout]     src/client.rs - client::read_from_broadcast_channel (line 99)
[INFO] [stdout]     src/client.rs - client::read_stream (line 147)
[INFO] [stdout]     src/config.rs - config::Address (line 18)
[INFO] [stdout]     src/config.rs - config::Config (line 63)
[INFO] [stdout]     src/config.rs - config::default::listen (line 45)
[INFO] [stdout]     src/socket/wrapper.rs - socket::wrapper::SocketAddr (line 30)
[INFO] [stdout]     src/socket/wrapper.rs - socket::wrapper::SocketAddr::port (line 49)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "5697dd024c7ef74f2ee15b145441c09e3f9de10653d199a5fb788013b442ef7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5697dd024c7ef74f2ee15b145441c09e3f9de10653d199a5fb788013b442ef7b", kill_on_drop: false }`
[INFO] [stdout] 5697dd024c7ef74f2ee15b145441c09e3f9de10653d199a5fb788013b442ef7b
