[INFO] cloning repository https://github.com/Banyc/tokio_conn_pool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Banyc/tokio_conn_pool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyc%2Ftokio_conn_pool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyc%2Ftokio_conn_pool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8454496666bc1960223ca2eb78535fe2fd30cfbe
[INFO] testing Banyc/tokio_conn_pool against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBanyc%2Ftokio_conn_pool" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Banyc/tokio_conn_pool
[INFO] finished tweaking git repo https://github.com/Banyc/tokio_conn_pool
[INFO] tweaked toml for git repo https://github.com/Banyc/tokio_conn_pool written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Banyc/tokio_conn_pool on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Banyc/tokio_conn_pool 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--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] [stderr]     Updating git repository `https://github.com/Banyc/swap.git`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded noop-waker v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da7fc792af3d65fe0d824e9715a88739fb958e3697f8307c05eac25f5a89983a
[INFO] running `Command { std: "docker" "start" "-a" "da7fc792af3d65fe0d824e9715a88739fb958e3697f8307c05eac25f5a89983a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da7fc792af3d65fe0d824e9715a88739fb958e3697f8307c05eac25f5a89983a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da7fc792af3d65fe0d824e9715a88739fb958e3697f8307c05eac25f5a89983a", kill_on_drop: false }`
[INFO] [stdout] da7fc792af3d65fe0d824e9715a88739fb958e3697f8307c05eac25f5a89983a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 195ccd045dba4e906f9cce2deb314dcc12e41224755d0a1e58fd78b1efadd067
[INFO] running `Command { std: "docker" "start" "-a" "195ccd045dba4e906f9cce2deb314dcc12e41224755d0a1e58fd78b1efadd067", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling arc-swap v1.6.0
[INFO] [stderr]    Compiling noop-waker v0.1.0
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling tokio_conn_pool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `tokio::sync::RwLock`, `tokio::task::JoinSet`
[INFO] [stdout]    --> src/lib.rs:8:13
[INFO] [stdout]     |
[INFO] [stdout]   8 | use tokio::{sync::RwLock as TokioRwLock, task::JoinSet};
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^ no `JoinSet` in `task`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             no `RwLock` in `sync`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider importing one of these structs instead:
[INFO] [stdout]             std::sync::RwLock
[INFO] [stdout]             std::sync::nonpoison::RwLock
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.35.1/src/task/mod.rs:351:23
[INFO] [stdout]     |
[INFO] [stdout] 318 | / cfg_rt! {
[INFO] [stdout] 319 | |     pub use crate::runtime::task::{JoinError, JoinHandle};
[INFO] [stdout] 320 | |
[INFO] [stdout] 321 | |     cfg_not_wasi! {
[INFO] [stdout] ...   |
[INFO] [stdout] 351 | |     pub use join_set::JoinSet;
[INFO] [stdout]     | |                       ^^^^^^^
[INFO] [stdout] ...   |
[INFO] [stdout] 373 | | }
[INFO] [stdout]     | |_- the item is gated behind the `rt` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio`
[INFO] [stdout]    --> src/lib.rs:176:24
[INFO] [stdout]     |
[INFO] [stdout] 176 |                 tokio::time::sleep(RETRY_INTERVAL).await;
[INFO] [stdout]     |                        ^^^^ could not find `time` in `tokio`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.35.1/src/lib.rs:550:13
[INFO] [stdout]     |
[INFO] [stdout] 549 | / cfg_time! {
[INFO] [stdout] 550 | |     pub mod time;
[INFO] [stdout]     | |             ^^^^
[INFO] [stdout] 551 | | }
[INFO] [stdout]     | |_- the item is gated behind the `time` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `time` in `tokio`
[INFO] [stdout]    --> src/lib.rs:248:28
[INFO] [stdout]     |
[INFO] [stdout] 248 |                     tokio::time::sleep(heartbeat_interval).await;
[INFO] [stdout]     |                            ^^^^ could not find `time` in `tokio`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.35.1/src/lib.rs:550:13
[INFO] [stdout]     |
[INFO] [stdout] 549 | / cfg_time! {
[INFO] [stdout] 550 | |     pub mod time;
[INFO] [stdout]     | |             ^^^^
[INFO] [stdout] 551 | | }
[INFO] [stdout]     | |_- the item is gated behind the `time` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `sync` is private
[INFO] [stdout]    --> src/lib.rs:8:13
[INFO] [stdout]     |
[INFO] [stdout]   8 | use tokio::{sync::RwLock as TokioRwLock, task::JoinSet};
[INFO] [stdout]     |             ^^^^ private module
[INFO] [stdout]     |
[INFO] [stdout] note: the module `sync` is defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.35.1/src/lib.rs:541:5
[INFO] [stdout]     |
[INFO] [stdout] 541 |     mod sync;
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:211:17
[INFO] [stdout]     |
[INFO] [stdout] 211 |             let ready = match ready {
[INFO] [stdout]     |                 ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 218 |             ready.unwrap().expect("Pool task panicked");
[INFO] [stdout]     |             ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `ready` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 211 |             let ready: /* Type */ = match ready {
[INFO] [stdout]     |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>`
[INFO] [stdout]    --> src/lib.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |             let cell = Arc::clone(&cell);
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |                     let mut cell = cell.write().await;
[INFO] [stdout]     |                                    ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `cell` an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 245 |             let cell: Arc<T, A> = Arc::clone(&cell);
[INFO] [stdout]     |                     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:249:25
[INFO] [stdout]     |
[INFO] [stdout] 249 |                     let mut cell = cell.write().await;
[INFO] [stdout]     |                         ^^^^^^^^
[INFO] [stdout] 250 |                     let conn = match cell.take() {
[INFO] [stdout]     |                                      ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `cell` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 249 |                     let mut cell: /* Type */ = cell.write().await;
[INFO] [stdout]     |                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let mut cell = match self.cell.try_write() {
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 272 |         match cell.take() {
[INFO] [stdout]     |               ---- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `cell` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 268 |         let mut cell: /* Type */ = match self.cell.try_write() {
[INFO] [stdout]     |                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio_conn_pool` (lib) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "195ccd045dba4e906f9cce2deb314dcc12e41224755d0a1e58fd78b1efadd067", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "195ccd045dba4e906f9cce2deb314dcc12e41224755d0a1e58fd78b1efadd067", kill_on_drop: false }`
[INFO] [stdout] 195ccd045dba4e906f9cce2deb314dcc12e41224755d0a1e58fd78b1efadd067
