[INFO] fetching crate async-tcp 0.2.0... [INFO] testing async-tcp-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate async-tcp 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate async-tcp 0.2.0 [INFO] finished tweaking crates.io crate async-tcp 0.2.0 [INFO] tweaked toml for crates.io crate async-tcp 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-tcp 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding async-io v0.2.7 (available: v2.6.0) [INFO] [stderr] Adding async-net v1.8.0 (available: v2.0.0) [INFO] [stderr] Adding futures-lite v1.13.0 (available: v2.6.1) [INFO] [stderr] Adding smol v0.4.3 (available: v2.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b210659e9ca789ebb5adee54453186bdbdabc7a77bb355d81b3c8342be47814f [INFO] running `Command { std: "docker" "start" "-a" "b210659e9ca789ebb5adee54453186bdbdabc7a77bb355d81b3c8342be47814f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b210659e9ca789ebb5adee54453186bdbdabc7a77bb355d81b3c8342be47814f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b210659e9ca789ebb5adee54453186bdbdabc7a77bb355d81b3c8342be47814f", kill_on_drop: false }` [INFO] [stdout] b210659e9ca789ebb5adee54453186bdbdabc7a77bb355d81b3c8342be47814f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7312f9a3ce39d301fc05454ef81ce3ebb238297710d5e2068b2492c7e9cb04df [INFO] running `Command { std: "docker" "start" "-a" "7312f9a3ce39d301fc05454ef81ce3ebb238297710d5e2068b2492c7e9cb04df", kill_on_drop: false }` [INFO] [stderr] Compiling futures-micro v0.3.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling ufut v0.3.1 [INFO] [stderr] Compiling async-peek v0.3.2 [INFO] [stderr] Compiling async-tcp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | fn accept(&self) -> Accept { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn accept(&self) -> Accept<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | fn incoming(&self) -> Incoming { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | fn incoming(&self) -> Incoming<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "7312f9a3ce39d301fc05454ef81ce3ebb238297710d5e2068b2492c7e9cb04df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7312f9a3ce39d301fc05454ef81ce3ebb238297710d5e2068b2492c7e9cb04df", kill_on_drop: false }` [INFO] [stdout] 7312f9a3ce39d301fc05454ef81ce3ebb238297710d5e2068b2492c7e9cb04df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5df06ead49e7531d25b4901f0cde5e151e633db70a82bf1df79089de1276b20b [INFO] running `Command { std: "docker" "start" "-a" "5df06ead49e7531d25b4901f0cde5e151e633db70a82bf1df79089de1276b20b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling vec-arena v0.5.2 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | fn accept(&self) -> Accept { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn accept(&self) -> Accept<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | fn incoming(&self) -> Incoming { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | fn incoming(&self) -> Incoming<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-executor v0.2.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling blocking v0.6.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling polling v0.1.9 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling async-io v0.2.7 [INFO] [stderr] Compiling async-process v0.1.3 [INFO] [stderr] Compiling async-net v1.8.0 [INFO] [stderr] Compiling smol v0.4.3 [INFO] [stderr] Compiling async-tcp v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | fn accept(&self) -> Accept { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn accept(&self) -> Accept<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | fn incoming(&self) -> Incoming { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 209 | fn incoming(&self) -> Incoming<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.60s [INFO] running `Command { std: "docker" "inspect" "5df06ead49e7531d25b4901f0cde5e151e633db70a82bf1df79089de1276b20b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5df06ead49e7531d25b4901f0cde5e151e633db70a82bf1df79089de1276b20b", kill_on_drop: false }` [INFO] [stdout] 5df06ead49e7531d25b4901f0cde5e151e633db70a82bf1df79089de1276b20b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de5cc150644fdfb69f345520f6af608e61ebef187bc9d065a5bd08c21a5b2385 [INFO] running `Command { std: "docker" "start" "-a" "de5cc150644fdfb69f345520f6af608e61ebef187bc9d065a5bd08c21a5b2385", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:144:15 [INFO] [stderr] | [INFO] [stderr] 144 | fn accept(&self) -> Accept { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 144 | fn accept(&self) -> Accept<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:209:17 [INFO] [stderr] | [INFO] [stderr] 209 | fn incoming(&self) -> Incoming { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 209 | fn incoming(&self) -> Incoming<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `async-tcp` (lib) generated 2 warnings (run `cargo fix --lib -p async-tcp` to apply 2 suggestions) [INFO] [stderr] warning: `async-tcp` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_tcp-8ca5156997d058e8) [INFO] [stdout] [INFO] [stderr] Doc-tests async_tcp [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 14 tests [INFO] [stdout] test src/lib.rs - TcpListener::set_ttl (line 252) ... FAILED [INFO] [stdout] test src/lib.rs - TcpListener::bind (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - TcpListener::local_addr (line 83) ... FAILED [INFO] [stdout] test src/lib.rs - TcpListener::ttl (line 219) ... FAILED [INFO] [stdout] test src/lib.rs - TcpListener::incoming (line 170) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::set_ttl (line 581) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::set_nodelay (line 497) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::local_addr (line 332) ... FAILED [INFO] [stdout] test src/lib.rs - TcpListener::accept (line 113) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::nodelay (line 451) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::ttl (line 538) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::connect (line 297) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::shutdown (line 411) ... FAILED [INFO] [stdout] test src/lib.rs - TcpStream::peer_addr (line 370) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - TcpListener::set_ttl (line 252) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | let listener = async_net::TcpListener::bind(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpListener::bind (line 59) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpListener::local_addr (line 83) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpListener::ttl (line 219) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 230 | let listener = async_net::TcpListener::bind(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpListener::incoming (line 170) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 183 | [INFO] [stdout] 184 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 182 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | let conn = conn.await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 203 | assert_eq!(conn.local_addr()?, stream.peer_addr()?); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 202 | let conn: /* Type */ = conn.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::set_ttl (line 581) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 594 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 593 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::set_nodelay (line 497) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 510 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 509 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::local_addr (line 332) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 345 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 344 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpListener::accept (line 113) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 125 | [INFO] [stdout] 126 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | let conn = conn.await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | assert_eq!(conn.local_addr()?, stream.peer_addr()?); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 139 | let conn: /* Type */ = conn.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::nodelay (line 451) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 464 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 463 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::ttl (line 538) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:542:5 [INFO] [stdout] | [INFO] [stdout] 542 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 551 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 550 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::connect (line 297) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 310 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 309 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/lib.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | let (conn, peer_addr) = listener.accept().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 318 | let stream = connect.await?; [INFO] [stdout] 319 | assert_eq!(peer_addr, conn.peer_addr()?); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 317 | let (conn, peer_addr): (_, _) = listener.accept().await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | let stream = async_net::TcpStream::connect(addr).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | assert_eq!(peer_addr, stream.local_addr()?); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `stream` an explicit type [INFO] [stdout] | [INFO] [stdout] 314 | let stream: /* Type */ = async_net::TcpStream::connect(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::shutdown (line 411) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:415:5 [INFO] [stdout] | [INFO] [stdout] 415 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 424 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 423 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TcpStream::peer_addr (line 370) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `async_net_` [INFO] [stdout] --> src/lib.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | use async_net_ as async_net; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no external crate `async_net_` [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 382 | let listener = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 383 | let addr = listener.local_addr()?; [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `listener` an explicit type [INFO] [stdout] | [INFO] [stdout] 382 | let listener: /* Type */ = async_net::TcpListener::bind(addr).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - TcpListener::accept (line 113) [INFO] [stdout] src/lib.rs - TcpListener::bind (line 59) [INFO] [stdout] src/lib.rs - TcpListener::incoming (line 170) [INFO] [stdout] src/lib.rs - TcpListener::local_addr (line 83) [INFO] [stdout] src/lib.rs - TcpListener::set_ttl (line 252) [INFO] [stdout] src/lib.rs - TcpListener::ttl (line 219) [INFO] [stdout] src/lib.rs - TcpStream::connect (line 297) [INFO] [stdout] src/lib.rs - TcpStream::local_addr (line 332) [INFO] [stdout] src/lib.rs - TcpStream::nodelay (line 451) [INFO] [stdout] src/lib.rs - TcpStream::peer_addr (line 370) [INFO] [stdout] src/lib.rs - TcpStream::set_nodelay (line 497) [INFO] [stdout] src/lib.rs - TcpStream::set_ttl (line 581) [INFO] [stdout] src/lib.rs - TcpStream::shutdown (line 411) [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] src/lib.rs - TcpStream::ttl (line 538) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "de5cc150644fdfb69f345520f6af608e61ebef187bc9d065a5bd08c21a5b2385", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5cc150644fdfb69f345520f6af608e61ebef187bc9d065a5bd08c21a5b2385", kill_on_drop: false }` [INFO] [stdout] de5cc150644fdfb69f345520f6af608e61ebef187bc9d065a5bd08c21a5b2385