[INFO] fetching crate wisp-mux 5.1.0... [INFO] testing wisp-mux-5.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate wisp-mux 5.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate wisp-mux 5.1.0 [INFO] finished tweaking crates.io crate wisp-mux 5.1.0 [INFO] tweaked toml for crates.io crate wisp-mux 5.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wisp-mux 5.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding fastwebsockets v0.8.1 (available: v0.10.0) [INFO] [stderr] Adding flume v0.11.1 (available: v0.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 454b10393c06f2e927b3655390da129e17436f853afbdf3287bd59984fdac9c6 [INFO] running `Command { std: "docker" "start" "-a" "454b10393c06f2e927b3655390da129e17436f853afbdf3287bd59984fdac9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "454b10393c06f2e927b3655390da129e17436f853afbdf3287bd59984fdac9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454b10393c06f2e927b3655390da129e17436f853afbdf3287bd59984fdac9c6", kill_on_drop: false }` [INFO] [stdout] 454b10393c06f2e927b3655390da129e17436f853afbdf3287bd59984fdac9c6 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eaa3970b1523bd5bbecc9028f8ce806cf7b69e393ca15a44881a4aecda28d6d [INFO] running `Command { std: "docker" "start" "-a" "4eaa3970b1523bd5bbecc9028f8ce806cf7b69e393ca15a44881a4aecda28d6d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling atomic_enum v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling wisp-mux v5.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/packet.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 431 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] 431 + extension_builders: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/packet.rs:505:29 [INFO] [stdout] | [INFO] [stdout] 505 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 505 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] 505 + extension_builders: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.26s [INFO] running `Command { std: "docker" "inspect" "4eaa3970b1523bd5bbecc9028f8ce806cf7b69e393ca15a44881a4aecda28d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eaa3970b1523bd5bbecc9028f8ce806cf7b69e393ca15a44881a4aecda28d6d", kill_on_drop: false }` [INFO] [stdout] 4eaa3970b1523bd5bbecc9028f8ce806cf7b69e393ca15a44881a4aecda28d6d [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfad67574da77a97928063d231d9f47a629d1e3668999fec7df24aced7cfe8e4 [INFO] running `Command { std: "docker" "start" "-a" "cfad67574da77a97928063d231d9f47a629d1e3668999fec7df24aced7cfe8e4", kill_on_drop: false }` [INFO] [stderr] Compiling wisp-mux v5.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/packet.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 431 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] 431 + extension_builders: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/packet.rs:505:29 [INFO] [stdout] | [INFO] [stdout] 505 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 505 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] 505 + extension_builders: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/packet.rs:431:29 [INFO] [stdout] | [INFO] [stdout] 431 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 431 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] 431 + extension_builders: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/packet.rs:505:29 [INFO] [stdout] | [INFO] [stdout] 505 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 505 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stdout] 505 + extension_builders: &[Box], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "cfad67574da77a97928063d231d9f47a629d1e3668999fec7df24aced7cfe8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfad67574da77a97928063d231d9f47a629d1e3668999fec7df24aced7cfe8e4", kill_on_drop: false }` [INFO] [stdout] cfad67574da77a97928063d231d9f47a629d1e3668999fec7df24aced7cfe8e4 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10b1b1f2fc0610728903b2b80388c88abac7c5884adc35f2dfd771a6b0b66750 [INFO] running `Command { std: "docker" "start" "-a" "10b1b1f2fc0610728903b2b80388c88abac7c5884adc35f2dfd771a6b0b66750", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/packet.rs:431:29 [INFO] [stderr] | [INFO] [stderr] 431 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 431 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] 431 + extension_builders: &[Box], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/packet.rs:505:29 [INFO] [stderr] | [INFO] [stderr] 505 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 505 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] 505 + extension_builders: &[Box], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `wisp-mux` (lib) generated 2 warnings (run `cargo fix --lib -p wisp-mux` to apply 2 suggestions) [INFO] [stderr] warning: `wisp-mux` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wisp_mux-24921f2b5210e13f) [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 wisp_mux [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/packet.rs:431:29 [INFO] [stderr] | [INFO] [stderr] 431 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 431 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] 431 + extension_builders: &[Box], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/packet.rs:505:29 [INFO] [stderr] | [INFO] [stderr] 505 | extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 505 - extension_builders: &[Box<(dyn ProtocolExtensionBuilder + Send + Sync)>], [INFO] [stderr] 505 + extension_builders: &[Box], [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/extensions/password.rs - extensions::password (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - ClientMux (line 732) ... FAILED [INFO] [stdout] test src/extensions/udp.rs - extensions::udp (line 4) ... FAILED [INFO] [stdout] test src/stream.rs - stream::MuxStreamWrite::get_close_handle (line 175) ... FAILED [INFO] [stdout] test src/stream.rs - stream::MuxStream::get_close_handle (line 340) ... FAILED [INFO] [stdout] test src/extensions/password.rs - extensions::password (line 19) ... FAILED [INFO] [stdout] test src/lib.rs - ServerMux (line 541) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/extensions/password.rs - extensions::password (line 7) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/extensions/password.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let mut passwords = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ServerMux` in this scope [INFO] [stdout] --> src/extensions/password.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let (mux, fut) = ServerMux::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ServerMux` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use wisp_mux::ServerMux; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rx` in this scope [INFO] [stdout] --> src/extensions/password.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | rx, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tx` in this scope [INFO] [stdout] --> src/extensions/password.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tx, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `PasswordProtocolExtensionBuilder` in this scope [INFO] [stdout] --> src/extensions/password.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | Some(&[Box::new(PasswordProtocolExtensionBuilder::new_server(passwords))]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PasswordProtocolExtensionBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 + use wisp_mux::extensions::password::PasswordProtocolExtensionBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/lib.rs - ClientMux (line 732) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `rx` in this scope [INFO] [stdout] --> src/lib.rs:736:33 [INFO] [stdout] | [INFO] [stdout] 736 | let (mux, fut) = ClientMux::new(rx, tx, Some([])).await?; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tx` in this scope [INFO] [stdout] --> src/lib.rs:736:37 [INFO] [stdout] | [INFO] [stdout] 736 | let (mux, fut) = ClientMux::new(rx, tx, Some([])).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/lib.rs:736:51 [INFO] [stdout] | [INFO] [stdout] 733 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_732_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 736 | let (mux, fut) = ClientMux::new(rx, tx, Some([])).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ClientMux` in the current scope [INFO] [stdout] --> src/lib.rs:736:29 [INFO] [stdout] | [INFO] [stdout] 736 | let (mux, fut) = ClientMux::new(rx, tx, Some([])).await?; [INFO] [stdout] | ^^^ function or associated item not found in `ClientMux` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:737:1 [INFO] [stdout] | [INFO] [stdout] 737 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extensions/udp.rs - extensions::udp (line 4) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ServerMux` in this scope [INFO] [stdout] --> src/extensions/udp.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let (mux, fut) = ServerMux::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ServerMux` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use wisp_mux::ServerMux; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rx` in this scope [INFO] [stdout] --> src/extensions/udp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | rx, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tx` in this scope [INFO] [stdout] --> src/extensions/udp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | tx, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UdpProtocolExtensionBuilder` in this scope [INFO] [stdout] --> src/extensions/udp.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | Some(&[Box::new(UdpProtocolExtensionBuilder)]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 4 + use wisp_mux::extensions::udp::UdpProtocolExtensionBuilder; [INFO] [stdout] | [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/stream.rs - stream::MuxStreamWrite::get_close_handle (line 175) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `stream` in this scope [INFO] [stdout] --> src/stream.rs:176:14 [INFO] [stdout] | [INFO] [stdout] 176 | let handle = stream.get_close_handle(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stream` in this scope [INFO] [stdout] --> src/stream.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | if let Err(error) = handle_stream(stream) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_stream` in this scope [INFO] [stdout] --> src/stream.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | if let Err(error) = handle_stream(stream) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/stream.rs - stream::MuxStream::get_close_handle (line 340) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `stream` in this scope [INFO] [stdout] --> src/stream.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 341 | let handle = stream.get_close_handle(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `stream` in this scope [INFO] [stdout] --> src/stream.rs:342:35 [INFO] [stdout] | [INFO] [stdout] 342 | if let Err(error) = handle_stream(stream) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_stream` in this scope [INFO] [stdout] --> src/stream.rs:342:21 [INFO] [stdout] | [INFO] [stdout] 342 | if let Err(error) = handle_stream(stream) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/extensions/password.rs - extensions::password (line 19) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ClientMux` in this scope [INFO] [stdout] --> src/extensions/password.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let (mux, fut) = ClientMux::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ClientMux` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 + use wisp_mux::ClientMux; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rx` in this scope [INFO] [stdout] --> src/extensions/password.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | rx, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tx` in this scope [INFO] [stdout] --> src/extensions/password.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | tx, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `PasswordProtocolExtensionBuilder` in this scope [INFO] [stdout] --> src/extensions/password.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | Box::new(PasswordProtocolExtensionBuilder::new_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `PasswordProtocolExtensionBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 + use wisp_mux::extensions::password::PasswordProtocolExtensionBuilder; [INFO] [stdout] | [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/lib.rs - ServerMux (line 541) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `rx` in this scope [INFO] [stdout] --> src/lib.rs:545:33 [INFO] [stdout] | [INFO] [stdout] 545 | let (mux, fut) = ServerMux::new(rx, tx, 128, Some([])); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tx` in this scope [INFO] [stdout] --> src/lib.rs:545:37 [INFO] [stdout] | [INFO] [stdout] 545 | let (mux, fut) = ServerMux::new(rx, tx, 128, Some([])); [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/lib.rs:551:60 [INFO] [stdout] | [INFO] [stdout] 542 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_541_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 551 | while let Some((packet, stream)) = mux.server_new_stream().await { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ServerMux` in the current scope [INFO] [stdout] --> src/lib.rs:545:29 [INFO] [stdout] | [INFO] [stdout] 545 | let (mux, fut) = ServerMux::new(rx, tx, 128, Some([])); [INFO] [stdout] | ^^^ function or associated item not found in `ServerMux` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:546:1 [INFO] [stdout] | [INFO] [stdout] 546 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tokio` in this scope [INFO] [stdout] --> src/lib.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599, 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/extensions/password.rs - extensions::password (line 19) [INFO] [stdout] src/extensions/password.rs - extensions::password (line 7) [INFO] [stdout] src/extensions/udp.rs - extensions::udp (line 4) [INFO] [stdout] src/lib.rs - ClientMux (line 732) [INFO] [stdout] src/lib.rs - ServerMux (line 541) [INFO] [stdout] src/stream.rs - stream::MuxStream::get_close_handle (line 340) [INFO] [stdout] src/stream.rs - stream::MuxStreamWrite::get_close_handle (line 175) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "10b1b1f2fc0610728903b2b80388c88abac7c5884adc35f2dfd771a6b0b66750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b1b1f2fc0610728903b2b80388c88abac7c5884adc35f2dfd771a6b0b66750", kill_on_drop: false }` [INFO] [stdout] 10b1b1f2fc0610728903b2b80388c88abac7c5884adc35f2dfd771a6b0b66750