[INFO] cloning repository https://github.com/sajmon170/dissonance
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sajmon170/dissonance" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsajmon170%2Fdissonance", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsajmon170%2Fdissonance'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9550a7a300a7c73742c87d71bc8c38a3dd2bc2b0
[INFO] testing sajmon170/dissonance against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsajmon170%2Fdissonance" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sajmon170/dissonance
[INFO] finished tweaking git repo https://github.com/sajmon170/dissonance
[INFO] tweaked toml for git repo https://github.com/sajmon170/dissonance written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sajmon170/dissonance on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sajmon170/dissonance 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded postcard v1.0.10
[INFO] [stderr]   Downloaded snow v0.9.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ea9cf9d9746d45b07c8a1b82ea6e43e825bb56d4a46ef712ad6f420787992f6
[INFO] running `Command { std: "docker" "start" "-a" "2ea9cf9d9746d45b07c8a1b82ea6e43e825bb56d4a46ef712ad6f420787992f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ea9cf9d9746d45b07c8a1b82ea6e43e825bb56d4a46ef712ad6f420787992f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ea9cf9d9746d45b07c8a1b82ea6e43e825bb56d4a46ef712ad6f420787992f6", kill_on_drop: false }`
[INFO] [stdout] 2ea9cf9d9746d45b07c8a1b82ea6e43e825bb56d4a46ef712ad6f420787992f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7440e0de4e947580047e26e7165b1ceafaea8f599eac6b17f0d5a256cceef8d
[INFO] running `Command { std: "docker" "start" "-a" "c7440e0de4e947580047e26e7165b1ceafaea8f599eac6b17f0d5a256cceef8d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling snow v0.9.6
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling cobs v0.2.3
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling poly1305 v0.8.0
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling chacha20 v0.9.1
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling chacha20poly1305 v0.10.1
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling postcard v1.0.10
[INFO] [stderr]    Compiling dissonance v0.3.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.68s
[INFO] running `Command { std: "docker" "inspect" "c7440e0de4e947580047e26e7165b1ceafaea8f599eac6b17f0d5a256cceef8d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7440e0de4e947580047e26e7165b1ceafaea8f599eac6b17f0d5a256cceef8d", kill_on_drop: false }`
[INFO] [stdout] c7440e0de4e947580047e26e7165b1ceafaea8f599eac6b17f0d5a256cceef8d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 49313c9f4675f999aa22825e30adb85c99810c26a2523e8848647abe87419cb1
[INFO] running `Command { std: "docker" "start" "-a" "49313c9f4675f999aa22825e30adb85c99810c26a2523e8848647abe87419cb1", kill_on_drop: false }`
[INFO] [stderr]    Compiling dissonance v0.3.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "49313c9f4675f999aa22825e30adb85c99810c26a2523e8848647abe87419cb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49313c9f4675f999aa22825e30adb85c99810c26a2523e8848647abe87419cb1", kill_on_drop: false }`
[INFO] [stdout] 49313c9f4675f999aa22825e30adb85c99810c26a2523e8848647abe87419cb1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 09c17eb64a7a3f4b927465226ebcfc3cdfa08f32627a07d58c74827abc1e451c
[INFO] running `Command { std: "docker" "start" "-a" "09c17eb64a7a3f4b927465226ebcfc3cdfa08f32627a07d58c74827abc1e451c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dissonance-00bdf70ecad176f6)
[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 dissonance
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 102) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 83) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 78) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `transport` in this scope
[INFO] [stdout]    --> src/lib.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 | let mut socket = transport.get_mut();
[INFO] [stdout]     |                  ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `copy` in module `tokio::io`
[INFO] [stdout]    --> src/lib.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | tokio::io::copy(&mut my_file, &mut socket).await?
[INFO] [stdout]     |            ^^^^ not found in `tokio::io`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/io/mod.rs:274:9
[INFO] [stdout]     |
[INFO] [stdout] 274 | ...   copy, copy_bidirectional, copy_bidirectional_with_sizes, copy_buf, duplex, empty, repeat, sink, simplex, AsyncBufReadExt, Asy...
[INFO] [stdout]     |       ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.41.1/src/macros/cfg.rs:182:19
[INFO] [stdout]     |
[INFO] [stdout] 182 |             #[cfg(feature = "io-util")]
[INFO] [stdout]     |                   ------------------- the item is gated behind the `io-util` feature
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 102 + use std::fs::copy;
[INFO] [stdout]     |
[INFO] [stdout] 102 + use std::io::copy;
[INFO] [stdout]     |
[INFO] [stdout] 102 + use std::mem::copy;
[INFO] [stdout]     |
[INFO] [stdout] 102 + use std::ptr::copy;
[INFO] [stdout]     |
[INFO] [stdout]     = and 3 other candidates
[INFO] [stdout] help: if you import `copy`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 104 - tokio::io::copy(&mut my_file, &mut socket).await?
[INFO] [stdout] 104 + copy(&mut my_file, &mut socket).await?
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `my_file` in this scope
[INFO] [stdout]    --> src/lib.rs:104:22
[INFO] [stdout]     |
[INFO] [stdout] 104 | tokio::io::copy(&mut my_file, &mut socket).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:104:44
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_102_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 103 | let mut socket = transport.get_mut();
[INFO] [stdout] 104 | tokio::io::copy(&mut my_file, &mut socket).await?
[INFO] [stdout]     |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/lib.rs - (line 83) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `transport` in this scope
[INFO] [stdout]   --> src/lib.rs:84:1
[INFO] [stdout]    |
[INFO] [stdout] 84 | transport.send(Request::GetDateTime).await?;
[INFO] [stdout]    | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request`
[INFO] [stdout]   --> src/lib.rs:84:16
[INFO] [stdout]    |
[INFO] [stdout] 84 | transport.send(Request::GetDateTime).await?;
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Request`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 83 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:85:15
[INFO] [stdout]    |
[INFO] [stdout] 85 | let response: Response = transport.next().await?;
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `transport` in this scope
[INFO] [stdout]   --> src/lib.rs:85:26
[INFO] [stdout]    |
[INFO] [stdout] 85 | let response: Response = transport.next().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:84:38
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_83_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 84 | transport.send(Request::GetDateTime).await?;
[INFO] [stdout]    |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:85:43
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_83_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 84 | transport.send(Request::GetDateTime).await?;
[INFO] [stdout] 85 | let response: Response = transport.next().await?;
[INFO] [stdout]    |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 78) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoiseTransport`
[INFO] [stdout]   --> src/lib.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 | let transport = NoiseTransport::<TcpStream, Request, Response>::new(socket);
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ use of undeclared type `NoiseTransport`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 78 + use dissonance::noise_transport::NoiseTransport;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/lib.rs:79:34
[INFO] [stdout]    |
[INFO] [stdout] 79 | let transport = NoiseTransport::<TcpStream, Request, Response>::new(socket);
[INFO] [stdout]    |                                  ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 78 + use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/lib.rs:79:45
[INFO] [stdout]    |
[INFO] [stdout] 79 | let transport = NoiseTransport::<TcpStream, Request, Response>::new(socket);
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 78 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:79:54
[INFO] [stdout]    |
[INFO] [stdout] 79 | let transport = NoiseTransport::<TcpStream, Request, Response>::new(socket);
[INFO] [stdout]    |                                                      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_78_0<Response>() {
[INFO] [stdout]    |                                                                      ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `socket` in this scope
[INFO] [stdout]   --> src/lib.rs:79:69
[INFO] [stdout]    |
[INFO] [stdout] 79 | let transport = NoiseTransport::<TcpStream, Request, Response>::new(socket);
[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, 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 - (line 52) stdout ----
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/lib.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 52 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/lib.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 52 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]   --> src/lib.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 52 + use serde::Serialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/lib.rs:53:21
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 52 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoiseBuilder`
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 | let socket = NoiseBuilder::<TcpStream>::new(my_keys, my_tcp_stream)
[INFO] [stdout]    |              ^^^^^^^^^^^^ use of undeclared type `NoiseBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 32 + use dissonance::noise_session::NoiseBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/lib.rs:33:29
[INFO] [stdout]    |
[INFO] [stdout] 33 | let socket = NoiseBuilder::<TcpStream>::new(my_keys, my_tcp_stream)
[INFO] [stdout]    |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 32 + use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `my_keys` in this scope
[INFO] [stdout]   --> src/lib.rs:33:45
[INFO] [stdout]    |
[INFO] [stdout] 33 | let socket = NoiseBuilder::<TcpStream>::new(my_keys, my_tcp_stream)
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `my_tcp_stream` in this scope
[INFO] [stdout]   --> src/lib.rs:33:54
[INFO] [stdout]    |
[INFO] [stdout] 33 | let socket = NoiseBuilder::<TcpStream>::new(my_keys, my_tcp_stream)
[INFO] [stdout]    |                                                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoiseSelfType`
[INFO] [stdout]   --> src/lib.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     .set_my_type(NoiseSelfType::I)
[INFO] [stdout]    |                  ^^^^^^^^^^^^^ use of undeclared type `NoiseSelfType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 32 + use dissonance::noise_session::NoiseSelfType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NoisePeerType`
[INFO] [stdout]   --> src/lib.rs:35:20
[INFO] [stdout]    |
[INFO] [stdout] 35 |     .set_peer_type(NoisePeerType::K(peer_key))
[INFO] [stdout]    |                    ^^^^^^^^^^^^^ use of undeclared type `NoisePeerType`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 32 + use dissonance::noise_session::NoisePeerType;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `peer_key` in this scope
[INFO] [stdout]   --> src/lib.rs:35:37
[INFO] [stdout]    |
[INFO] [stdout] 35 |     .set_peer_type(NoisePeerType::K(peer_key))
[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:36:27
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_32_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 36 |     .build_as_initiator().await?;
[INFO] [stdout]    |                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, 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/lib.rs - (line 102)
[INFO] [stdout]     src/lib.rs - (line 32)
[INFO] [stdout]     src/lib.rs - (line 52)
[INFO] [stdout]     src/lib.rs - (line 78)
[INFO] [stdout]     src/lib.rs - (line 83)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "09c17eb64a7a3f4b927465226ebcfc3cdfa08f32627a07d58c74827abc1e451c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09c17eb64a7a3f4b927465226ebcfc3cdfa08f32627a07d58c74827abc1e451c", kill_on_drop: false }`
[INFO] [stdout] 09c17eb64a7a3f4b927465226ebcfc3cdfa08f32627a07d58c74827abc1e451c
