[INFO] fetching crate mini-telnet 0.1.8...
[INFO] testing mini-telnet-0.1.8 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate mini-telnet 0.1.8 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate mini-telnet 0.1.8
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate mini-telnet 0.1.8
[INFO] tweaked toml for crates.io crate mini-telnet 0.1.8 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate mini-telnet 0.1.8 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate mini-telnet 0.1.8 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 09c706825003f21757c94ab738bae9543563cafc303ac12bec676736dd91ed93
[INFO] running `Command { std: "docker" "start" "-a" "09c706825003f21757c94ab738bae9543563cafc303ac12bec676736dd91ed93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09c706825003f21757c94ab738bae9543563cafc303ac12bec676736dd91ed93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09c706825003f21757c94ab738bae9543563cafc303ac12bec676736dd91ed93", kill_on_drop: false }`
[INFO] [stdout] 09c706825003f21757c94ab738bae9543563cafc303ac12bec676736dd91ed93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 827f3b1a015187be74ce2d5a21270e41cff1ee8266c7bed06baedd14bd82feef
[INFO] running `Command { std: "docker" "start" "-a" "827f3b1a015187be74ce2d5a21270e41cff1ee8266c7bed06baedd14bd82feef", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling tracing-core v0.1.26
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling tracing v0.1.34
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling futures-executor v0.3.21
[INFO] [stderr]    Compiling futures v0.3.21
[INFO] [stderr]    Compiling mini-telnet v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/codec.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     SE(u8),
[INFO] [stdout]    |     -- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 23 -     SE(u8),
[INFO] [stdout] 23 +     SE(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/codec.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     SB(u8),
[INFO] [stdout]    |     -- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 24 -     SB(u8),
[INFO] [stdout] 24 +     SB(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.75s
[INFO] running `Command { std: "docker" "inspect" "827f3b1a015187be74ce2d5a21270e41cff1ee8266c7bed06baedd14bd82feef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "827f3b1a015187be74ce2d5a21270e41cff1ee8266c7bed06baedd14bd82feef", kill_on_drop: false }`
[INFO] [stdout] 827f3b1a015187be74ce2d5a21270e41cff1ee8266c7bed06baedd14bd82feef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 15a6b1546b01475eef19afd4fe202f8b26a53176aba9677cbb661baef3702d6d
[INFO] running `Command { std: "docker" "start" "-a" "15a6b1546b01475eef19afd4fe202f8b26a53176aba9677cbb661baef3702d6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling mini-telnet v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/codec.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     SE(u8),
[INFO] [stdout]    |     -- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 23 -     SE(u8),
[INFO] [stdout] 23 +     SE(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/codec.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     SB(u8),
[INFO] [stdout]    |     -- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 24 -     SB(u8),
[INFO] [stdout] 24 +     SB(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/codec.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 |     SE(u8),
[INFO] [stdout]    |     -- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 23 -     SE(u8),
[INFO] [stdout] 23 +     SE(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/codec.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     SB(u8),
[INFO] [stdout]    |     -- ^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 24 -     SB(u8),
[INFO] [stdout] 24 +     SB(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.18s
[INFO] running `Command { std: "docker" "inspect" "15a6b1546b01475eef19afd4fe202f8b26a53176aba9677cbb661baef3702d6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15a6b1546b01475eef19afd4fe202f8b26a53176aba9677cbb661baef3702d6d", kill_on_drop: false }`
[INFO] [stdout] 15a6b1546b01475eef19afd4fe202f8b26a53176aba9677cbb661baef3702d6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 279de2d7c254511633407b54a1bf6c092b1fceae35db5e6b30ebdba63da3c4b8
[INFO] running `Command { std: "docker" "start" "-a" "279de2d7c254511633407b54a1bf6c092b1fceae35db5e6b30ebdba63da3c4b8", kill_on_drop: false }`
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/codec.rs:23:8
[INFO] [stderr]    |
[INFO] [stderr] 23 |     SE(u8),
[INFO] [stderr]    |     -- ^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 23 -     SE(u8),
[INFO] [stderr] 23 +     SE(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/codec.rs:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 |     SB(u8),
[INFO] [stderr]    |     -- ^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 24 -     SB(u8),
[INFO] [stderr] 24 +     SB(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `mini-telnet` (lib) generated 2 warnings
[INFO] [stderr] warning: `mini-telnet` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mini_telnet-935c180a2e247af8)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mini_telnet
[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 3 tests
[INFO] [stdout] test src/lib.rs - Telnet::normal_execute (line 272) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Telnet::execute (line 188) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Telnet::login (line 108) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Telnet::normal_execute (line 272) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `telnet` in this scope
[INFO] [stdout]    --> src/lib.rs:275:5
[INFO] [stdout]     |
[INFO] [stdout] 275 |     telnet.normal_execute("echo 'haha'").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:275:42
[INFO] [stdout]     |
[INFO] [stdout] 272 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_272_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 275 |     telnet.normal_execute("echo 'haha'").await?
[INFO] [stdout]     |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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 - Telnet::execute (line 188) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `telnet` in this scope
[INFO] [stdout]    --> src/lib.rs:189:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | assert_eq!(telnet.execute("echo 'haha'").await?, "haha\n");
[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:189:42
[INFO] [stdout]     |
[INFO] [stdout] 188 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_188_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] 189 | assert_eq!(telnet.execute("echo 'haha'").await?, "haha\n");
[INFO] [stdout]     |                                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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 - Telnet::login (line 108) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Telnet`
[INFO] [stdout]    --> src/lib.rs:109:18
[INFO] [stdout]     |
[INFO] [stdout] 109 | let mut client = Telnet::builder()
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `Telnet`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 108 + use mini_telnet::Telnet;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/lib.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |     .connect_timeout(Duration::from_secs(3))
[INFO] [stdout]     |                      ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 108 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 108 + use tokio::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:113:32
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 113 |     .connect("192.168.0.1:23").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:115:44
[INFO] [stdout]     |
[INFO] [stdout] 108 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 115 | match client.login("username", "password").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: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Telnet::execute (line 188)
[INFO] [stdout]     src/lib.rs - Telnet::login (line 108)
[INFO] [stdout]     src/lib.rs - Telnet::normal_execute (line 272)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 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" "279de2d7c254511633407b54a1bf6c092b1fceae35db5e6b30ebdba63da3c4b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "279de2d7c254511633407b54a1bf6c092b1fceae35db5e6b30ebdba63da3c4b8", kill_on_drop: false }`
[INFO] [stdout] 279de2d7c254511633407b54a1bf6c092b1fceae35db5e6b30ebdba63da3c4b8
