[INFO] fetching crate tio 0.1.0... [INFO] testing tio-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tio 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tio 0.1.0 [INFO] finished tweaking crates.io crate tio 0.1.0 [INFO] tweaked toml for crates.io crate tio 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tio 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 88 packages to latest compatible versions [INFO] [stderr] Adding async-task v1.3.1 (available: v4.7.1) [INFO] [stderr] Adding crossbeam-channel v0.4.4 (available: v0.5.15) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (available: v0.8.6) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (available: v0.3.12) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (available: v0.8.21) [INFO] [stderr] Adding mio v0.7.14 (available: v1.0.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-signal v0.2.13 [INFO] [stderr] Downloaded crossbeam-channel v0.4.4 [INFO] [stderr] Downloaded async-process v2.5.0 [INFO] [stderr] Downloaded async-task v1.3.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72fc8e7371eb8182c7788347be94ed7ca55bee088b2efa42d2fefc659d8d289b [INFO] running `Command { std: "docker" "start" "-a" "72fc8e7371eb8182c7788347be94ed7ca55bee088b2efa42d2fefc659d8d289b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72fc8e7371eb8182c7788347be94ed7ca55bee088b2efa42d2fefc659d8d289b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72fc8e7371eb8182c7788347be94ed7ca55bee088b2efa42d2fefc659d8d289b", kill_on_drop: false }` [INFO] [stdout] 72fc8e7371eb8182c7788347be94ed7ca55bee088b2efa42d2fefc659d8d289b [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e3688de5d46fe734f3485ac90df8c32ef83be5e6a3ca29ee527c7f389bf4ce3 [INFO] running `Command { std: "docker" "start" "-a" "8e3688de5d46fe734f3485ac90df8c32ef83be5e6a3ca29ee527c7f389bf4ce3", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tio v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.24s [INFO] running `Command { std: "docker" "inspect" "8e3688de5d46fe734f3485ac90df8c32ef83be5e6a3ca29ee527c7f389bf4ce3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3688de5d46fe734f3485ac90df8c32ef83be5e6a3ca29ee527c7f389bf4ce3", kill_on_drop: false }` [INFO] [stdout] 8e3688de5d46fe734f3485ac90df8c32ef83be5e6a3ca29ee527c7f389bf4ce3 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dce24ee9a01446b7554048a88f2c15a009adf3d14073a0b7bcea7e03b0675442 [INFO] running `Command { std: "docker" "start" "-a" "dce24ee9a01446b7554048a88f2c15a009adf3d14073a0b7bcea7e03b0675442", kill_on_drop: false }` [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling tio v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.23s [INFO] running `Command { std: "docker" "inspect" "dce24ee9a01446b7554048a88f2c15a009adf3d14073a0b7bcea7e03b0675442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dce24ee9a01446b7554048a88f2c15a009adf3d14073a0b7bcea7e03b0675442", kill_on_drop: false }` [INFO] [stdout] dce24ee9a01446b7554048a88f2c15a009adf3d14073a0b7bcea7e03b0675442 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4559684ebead324f2ffe1f59e7151921d146a371ce93aa9dd12deebe36cd05df [INFO] running `Command { std: "docker" "start" "-a" "4559684ebead324f2ffe1f59e7151921d146a371ce93aa9dd12deebe36cd05df", 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/tio-f41cb062258ca995) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test task::spawn::tests::unwind_uncaught ... ok [INFO] [stdout] test task::blocking::tests::unwind_uncaught ... ok [INFO] [stdout] test task::blocking::tests::basic ... ok [INFO] [stdout] test task::block::tests::recursive_block_on - should panic ... ok [INFO] [stdout] test task::blocking::tests::unwind_caught - should panic ... ok [INFO] [stdout] test task::spawn::tests::unwind_caught - should panic ... ok [INFO] [stdout] test task::spawn::tests::basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests tio [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/net/util.rs - net::util::Resolver::resolve (line 20) ... FAILED [INFO] [stdout] test src/task/block.rs - task::block::block_on (line 55) - compile ... ok [INFO] [stdout] test src/task.rs - task (line 22) - compile ... ok [INFO] [stdout] test src/net.rs - net (line 30) - compile ... FAILED [INFO] [stdout] test src/task/yield_now.rs - task::yield_now::yield_now (line 18) ... ok [INFO] [stdout] test src/task.rs - task (line 36) ... ok [INFO] [stdout] test src/task/spawn.rs - task::spawn::spawn (line 97) ... ok [INFO] [stdout] test src/task/blocking.rs - task::blocking::spawn_blocking (line 74) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/net/util.rs - net::util::Resolver::resolve (line 20) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tio::net::TcpStream` [INFO] [stdout] --> src/net/util.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 6 | use tio::net::{TcpStream, Resolver}; [INFO] [stdout] | ^^^^^^^^^ no `TcpStream` in `net` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] std::net::TcpStream [INFO] [stdout] async_std::net::TcpStream [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/net.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "tcp")] [INFO] [stdout] | --------------- the item is gated behind the `tcp` feature [INFO] [stdout] 56 | pub use tcp::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [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/net.rs - net (line 30) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tio::net::UdpSocket` [INFO] [stdout] --> src/net.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tio::net::UdpSocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `UdpSocket` in `net` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/net.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(feature = "udp")] [INFO] [stdout] | --------------- the item is gated behind the `udp` feature [INFO] [stdout] 62 | pub use udp::UdpSocket; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 6 - use tio::net::UdpSocket; [INFO] [stdout] 6 + use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] 6 - use tio::net::UdpSocket; [INFO] [stdout] 6 + use async_std::net::UdpSocket; [INFO] [stdout] | [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] [INFO] [stdout] failures: [INFO] [stdout] src/net.rs - net (line 30) [INFO] [stdout] src/net/util.rs - net::util::Resolver::resolve (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.81s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4559684ebead324f2ffe1f59e7151921d146a371ce93aa9dd12deebe36cd05df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4559684ebead324f2ffe1f59e7151921d146a371ce93aa9dd12deebe36cd05df", kill_on_drop: false }` [INFO] [stdout] 4559684ebead324f2ffe1f59e7151921d146a371ce93aa9dd12deebe36cd05df