[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#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsajmon170%2Fdissonance" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sajmon170/dissonance on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded postcard v1.0.10
[INFO] [stderr]   Downloaded atomic-polyfill v1.0.3
[INFO] [stderr]   Downloaded cobs v0.2.3
[INFO] [stderr]   Downloaded embedded-io v0.6.1
[INFO] [stderr]   Downloaded embedded-io v0.4.0
[INFO] [stderr]   Downloaded pin-project-internal v1.1.7
[INFO] [stderr]   Downloaded pin-project v1.1.7
[INFO] [stderr]   Downloaded serde v1.0.214
[INFO] [stderr]   Downloaded serde_derive v1.0.214
[INFO] [stderr]   Downloaded tokio-util v0.7.12
[INFO] [stderr]   Downloaded heapless v0.7.17
[INFO] [stderr]   Downloaded bytes v1.8.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.89
[INFO] [stderr]   Downloaded syn v2.0.87
[INFO] [stderr]   Downloaded tokio v1.41.1
[INFO] [stderr]   Downloaded libc v0.2.162
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f6c881efeae0a6b3cfe62e7ae52556659b8de8ab932fc4ea71d7376c9888c1de
[INFO] running `Command { std: "docker" "start" "-a" "f6c881efeae0a6b3cfe62e7ae52556659b8de8ab932fc4ea71d7376c9888c1de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f6c881efeae0a6b3cfe62e7ae52556659b8de8ab932fc4ea71d7376c9888c1de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6c881efeae0a6b3cfe62e7ae52556659b8de8ab932fc4ea71d7376c9888c1de", kill_on_drop: false }`
[INFO] [stdout] f6c881efeae0a6b3cfe62e7ae52556659b8de8ab932fc4ea71d7376c9888c1de
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2878321a014b0661d9289ffa62411a90b111ccb3ecad35ad79a5d78506a3bdca
[INFO] running `Command { std: "docker" "start" "-a" "2878321a014b0661d9289ffa62411a90b111ccb3ecad35ad79a5d78506a3bdca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling cobs v0.2.3
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]    Compiling snow v0.9.6
[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 spin v0.9.8
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling poly1305 v0.8.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling chacha20 v0.9.1
[INFO] [stderr]    Compiling chacha20poly1305 v0.10.1
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling tokio-util v0.7.12
[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 tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling pin-project v1.1.7
[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 24.87s
[INFO] running `Command { std: "docker" "inspect" "2878321a014b0661d9289ffa62411a90b111ccb3ecad35ad79a5d78506a3bdca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2878321a014b0661d9289ffa62411a90b111ccb3ecad35ad79a5d78506a3bdca", kill_on_drop: false }`
[INFO] [stdout] 2878321a014b0661d9289ffa62411a90b111ccb3ecad35ad79a5d78506a3bdca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0361e119936dba2eed3395a17df2e5f884b6eb5e4ab14a5975048d27fdb0f53
[INFO] running `Command { std: "docker" "start" "-a" "d0361e119936dba2eed3395a17df2e5f884b6eb5e4ab14a5975048d27fdb0f53", kill_on_drop: false }`
[INFO] [stderr]    Compiling dissonance v0.3.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s
[INFO] running `Command { std: "docker" "inspect" "d0361e119936dba2eed3395a17df2e5f884b6eb5e4ab14a5975048d27fdb0f53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0361e119936dba2eed3395a17df2e5f884b6eb5e4ab14a5975048d27fdb0f53", kill_on_drop: false }`
[INFO] [stdout] d0361e119936dba2eed3395a17df2e5f884b6eb5e4ab14a5975048d27fdb0f53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fe3521d6b4d5e8f943a0d3d3bfd02e40f881040dbced7b701457d0715e9d7552
[INFO] running `Command { std: "docker" "start" "-a" "fe3521d6b4d5e8f943a0d3d3bfd02e40f881040dbced7b701457d0715e9d7552", 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] [stderr]    Doc-tests dissonance
[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] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... 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 102) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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 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 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] 
[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.35s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "fe3521d6b4d5e8f943a0d3d3bfd02e40f881040dbced7b701457d0715e9d7552", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe3521d6b4d5e8f943a0d3d3bfd02e40f881040dbced7b701457d0715e9d7552", kill_on_drop: false }`
[INFO] [stdout] fe3521d6b4d5e8f943a0d3d3bfd02e40f881040dbced7b701457d0715e9d7552
