[INFO] fetching crate nectar 0.1.0...
[INFO] testing nectar-0.1.0 against 1.75.0 for beta-1.76-1
[INFO] extracting crate nectar 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate nectar 0.1.0 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nectar 0.1.0
[INFO] finished tweaking crates.io crate nectar 0.1.0
[INFO] tweaked toml for crates.io crate nectar 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f64a535945ba2e14e2fd83ce61a08eab8eb3a5606344e2a155f0c96ccacc496c
[INFO] running `Command { std: "docker" "start" "-a" "f64a535945ba2e14e2fd83ce61a08eab8eb3a5606344e2a155f0c96ccacc496c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f64a535945ba2e14e2fd83ce61a08eab8eb3a5606344e2a155f0c96ccacc496c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f64a535945ba2e14e2fd83ce61a08eab8eb3a5606344e2a155f0c96ccacc496c", kill_on_drop: false }`
[INFO] [stdout] f64a535945ba2e14e2fd83ce61a08eab8eb3a5606344e2a155f0c96ccacc496c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1fd0de89c92cbc4447a07514bf305ec4b53e632101a119a9299d3052a372ae68
[INFO] running `Command { std: "docker" "start" "-a" "1fd0de89c92cbc4447a07514bf305ec4b53e632101a119a9299d3052a372ae68", kill_on_drop: false }`
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling nectar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.61s
[INFO] running `Command { std: "docker" "inspect" "1fd0de89c92cbc4447a07514bf305ec4b53e632101a119a9299d3052a372ae68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1fd0de89c92cbc4447a07514bf305ec4b53e632101a119a9299d3052a372ae68", kill_on_drop: false }`
[INFO] [stdout] 1fd0de89c92cbc4447a07514bf305ec4b53e632101a119a9299d3052a372ae68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59470f187048c06022929ba9c1e35d765e2ab76d5558bdb529c4a117191828f6
[INFO] running `Command { std: "docker" "start" "-a" "59470f187048c06022929ba9c1e35d765e2ab76d5558bdb529c4a117191828f6", kill_on_drop: false }`
[INFO] [stderr]    Compiling nectar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "59470f187048c06022929ba9c1e35d765e2ab76d5558bdb529c4a117191828f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59470f187048c06022929ba9c1e35d765e2ab76d5558bdb529c4a117191828f6", kill_on_drop: false }`
[INFO] [stdout] 59470f187048c06022929ba9c1e35d765e2ab76d5558bdb529c4a117191828f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c72c0005f3a7ced235620e55e3b7d66ed3b8b287ab0868fba04934a4c19e5cb2
[INFO] running `Command { std: "docker" "start" "-a" "c72c0005f3a7ced235620e55e3b7d66ed3b8b287ab0868fba04934a4c19e5cb2", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nectar-06a5a36f21ca5c1c)
[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 nectar
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:33:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr`
[INFO] [stdout]  --> src/lib.rs:35:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let addr = SocketAddr::from(([127, 0, 0, 1], 5000));
[INFO] [stdout]   |                ^^^^^^^^^^ use of undeclared type `SocketAddr`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::unix::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]  --> src/lib.rs:36:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let listener = TcpListener::bind(addr).await?;
[INFO] [stdout]   |                    ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::net::TcpListener;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/lib.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | async fn handler(stream: TcpStream) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Framed`
[INFO] [stdout]   --> src/lib.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut frame = Framed::new(stream, TelnetCodec::new(1024));
[INFO] [stdout]    |                     ^^^^^^ use of undeclared type `Framed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio_util::codec::Framed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TelnetCodec`
[INFO] [stdout]   --> src/lib.rs:56:41
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut frame = Framed::new(stream, TelnetCodec::new(1024));
[INFO] [stdout]    |                                         ^^^^^^^^^^^ use of undeclared type `TelnetCodec`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use nectar::TelnetCodec;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TelnetEvent`
[INFO] [stdout]   --> src/lib.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |             TelnetEvent::Message(string) => {
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `TelnetEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use nectar::event::TelnetEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TelnetEvent`
[INFO] [stdout]   --> src/lib.rs:65:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 frame.send(TelnetEvent::Message(string)).await?;
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `TelnetEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use nectar::event::TelnetEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             tokio::spawn(async move {
[INFO] [stdout]    |             ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |   async fn handler(stream: TcpStream) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                          -------------------------------------- expected `Result<(), Box<(dyn std::error::Error + 'static)>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 31 | /     while let Some(Ok(msg)) = frame.next().await {
[INFO] [stdout] 32 | |         match msg {
[INFO] [stdout] 33 | |             // We'll keep it simple and only match against the Message event.
[INFO] [stdout] 34 | |             TelnetEvent::Message(string) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         }
[INFO] [stdout] 40 | |     }
[INFO] [stdout]    | |_____^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] note: the function expects a value to always be returned, but loops might run zero times
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     while let Some(Ok(msg)) = frame.next().await {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this might have zero elements to iterate on
[INFO] [stdout] ...
[INFO] [stdout] 36 |                 frame.send(TelnetEvent::Message(string)).await?;
[INFO] [stdout]    |                                                               - if the loop doesn't execute, this value would never get returned
[INFO] [stdout]    = help: return a value for the case when the loop has zero elements to iterate on, or consider changing the return type to account for that possibility
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 40 ~     }
[INFO] [stdout] 41 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:34:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 31)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c72c0005f3a7ced235620e55e3b7d66ed3b8b287ab0868fba04934a4c19e5cb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c72c0005f3a7ced235620e55e3b7d66ed3b8b287ab0868fba04934a4c19e5cb2", kill_on_drop: false }`
[INFO] [stdout] c72c0005f3a7ced235620e55e3b7d66ed3b8b287ab0868fba04934a4c19e5cb2
[INFO] testing nectar-0.1.0 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate nectar 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate nectar 0.1.0 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nectar 0.1.0
[INFO] finished tweaking crates.io crate nectar 0.1.0
[INFO] tweaked toml for crates.io crate nectar 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89509670d03d5f7583c6f4a324c178f3e23c65cbc2caa38ece608c5536e1acc6
[INFO] running `Command { std: "docker" "start" "-a" "89509670d03d5f7583c6f4a324c178f3e23c65cbc2caa38ece608c5536e1acc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89509670d03d5f7583c6f4a324c178f3e23c65cbc2caa38ece608c5536e1acc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89509670d03d5f7583c6f4a324c178f3e23c65cbc2caa38ece608c5536e1acc6", kill_on_drop: false }`
[INFO] [stdout] 89509670d03d5f7583c6f4a324c178f3e23c65cbc2caa38ece608c5536e1acc6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d476dc26236e8552ecbc85bbf6848bc7caac04280e3e9e64b0aabddceb82f316
[INFO] running `Command { std: "docker" "start" "-a" "d476dc26236e8552ecbc85bbf6848bc7caac04280e3e9e64b0aabddceb82f316", kill_on_drop: false }`
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling nectar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.94s
[INFO] running `Command { std: "docker" "inspect" "d476dc26236e8552ecbc85bbf6848bc7caac04280e3e9e64b0aabddceb82f316", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d476dc26236e8552ecbc85bbf6848bc7caac04280e3e9e64b0aabddceb82f316", kill_on_drop: false }`
[INFO] [stdout] d476dc26236e8552ecbc85bbf6848bc7caac04280e3e9e64b0aabddceb82f316
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fd068021e77ea6a0eb71ed853d656e2e22171022f4d537eb113b2c23aa151c4
[INFO] running `Command { std: "docker" "start" "-a" "4fd068021e77ea6a0eb71ed853d656e2e22171022f4d537eb113b2c23aa151c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling nectar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "4fd068021e77ea6a0eb71ed853d656e2e22171022f4d537eb113b2c23aa151c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fd068021e77ea6a0eb71ed853d656e2e22171022f4d537eb113b2c23aa151c4", kill_on_drop: false }`
[INFO] [stdout] 4fd068021e77ea6a0eb71ed853d656e2e22171022f4d537eb113b2c23aa151c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 68a5fbc0aca250479f89e507b8c89448157039089ce4f9c0389697e65f1d6c83
[INFO] running `Command { std: "docker" "start" "-a" "68a5fbc0aca250479f89e507b8c89448157039089ce4f9c0389697e65f1d6c83", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nectar-6878038b46fe3037)
[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 nectar
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 31) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 31) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> src/lib.rs:33:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SocketAddr`
[INFO] [stdout]  --> src/lib.rs:35:16
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let addr = SocketAddr::from(([127, 0, 0, 1], 5000));
[INFO] [stdout]   |                ^^^^^^^^^^ use of undeclared type `SocketAddr`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::unix::net::SocketAddr;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TcpListener`
[INFO] [stdout]  --> src/lib.rs:36:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let listener = TcpListener::bind(addr).await?;
[INFO] [stdout]   |                    ^^^^^^^^^^^ use of undeclared type `TcpListener`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::net::TcpListener;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/lib.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 24 | async fn handler(stream: TcpStream) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Framed`
[INFO] [stdout]   --> src/lib.rs:56:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut frame = Framed::new(stream, TelnetCodec::new(1024));
[INFO] [stdout]    |                     ^^^^^^ use of undeclared type `Framed`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio_util::codec::Framed;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TelnetCodec`
[INFO] [stdout]   --> src/lib.rs:56:41
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut frame = Framed::new(stream, TelnetCodec::new(1024));
[INFO] [stdout]    |                                         ^^^^^^^^^^^ use of undeclared type `TelnetCodec`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use nectar::TelnetCodec;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TelnetEvent`
[INFO] [stdout]   --> src/lib.rs:63:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |             TelnetEvent::Message(string) => {
[INFO] [stdout]    |             ^^^^^^^^^^^ use of undeclared type `TelnetEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use nectar::event::TelnetEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TelnetEvent`
[INFO] [stdout]   --> src/lib.rs:65:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |                 frame.send(TelnetEvent::Message(string)).await?;
[INFO] [stdout]    |                            ^^^^^^^^^^^ use of undeclared type `TelnetEvent`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use nectar::event::TelnetEvent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> src/lib.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |             tokio::spawn(async move {
[INFO] [stdout]    |             ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |   async fn handler(stream: TcpStream) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                          -------------------------------------- expected `Result<(), Box<(dyn std::error::Error + 'static)>>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 31 | /     while let Some(Ok(msg)) = frame.next().await {
[INFO] [stdout] 32 | |         match msg {
[INFO] [stdout] 33 | |             // We'll keep it simple and only match against the Message event.
[INFO] [stdout] 34 | |             TelnetEvent::Message(string) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 39 | |         }
[INFO] [stdout] 40 | |     }
[INFO] [stdout]    | |_____^ expected `Result<(), Box<dyn Error>>`, found `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<(), Box<(dyn std::error::Error + 'static)>>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] note: the function expects a value to always be returned, but loops might run zero times
[INFO] [stdout]   --> src/lib.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     while let Some(Ok(msg)) = frame.next().await {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this might have zero elements to iterate on
[INFO] [stdout] ...
[INFO] [stdout] 36 |                 frame.send(TelnetEvent::Message(string)).await?;
[INFO] [stdout]    |                                                               - if the loop doesn't execute, this value would never get returned
[INFO] [stdout]    = help: return a value for the case when the loop has zero elements to iterate on, otherwise consider changing the return type to account for that possibility
[INFO] [stdout] help: try adding an expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 40 ~     }
[INFO] [stdout] 41 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> src/lib.rs:34:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 31)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "68a5fbc0aca250479f89e507b8c89448157039089ce4f9c0389697e65f1d6c83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68a5fbc0aca250479f89e507b8c89448157039089ce4f9c0389697e65f1d6c83", kill_on_drop: false }`
[INFO] [stdout] 68a5fbc0aca250479f89e507b8c89448157039089ce4f9c0389697e65f1d6c83
