[INFO] cloning repository https://github.com/lmmqxyx404/tokio_mini
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lmmqxyx404/tokio_mini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Ftokio_mini", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Ftokio_mini'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 18f5af9ce9df1a488d3e26a225f779c9b4456b0a
[INFO] testing lmmqxyx404/tokio_mini against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flmmqxyx404%2Ftokio_mini" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lmmqxyx404/tokio_mini
[INFO] finished tweaking git repo https://github.com/lmmqxyx404/tokio_mini
[INFO] tweaked toml for git repo https://github.com/lmmqxyx404/tokio_mini written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lmmqxyx404/tokio_mini on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lmmqxyx404/tokio_mini 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 940573ded0a1dee11bfc144583614a8cd9944631ba49dbe08ecceafae04e49df
[INFO] running `Command { std: "docker" "start" "-a" "940573ded0a1dee11bfc144583614a8cd9944631ba49dbe08ecceafae04e49df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "940573ded0a1dee11bfc144583614a8cd9944631ba49dbe08ecceafae04e49df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "940573ded0a1dee11bfc144583614a8cd9944631ba49dbe08ecceafae04e49df", kill_on_drop: false }`
[INFO] [stdout] 940573ded0a1dee11bfc144583614a8cd9944631ba49dbe08ecceafae04e49df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] d3bf0bf02b6cb233e6284e37d3e4ee45ec463ee75f1061009414296f50edbecc
[INFO] running `Command { std: "docker" "start" "-a" "d3bf0bf02b6cb233e6284e37d3e4ee45ec463ee75f1061009414296f50edbecc", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.35.1 (/opt/rustwide/workdir/tokio)
[INFO] [stdout] warning: unused macro definition: `cfg_not_test_util`
[INFO] [stdout]   --> tokio/src/macros/cfg.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 | macro_rules! cfg_not_test_util {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `blocking::spawn_blocking`
[INFO] [stdout]  --> tokio/src/runtime/mod.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) use blocking::spawn_blocking;
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Poll`
[INFO] [stdout]  --> tokio/src/runtime/task/raw.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::task::{Poll, Waker};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::state::State`
[INFO] [stdout]   --> tokio/src/runtime/task/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::state::State;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |             'outer: loop {
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::Relaxed`
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         use std::sync::atomic::Ordering::Relaxed;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rt`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:32:47
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stdout]    |                                               ^^ help: if this is intentional, prefix it with an underscore: `_rt`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:32:60
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stdout]    |                                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_cap`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub(crate) fn new(builder: &Builder, thread_cap: usize) -> BlockingPool {
[INFO] [stdout]    |                                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_cap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_tx`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:51:27
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keep_alive`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `KEEP_ALIVE`
[INFO] [stdout]    |
[INFO] [stdout] 52 -         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout] 52 +         let runtime::blocking::pool::KEEP_ALIVE = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let _keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> tokio/src/runtime/handle.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `driver`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         driver: Driver,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `driver_handle`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         driver_handle: driver::Handle,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking_spawner`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         blocking_spawner: blocking::Spawner,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_spawner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `global_queue_interval`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let global_queue_interval = config
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_queue_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking`
[INFO] [stdout]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:115:64
[INFO] [stdout]     |
[INFO] [stdout] 115 |         crate::runtime::context::enter_runtime(handle, false, |blocking| {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> tokio/src/runtime/context/current.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) fn with_current<F, R>(f: F) -> Result<R, TryCurrentError>
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_seed`
[INFO] [stdout]   --> tokio/src/runtime/context/runtime.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let old_seed = rng.replace_seed(rng_seed);
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_seed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_interval`
[INFO] [stdout]   --> tokio/src/runtime/builder.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub(crate) fn new(kind: Kind, event_interval: u32) -> Builder {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seed_generator_1`
[INFO] [stdout]    --> tokio/src/runtime/builder.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let seed_generator_1 = self.seed_generator.next_generator();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seed_generator_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking_pool`
[INFO] [stdout]   --> tokio/src/runtime/runtime.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         blocking_pool: BlockingPool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `io_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stdout]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_io_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signal_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_driver`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (time_driver, time_handle) =
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (time_driver, time_handle) =
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nevents`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:52:37
[INFO] [stdout]    |
[INFO] [stdout] 52 |   fn create_io_stack(enabled: bool, nevents: usize) -> io::Result<(IoStack, IoHandle, SignalHandle)> {
[INFO] [stdout]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nevents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         clock: &Clock,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workers`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         workers: usize,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc`
[INFO] [stdout]   --> tokio/src/util/wake.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let arc: Arc<T> = Arc::from_raw(data as *const T);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc`
[INFO] [stdout]   --> tokio/src/util/wake.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let arc = ManuallyDrop::new(Arc::<T>::from_raw(data.cast()));
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fmt`
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enable_pausing`
[INFO] [stdout]   --> tokio/src/time/clock.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub(crate) fn new(enable_pausing: bool, start_paused: bool) -> Clock {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_pausing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> tokio/src/time/clock.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |       let now = std::time::Instant::now();
[INFO] [stdout]    |           ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> {
[INFO] [stdout]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_blocking` is never used
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) struct Spawner {
[INFO] [stdout]    |                   ------- field in this struct
[INFO] [stdout] 25 |     inner: Arc<Inner>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Spawner` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rx` is never read
[INFO] [stdout]   --> tokio/src/runtime/blocking/shutdown.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(super) struct Receiver {
[INFO] [stdout]    |                   -------- field in this struct
[INFO] [stdout] 11 |     rx: oneshot::Receiver<()>,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `raw` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/join.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub struct JoinHandle<T> {
[INFO] [stdout]   |                ---------- field in this struct
[INFO] [stdout] 6 |         raw: RawTask,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ptr` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/raw.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct RawTask {
[INFO] [stdout]   |                   ------- field in this struct
[INFO] [stdout] 9 |     ptr: NonNull<Header>,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RawTask` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> tokio/src/runtime/task/raw.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(super) struct Vtable {
[INFO] [stdout]    |                   ------ fields in this struct
[INFO] [stdout] 13 |     /// Polls the future.
[INFO] [stdout] 14 |     pub(super) poll: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub(super) schedule: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub(super) dealloc: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(super) try_read_output: unsafe fn(NonNull<Header>, *mut (), &Waker),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(super) drop_join_handle_slow: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(super) drop_abort_handle: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub(super) shutdown: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub(super) trailer_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub(super) scheduler_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub(super) id_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `val` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/state.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) struct State {
[INFO] [stdout]   |                   ----- field in this struct
[INFO] [stdout] 4 |     val: AtomicUsize,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prev` and `depth` are never read
[INFO] [stdout]   --> tokio/src/runtime/context/current.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) struct SetCurrentGuard {
[INFO] [stdout]    |                   --------------- fields in this struct
[INFO] [stdout] 14 |     // The previous handle
[INFO] [stdout] 15 |     prev: Option<scheduler::Handle>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     depth: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SetCurrentGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allow_block_in_place` is never read
[INFO] [stdout]   --> tokio/src/runtime/context/runtime.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 |     Entered { allow_block_in_place: bool },
[INFO] [stdout]    |     -------   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EnterRuntime` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Disabled(ParkThread),
[INFO] [stdout]    |     -------- ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoStack` 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] 41 -     Disabled(ParkThread),
[INFO] [stdout] 41 +     Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Disabled(UnparkThread),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoHandle` 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] 47 -     Disabled(UnparkThread),
[INFO] [stdout] 47 +     Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |       Disabled(IoStack),
[INFO] [stdout]    |       -------- ^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TimeDriver` 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] 79 -       Disabled(IoStack),
[INFO] [stdout] 79 +       Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/runtime/park.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) struct UnparkThread {
[INFO] [stdout]    |                   ------------ field in this struct
[INFO] [stdout] 33 |     inner: Arc<Inner>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnparkThread` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> tokio/src/runtime/coop.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) struct Budget(Option<u8>);
[INFO] [stdout]   |                   ------ ^^^^^^^^^^
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `Budget` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> tokio/src/util/markers.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct SyncNotSend(*mut ());
[INFO] [stdout]   |                   ----------- ^^^^^^^
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]  --> tokio/src/sync/oneshot.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Sender<T> {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 8 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Sender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Inner<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     value: UnsafeCell<Option<T>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Receiver<T> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 27 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pause` is never used
[INFO] [stdout]   --> tokio/src/time/clock.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |   impl Clock {
[INFO] [stdout]    |   ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub(crate) fn pause(&self) -> Result<(), &'static str> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "d3bf0bf02b6cb233e6284e37d3e4ee45ec463ee75f1061009414296f50edbecc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3bf0bf02b6cb233e6284e37d3e4ee45ec463ee75f1061009414296f50edbecc", kill_on_drop: false }`
[INFO] [stdout] d3bf0bf02b6cb233e6284e37d3e4ee45ec463ee75f1061009414296f50edbecc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 5f180c5cfbc86db2f6049f5f126c13b72a570cc5ad6fa635232ff3f68307dd99
[INFO] running `Command { std: "docker" "start" "-a" "5f180c5cfbc86db2f6049f5f126c13b72a570cc5ad6fa635232ff3f68307dd99", kill_on_drop: false }`
[INFO] [stdout] warning: unused macro definition: `cfg_not_test_util`
[INFO] [stdout]   --> tokio/src/macros/cfg.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 | macro_rules! cfg_not_test_util {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `blocking::spawn_blocking`
[INFO] [stdout]  --> tokio/src/runtime/mod.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) use blocking::spawn_blocking;
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Poll`
[INFO] [stdout]  --> tokio/src/runtime/task/raw.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::task::{Poll, Waker};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::state::State`
[INFO] [stdout]   --> tokio/src/runtime/task/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::state::State;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |             'outer: loop {
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::Relaxed`
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         use std::sync::atomic::Ordering::Relaxed;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rt`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:32:47
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stdout]    |                                               ^^ help: if this is intentional, prefix it with an underscore: `_rt`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:32:60
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stdout]    |                                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_cap`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub(crate) fn new(builder: &Builder, thread_cap: usize) -> BlockingPool {
[INFO] [stdout]    |                                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_cap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_tx`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:51:27
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keep_alive`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `KEEP_ALIVE`
[INFO] [stdout]    |
[INFO] [stdout] 52 -         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout] 52 +         let runtime::blocking::pool::KEEP_ALIVE = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let _keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> tokio/src/runtime/handle.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `driver`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         driver: Driver,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `driver_handle`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         driver_handle: driver::Handle,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking_spawner`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         blocking_spawner: blocking::Spawner,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_spawner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `global_queue_interval`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let global_queue_interval = config
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_queue_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking`
[INFO] [stdout]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:115:64
[INFO] [stdout]     |
[INFO] [stdout] 115 |         crate::runtime::context::enter_runtime(handle, false, |blocking| {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling examples v0.0.0 (/opt/rustwide/workdir/examples)
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> tokio/src/runtime/context/current.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) fn with_current<F, R>(f: F) -> Result<R, TryCurrentError>
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tokio v1.35.1 (/opt/rustwide/workdir/tokio)
[INFO] [stdout] warning: unused variable: `old_seed`
[INFO] [stdout]   --> tokio/src/runtime/context/runtime.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let old_seed = rng.replace_seed(rng_seed);
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_seed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_interval`
[INFO] [stdout]   --> tokio/src/runtime/builder.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub(crate) fn new(kind: Kind, event_interval: u32) -> Builder {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seed_generator_1`
[INFO] [stdout]    --> tokio/src/runtime/builder.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let seed_generator_1 = self.seed_generator.next_generator();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seed_generator_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking_pool`
[INFO] [stdout]   --> tokio/src/runtime/runtime.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         blocking_pool: BlockingPool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `io_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stdout]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_io_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signal_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_driver`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (time_driver, time_handle) =
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (time_driver, time_handle) =
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nevents`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:52:37
[INFO] [stdout]    |
[INFO] [stdout] 52 |   fn create_io_stack(enabled: bool, nevents: usize) -> io::Result<(IoStack, IoHandle, SignalHandle)> {
[INFO] [stdout]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nevents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         clock: &Clock,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workers`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         workers: usize,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc`
[INFO] [stdout]   --> tokio/src/util/wake.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let arc: Arc<T> = Arc::from_raw(data as *const T);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc`
[INFO] [stdout]   --> tokio/src/util/wake.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let arc = ManuallyDrop::new(Arc::<T>::from_raw(data.cast()));
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fmt`
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enable_pausing`
[INFO] [stdout]   --> tokio/src/time/clock.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub(crate) fn new(enable_pausing: bool, start_paused: bool) -> Clock {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_pausing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> tokio/src/time/clock.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |       let now = std::time::Instant::now();
[INFO] [stdout]    |           ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> {
[INFO] [stdout]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_blocking` is never used
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) struct Spawner {
[INFO] [stdout]    |                   ------- field in this struct
[INFO] [stdout] 25 |     inner: Arc<Inner>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Spawner` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rx` is never read
[INFO] [stdout]   --> tokio/src/runtime/blocking/shutdown.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(super) struct Receiver {
[INFO] [stdout]    |                   -------- field in this struct
[INFO] [stdout] 11 |     rx: oneshot::Receiver<()>,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `raw` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/join.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub struct JoinHandle<T> {
[INFO] [stdout]   |                ---------- field in this struct
[INFO] [stdout] 6 |         raw: RawTask,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ptr` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/raw.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct RawTask {
[INFO] [stdout]   |                   ------- field in this struct
[INFO] [stdout] 9 |     ptr: NonNull<Header>,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RawTask` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> tokio/src/runtime/task/raw.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(super) struct Vtable {
[INFO] [stdout]    |                   ------ fields in this struct
[INFO] [stdout] 13 |     /// Polls the future.
[INFO] [stdout] 14 |     pub(super) poll: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub(super) schedule: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub(super) dealloc: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(super) try_read_output: unsafe fn(NonNull<Header>, *mut (), &Waker),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(super) drop_join_handle_slow: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(super) drop_abort_handle: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub(super) shutdown: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub(super) trailer_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub(super) scheduler_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub(super) id_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `val` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/state.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) struct State {
[INFO] [stdout]   |                   ----- field in this struct
[INFO] [stdout] 4 |     val: AtomicUsize,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prev` and `depth` are never read
[INFO] [stdout]   --> tokio/src/runtime/context/current.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) struct SetCurrentGuard {
[INFO] [stdout]    |                   --------------- fields in this struct
[INFO] [stdout] 14 |     // The previous handle
[INFO] [stdout] 15 |     prev: Option<scheduler::Handle>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     depth: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SetCurrentGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allow_block_in_place` is never read
[INFO] [stdout]   --> tokio/src/runtime/context/runtime.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 |     Entered { allow_block_in_place: bool },
[INFO] [stdout]    |     -------   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EnterRuntime` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Disabled(ParkThread),
[INFO] [stdout]    |     -------- ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoStack` 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] 41 -     Disabled(ParkThread),
[INFO] [stdout] 41 +     Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Disabled(UnparkThread),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoHandle` 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] 47 -     Disabled(UnparkThread),
[INFO] [stdout] 47 +     Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |       Disabled(IoStack),
[INFO] [stdout]    |       -------- ^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TimeDriver` 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] 79 -       Disabled(IoStack),
[INFO] [stdout] 79 +       Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/runtime/park.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) struct UnparkThread {
[INFO] [stdout]    |                   ------------ field in this struct
[INFO] [stdout] 33 |     inner: Arc<Inner>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnparkThread` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> tokio/src/runtime/coop.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) struct Budget(Option<u8>);
[INFO] [stdout]   |                   ------ ^^^^^^^^^^
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `Budget` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> tokio/src/util/markers.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct SyncNotSend(*mut ());
[INFO] [stdout]   |                   ----------- ^^^^^^^
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]  --> tokio/src/sync/oneshot.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Sender<T> {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 8 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Sender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Inner<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     value: UnsafeCell<Option<T>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Receiver<T> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 27 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pause` is never used
[INFO] [stdout]   --> tokio/src/time/clock.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |   impl Clock {
[INFO] [stdout]    |   ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub(crate) fn pause(&self) -> Result<(), &'static str> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `listener`
[INFO] [stdout]   --> examples/echo.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |         let listener = TcpListener::bind(addr.clone()).await?;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `cfg_not_test_util`
[INFO] [stdout]   --> tokio/src/macros/cfg.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 | macro_rules! cfg_not_test_util {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `blocking::spawn_blocking`
[INFO] [stdout]  --> tokio/src/runtime/mod.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) use blocking::spawn_blocking;
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Poll`
[INFO] [stdout]  --> tokio/src/runtime/task/raw.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::task::{Poll, Waker};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::state::State`
[INFO] [stdout]   --> tokio/src/runtime/task/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use self::state::State;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |             'outer: loop {
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering::Relaxed`
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         use std::sync::atomic::Ordering::Relaxed;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rt`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:32:47
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stdout]    |                                               ^^ help: if this is intentional, prefix it with an underscore: `_rt`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:32:60
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stdout]    |                                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `thread_cap`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:50:42
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub(crate) fn new(builder: &Builder, thread_cap: usize) -> BlockingPool {
[INFO] [stdout]    |                                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_cap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_tx`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `shutdown_rx`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:51:27
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keep_alive`
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `KEEP_ALIVE`
[INFO] [stdout]    |
[INFO] [stdout] 52 -         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout] 52 +         let runtime::blocking::pool::KEEP_ALIVE = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let _keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stdout]    |             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> tokio/src/runtime/handle.rs:114:19
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `driver`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         driver: Driver,
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `driver_handle`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         driver_handle: driver::Handle,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking_spawner`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:76:9
[INFO] [stdout]    |
[INFO] [stdout] 76 |         blocking_spawner: blocking::Spawner,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_spawner`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `global_queue_interval`
[INFO] [stdout]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         let global_queue_interval = config
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_queue_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking`
[INFO] [stdout]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:115:64
[INFO] [stdout]     |
[INFO] [stdout] 115 |         crate::runtime::context::enter_runtime(handle, false, |blocking| {
[INFO] [stdout]     |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]   --> tokio/src/runtime/context/current.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) fn with_current<F, R>(f: F) -> Result<R, TryCurrentError>
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_seed`
[INFO] [stdout]   --> tokio/src/runtime/context/runtime.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |             let old_seed = rng.replace_seed(rng_seed);
[INFO] [stdout]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_seed`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `event_interval`
[INFO] [stdout]   --> tokio/src/runtime/builder.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub(crate) fn new(kind: Kind, event_interval: u32) -> Builder {
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_interval`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seed_generator_1`
[INFO] [stdout]    --> tokio/src/runtime/builder.rs:109:13
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let seed_generator_1 = self.seed_generator.next_generator();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seed_generator_1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `blocking_pool`
[INFO] [stdout]   --> tokio/src/runtime/runtime.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         blocking_pool: BlockingPool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `io_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stdout]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_io_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `signal_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_driver`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (time_driver, time_handle) =
[INFO] [stdout]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_driver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time_handle`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:29:27
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (time_driver, time_handle) =
[INFO] [stdout]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_handle`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nevents`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:52:37
[INFO] [stdout]    |
[INFO] [stdout] 52 |   fn create_io_stack(enabled: bool, nevents: usize) -> io::Result<(IoStack, IoHandle, SignalHandle)> {
[INFO] [stdout]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nevents`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         clock: &Clock,
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `workers`
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:93:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |         workers: usize,
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc`
[INFO] [stdout]   --> tokio/src/util/wake.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let arc: Arc<T> = Arc::from_raw(data as *const T);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `arc`
[INFO] [stdout]   --> tokio/src/util/wake.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |     let arc = ManuallyDrop::new(Arc::<T>::from_raw(data.cast()));
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fmt`
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stdout]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fmt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enable_pausing`
[INFO] [stdout]   --> tokio/src/time/clock.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub(crate) fn new(enable_pausing: bool, start_paused: bool) -> Clock {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_pausing`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `now`
[INFO] [stdout]   --> tokio/src/time/clock.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 |       let now = std::time::Instant::now();
[INFO] [stdout]    |           ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> {
[INFO] [stdout]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_blocking` is never used
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/runtime/blocking/pool.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub(crate) struct Spawner {
[INFO] [stdout]    |                   ------- field in this struct
[INFO] [stdout] 25 |     inner: Arc<Inner>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Spawner` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rx` is never read
[INFO] [stdout]   --> tokio/src/runtime/blocking/shutdown.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub(super) struct Receiver {
[INFO] [stdout]    |                   -------- field in this struct
[INFO] [stdout] 11 |     rx: oneshot::Receiver<()>,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `raw` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/join.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub struct JoinHandle<T> {
[INFO] [stdout]   |                ---------- field in this struct
[INFO] [stdout] 6 |         raw: RawTask,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ptr` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/raw.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub(crate) struct RawTask {
[INFO] [stdout]   |                   ------- field in this struct
[INFO] [stdout] 9 |     ptr: NonNull<Header>,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `RawTask` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> tokio/src/runtime/task/raw.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub(super) struct Vtable {
[INFO] [stdout]    |                   ------ fields in this struct
[INFO] [stdout] 13 |     /// Polls the future.
[INFO] [stdout] 14 |     pub(super) poll: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub(super) schedule: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub(super) dealloc: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub(super) try_read_output: unsafe fn(NonNull<Header>, *mut (), &Waker),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub(super) drop_join_handle_slow: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub(super) drop_abort_handle: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub(super) shutdown: unsafe fn(NonNull<Header>),
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub(super) trailer_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub(super) scheduler_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub(super) id_offset: usize,
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `val` is never read
[INFO] [stdout]  --> tokio/src/runtime/task/state.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(super) struct State {
[INFO] [stdout]   |                   ----- field in this struct
[INFO] [stdout] 4 |     val: AtomicUsize,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `prev` and `depth` are never read
[INFO] [stdout]   --> tokio/src/runtime/context/current.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub(crate) struct SetCurrentGuard {
[INFO] [stdout]    |                   --------------- fields in this struct
[INFO] [stdout] 14 |     // The previous handle
[INFO] [stdout] 15 |     prev: Option<scheduler::Handle>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     depth: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SetCurrentGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `allow_block_in_place` is never read
[INFO] [stdout]   --> tokio/src/runtime/context/runtime.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 |     Entered { allow_block_in_place: bool },
[INFO] [stdout]    |     -------   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EnterRuntime` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:41:14
[INFO] [stdout]    |
[INFO] [stdout] 41 |     Disabled(ParkThread),
[INFO] [stdout]    |     -------- ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoStack` 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] 41 -     Disabled(ParkThread),
[INFO] [stdout] 41 +     Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:47:14
[INFO] [stdout]    |
[INFO] [stdout] 47 |     Disabled(UnparkThread),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IoHandle` 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] 47 -     Disabled(UnparkThread),
[INFO] [stdout] 47 +     Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tokio/src/runtime/driver.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |       Disabled(IoStack),
[INFO] [stdout]    |       -------- ^^^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TimeDriver` 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] 79 -       Disabled(IoStack),
[INFO] [stdout] 79 +       Disabled(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/runtime/park.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub(crate) struct UnparkThread {
[INFO] [stdout]    |                   ------------ field in this struct
[INFO] [stdout] 33 |     inner: Arc<Inner>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UnparkThread` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> tokio/src/runtime/coop.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub(crate) struct Budget(Option<u8>);
[INFO] [stdout]   |                   ------ ^^^^^^^^^^
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout]   = note: `Budget` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> tokio/src/util/markers.rs:3:31
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub(crate) struct SyncNotSend(*mut ());
[INFO] [stdout]   |                   ----------- ^^^^^^^
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   field in this struct
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]  --> tokio/src/sync/oneshot.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Sender<T> {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 8 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Sender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Inner<T> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     value: UnsafeCell<Option<T>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `inner` is never read
[INFO] [stdout]   --> tokio/src/sync/oneshot.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Receiver<T> {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 27 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `pause` is never used
[INFO] [stdout]   --> tokio/src/time/clock.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 10 |   impl Clock {
[INFO] [stdout]    |   ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub(crate) fn pause(&self) -> Result<(), &'static str> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "5f180c5cfbc86db2f6049f5f126c13b72a570cc5ad6fa635232ff3f68307dd99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f180c5cfbc86db2f6049f5f126c13b72a570cc5ad6fa635232ff3f68307dd99", kill_on_drop: false }`
[INFO] [stdout] 5f180c5cfbc86db2f6049f5f126c13b72a570cc5ad6fa635232ff3f68307dd99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 5dabaf5c01185a5f50f48b20ac2727b7bf7ea484bec62195d95731714aeaa2cb
[INFO] running `Command { std: "docker" "start" "-a" "5dabaf5c01185a5f50f48b20ac2727b7bf7ea484bec62195d95731714aeaa2cb", kill_on_drop: false }`
[INFO] [stderr] warning: unused macro definition: `cfg_not_test_util`
[INFO] [stderr]   --> tokio/src/macros/cfg.rs:82:14
[INFO] [stderr]    |
[INFO] [stderr] 82 | macro_rules! cfg_not_test_util {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `blocking::spawn_blocking`
[INFO] [stderr]  --> tokio/src/runtime/mod.rs:3:16
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub(crate) use blocking::spawn_blocking;
[INFO] [stderr]   |                ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Poll`
[INFO] [stderr]  --> tokio/src/runtime/task/raw.rs:2:17
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::task::{Poll, Waker};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `self::state::State`
[INFO] [stderr]   --> tokio/src/runtime/task/mod.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use self::state::State;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused label
[INFO] [stderr]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:181:13
[INFO] [stderr]     |
[INFO] [stderr] 181 |             'outer: loop {
[INFO] [stderr]     |             ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_labels)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::atomic::Ordering::Relaxed`
[INFO] [stderr]   --> tokio/src/sync/oneshot.rs:19:13
[INFO] [stderr]    |
[INFO] [stderr] 19 |         use std::sync::atomic::Ordering::Relaxed;
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rt`
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:32:47
[INFO] [stderr]    |
[INFO] [stderr] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stderr]    |                                               ^^ help: if this is intentional, prefix it with an underscore: `_rt`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `func`
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:32:60
[INFO] [stderr]    |
[INFO] [stderr] 32 |     pub(crate) fn spawn_blocking<F, R>(&self, rt: &Handle, func: F) -> JoinHandle<R>
[INFO] [stderr]    |                                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_func`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `thread_cap`
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:50:42
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub(crate) fn new(builder: &Builder, thread_cap: usize) -> BlockingPool {
[INFO] [stderr]    |                                          ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_cap`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `shutdown_tx`
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:51:14
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stderr]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `shutdown_rx`
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:51:27
[INFO] [stderr]    |
[INFO] [stderr] 51 |         let (shutdown_tx, shutdown_rx) = shutdown::channel();
[INFO] [stderr]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_rx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `keep_alive`
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:52:13
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stderr]    |             ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `KEEP_ALIVE`
[INFO] [stderr]    |
[INFO] [stderr] 52 -         let keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stderr] 52 +         let runtime::blocking::pool::KEEP_ALIVE = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stderr]    |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]    |
[INFO] [stderr] 52 |         let _keep_alive = builder.keep_alive.unwrap_or(KEEP_ALIVE);
[INFO] [stderr]    |             +
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]    --> tokio/src/runtime/handle.rs:114:19
[INFO] [stderr]     |
[INFO] [stderr] 114 |     fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stderr]     |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `driver`
[INFO] [stderr]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |         driver: Driver,
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `driver_handle`
[INFO] [stderr]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:75:9
[INFO] [stderr]    |
[INFO] [stderr] 75 |         driver_handle: driver::Handle,
[INFO] [stderr]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_driver_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `blocking_spawner`
[INFO] [stderr]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:76:9
[INFO] [stderr]    |
[INFO] [stderr] 76 |         blocking_spawner: blocking::Spawner,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_spawner`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `global_queue_interval`
[INFO] [stderr]   --> tokio/src/runtime/scheduler/current_thread/mod.rs:84:13
[INFO] [stderr]    |
[INFO] [stderr] 84 |         let global_queue_interval = config
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_queue_interval`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `blocking`
[INFO] [stderr]    --> tokio/src/runtime/scheduler/current_thread/mod.rs:115:64
[INFO] [stderr]     |
[INFO] [stderr] 115 |         crate::runtime::context::enter_runtime(handle, false, |blocking| {
[INFO] [stderr]     |                                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `f`
[INFO] [stderr]   --> tokio/src/runtime/context/current.rs:32:34
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub(crate) fn with_current<F, R>(f: F) -> Result<R, TryCurrentError>
[INFO] [stderr]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `old_seed`
[INFO] [stderr]   --> tokio/src/runtime/context/runtime.rs:27:17
[INFO] [stderr]    |
[INFO] [stderr] 27 |             let old_seed = rng.replace_seed(rng_seed);
[INFO] [stderr]    |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_seed`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `event_interval`
[INFO] [stderr]   --> tokio/src/runtime/builder.rs:66:35
[INFO] [stderr]    |
[INFO] [stderr] 66 |     pub(crate) fn new(kind: Kind, event_interval: u32) -> Builder {
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_interval`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `seed_generator_1`
[INFO] [stderr]    --> tokio/src/runtime/builder.rs:109:13
[INFO] [stderr]     |
[INFO] [stderr] 109 |         let seed_generator_1 = self.seed_generator.next_generator();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seed_generator_1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `blocking_pool`
[INFO] [stderr]   --> tokio/src/runtime/runtime.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |         blocking_pool: BlockingPool,
[INFO] [stderr]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocking_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `io_handle`
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:25:24
[INFO] [stderr]    |
[INFO] [stderr] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stderr]    |                        ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_io_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `signal_handle`
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:25:35
[INFO] [stderr]    |
[INFO] [stderr] 25 |         let (io_stack, io_handle, signal_handle) = create_io_stack(cfg.enable_io, cfg.nevents)?;
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signal_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `time_driver`
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:29:14
[INFO] [stderr]    |
[INFO] [stderr] 29 |         let (time_driver, time_handle) =
[INFO] [stderr]    |              ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_driver`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `time_handle`
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:29:27
[INFO] [stderr]    |
[INFO] [stderr] 29 |         let (time_driver, time_handle) =
[INFO] [stderr]    |                           ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_handle`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `nevents`
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:52:37
[INFO] [stderr]    |
[INFO] [stderr] 52 |   fn create_io_stack(enabled: bool, nevents: usize) -> io::Result<(IoStack, IoHandle, SignalHandle)> {
[INFO] [stderr]    |                                     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nevents`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `clock`
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:92:9
[INFO] [stderr]    |
[INFO] [stderr] 92 |         clock: &Clock,
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `workers`
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:93:9
[INFO] [stderr]    |
[INFO] [stderr] 93 |         workers: usize,
[INFO] [stderr]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workers`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `arc`
[INFO] [stderr]   --> tokio/src/util/wake.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let arc: Arc<T> = Arc::from_raw(data as *const T);
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `arc`
[INFO] [stderr]   --> tokio/src/util/wake.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 65 |     let arc = ManuallyDrop::new(Arc::<T>::from_raw(data.cast()));
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_arc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `fmt`
[INFO] [stderr]   --> tokio/src/sync/oneshot.rs:18:19
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
[INFO] [stderr]    |                   ^^^ help: if this is intentional, prefix it with an underscore: `_fmt`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `enable_pausing`
[INFO] [stderr]   --> tokio/src/time/clock.rs:13:23
[INFO] [stderr]    |
[INFO] [stderr] 13 |     pub(crate) fn new(enable_pausing: bool, start_paused: bool) -> Clock {
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enable_pausing`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `now`
[INFO] [stderr]   --> tokio/src/time/clock.rs:14:11
[INFO] [stderr]    |
[INFO] [stderr] 14 |       let now = std::time::Instant::now();
[INFO] [stderr]    |           ^^^ help: if this is intentional, prefix it with an underscore: `_now`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `addr`
[INFO] [stderr]   --> tokio/src/net/tcp/listener.rs:52:41
[INFO] [stderr]    |
[INFO] [stderr] 52 |     pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> {
[INFO] [stderr]    |                                         ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stderr] 
[INFO] [stderr] warning: function `spawn_blocking` is never used
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:13:15
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub(crate) fn spawn_blocking<F, R>(func: F) -> JoinHandle<R>
[INFO] [stderr]    |               ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `inner` is never read
[INFO] [stderr]   --> tokio/src/runtime/blocking/pool.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub(crate) struct Spawner {
[INFO] [stderr]    |                   ------- field in this struct
[INFO] [stderr] 25 |     inner: Arc<Inner>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Spawner` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `rx` is never read
[INFO] [stderr]   --> tokio/src/runtime/blocking/shutdown.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub(super) struct Receiver {
[INFO] [stderr]    |                   -------- field in this struct
[INFO] [stderr] 11 |     rx: oneshot::Receiver<()>,
[INFO] [stderr]    |     ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `raw` is never read
[INFO] [stderr]  --> tokio/src/runtime/task/join.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |     pub struct JoinHandle<T> {
[INFO] [stderr]   |                ---------- field in this struct
[INFO] [stderr] 6 |         raw: RawTask,
[INFO] [stderr]   |         ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `ptr` is never read
[INFO] [stderr]  --> tokio/src/runtime/task/raw.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub(crate) struct RawTask {
[INFO] [stderr]   |                   ------- field in this struct
[INFO] [stderr] 9 |     ptr: NonNull<Header>,
[INFO] [stderr]   |     ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `RawTask` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> tokio/src/runtime/task/raw.rs:14:16
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub(super) struct Vtable {
[INFO] [stderr]    |                   ------ fields in this struct
[INFO] [stderr] 13 |     /// Polls the future.
[INFO] [stderr] 14 |     pub(super) poll: unsafe fn(NonNull<Header>),
[INFO] [stderr]    |                ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 17 |     pub(super) schedule: unsafe fn(NonNull<Header>),
[INFO] [stderr]    |                ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub(super) dealloc: unsafe fn(NonNull<Header>),
[INFO] [stderr]    |                ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     pub(super) try_read_output: unsafe fn(NonNull<Header>, *mut (), &Waker),
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     pub(super) drop_join_handle_slow: unsafe fn(NonNull<Header>),
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub(super) drop_abort_handle: unsafe fn(NonNull<Header>),
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub(super) shutdown: unsafe fn(NonNull<Header>),
[INFO] [stderr]    |                ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 35 |     pub(super) trailer_offset: usize,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 38 |     pub(super) scheduler_offset: usize,
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 41 |     pub(super) id_offset: usize,
[INFO] [stderr]    |                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `val` is never read
[INFO] [stderr]  --> tokio/src/runtime/task/state.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub(super) struct State {
[INFO] [stderr]   |                   ----- field in this struct
[INFO] [stderr] 4 |     val: AtomicUsize,
[INFO] [stderr]   |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `prev` and `depth` are never read
[INFO] [stderr]   --> tokio/src/runtime/context/current.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub(crate) struct SetCurrentGuard {
[INFO] [stderr]    |                   --------------- fields in this struct
[INFO] [stderr] 14 |     // The previous handle
[INFO] [stderr] 15 |     prev: Option<scheduler::Handle>,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 18 |     depth: usize,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SetCurrentGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `allow_block_in_place` is never read
[INFO] [stderr]   --> tokio/src/runtime/context/runtime.rs:54:15
[INFO] [stderr]    |
[INFO] [stderr] 54 |     Entered { allow_block_in_place: bool },
[INFO] [stderr]    |     -------   ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `EnterRuntime` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:41:14
[INFO] [stderr]    |
[INFO] [stderr] 41 |     Disabled(ParkThread),
[INFO] [stderr]    |     -------- ^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IoStack` 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] 41 -     Disabled(ParkThread),
[INFO] [stderr] 41 +     Disabled(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:47:14
[INFO] [stderr]    |
[INFO] [stderr] 47 |     Disabled(UnparkThread),
[INFO] [stderr]    |     -------- ^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `IoHandle` 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] 47 -     Disabled(UnparkThread),
[INFO] [stderr] 47 +     Disabled(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> tokio/src/runtime/driver.rs:79:16
[INFO] [stderr]    |
[INFO] [stderr] 79 |       Disabled(IoStack),
[INFO] [stderr]    |       -------- ^^^^^^^
[INFO] [stderr]    |       |
[INFO] [stderr]    |       field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TimeDriver` 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] 79 -       Disabled(IoStack),
[INFO] [stderr] 79 +       Disabled(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `inner` is never read
[INFO] [stderr]   --> tokio/src/runtime/park.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub(crate) struct UnparkThread {
[INFO] [stderr]    |                   ------------ field in this struct
[INFO] [stderr] 33 |     inner: Arc<Inner>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `UnparkThread` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> tokio/src/runtime/coop.rs:6:26
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub(crate) struct Budget(Option<u8>);
[INFO] [stderr]   |                   ------ ^^^^^^^^^^
[INFO] [stderr]   |                   |
[INFO] [stderr]   |                   field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider removing this field
[INFO] [stderr]   = note: `Budget` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]  --> tokio/src/util/markers.rs:3:31
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub(crate) struct SyncNotSend(*mut ());
[INFO] [stderr]   |                   ----------- ^^^^^^^
[INFO] [stderr]   |                   |
[INFO] [stderr]   |                   field in this struct
[INFO] [stderr]   |
[INFO] [stderr]   = help: consider removing this field
[INFO] [stderr] 
[INFO] [stderr] warning: field `inner` is never read
[INFO] [stderr]  --> tokio/src/sync/oneshot.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Sender<T> {
[INFO] [stderr]   |            ------ field in this struct
[INFO] [stderr] 8 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Sender` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `value` is never read
[INFO] [stderr]   --> tokio/src/sync/oneshot.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | struct Inner<T> {
[INFO] [stderr]    |        ----- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 14 |     value: UnsafeCell<Option<T>>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `inner` is never read
[INFO] [stderr]   --> tokio/src/sync/oneshot.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct Receiver<T> {
[INFO] [stderr]    |            -------- field in this struct
[INFO] [stderr] 27 |     inner: Option<Arc<Inner<T>>>,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Receiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `pause` is never used
[INFO] [stderr]   --> tokio/src/time/clock.rs:27:19
[INFO] [stderr]    |
[INFO] [stderr] 10 |   impl Clock {
[INFO] [stderr]    |   ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 27 |     pub(crate) fn pause(&self) -> Result<(), &'static str> {
[INFO] [stderr]    |                   ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `tokio` (lib) generated 55 warnings (run `cargo fix --lib -p tokio` to apply 34 suggestions)
[INFO] [stderr] warning: unused variable: `listener`
[INFO] [stderr]   --> examples/echo.rs:22:13
[INFO] [stderr]    |
[INFO] [stderr] 22 |         let listener = TcpListener::bind(addr.clone()).await?;
[INFO] [stderr]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_listener`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `examples` (example "echo") generated 1 warning (run `cargo fix --example "echo" -p examples` to apply 1 suggestion)
[INFO] [stderr] warning: `tokio` (lib test) generated 55 warnings (55 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/tokio/5784e414c8e31ec0/deps/tokio-5784e414c8e31ec0)
[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 tokio
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test tokio/src/macros/pin.rs - macros::pin::pin (line 27) ... FAILED
[INFO] [stdout] test tokio/src/macros/pin.rs - macros::pin::pin (line 56) - compile fail ... ok
[INFO] [stdout] test tokio/src/macros/pin.rs - macros::pin::pin (line 72) ... FAILED
[INFO] [stdout] test tokio/src/runtime/handle.rs - runtime::handle::Handle::enter (line 47) ... FAILED
[INFO] [stdout] test tokio/src/macros/pin.rs - macros::pin::pin (line 13) - compile fail ... ok
[INFO] [stdout] test tokio/src/runtime/handle.rs - runtime::handle::Handle::enter (line 61) ... FAILED
[INFO] [stdout] test tokio/src/net/tcp/listener.rs - net::tcp::listener::TcpListener (line 26) - compile ... FAILED
[INFO] [stdout] test tokio/src/macros/pin.rs - macros::pin::pin (line 104) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tokio/src/macros/pin.rs - macros::pin::pin (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]   --> tokio/src/macros/pin.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | #[tokio::main]
[INFO] [stdout]    |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> tokio/src/macros/pin.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | async fn main() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- tokio/src/macros/pin.rs - macros::pin::pin (line 72) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio::select`
[INFO] [stdout]   --> tokio/src/macros/pin.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 74 | use tokio::{pin, select};
[INFO] [stdout]    |                  ^^^^^^ no `select` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `tokio_stream`, `tokio_stream`
[INFO] [stdout]   --> tokio/src/macros/pin.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 | use tokio_stream::{self as stream, StreamExt};
[INFO] [stdout]    |     ^^^^^^^^^^^^   ^^^^^^^^^^^^^^ no external crate `tokio_stream`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     use of unresolved module or unlinked crate `tokio_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tokio_stream`, use `cargo add tokio_stream` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]   --> tokio/src/macros/pin.rs:81:10
[INFO] [stdout]    |
[INFO] [stdout] 81 | #[tokio::main]
[INFO] [stdout]    |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> tokio/src/macros/pin.rs:82:1
[INFO] [stdout]    |
[INFO] [stdout] 82 | async fn main() {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- tokio/src/runtime/handle.rs - runtime::handle::Handle::enter (line 47) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio`
[INFO] [stdout]   --> tokio/src/runtime/handle.rs:54:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | tokio::spawn(async {
[INFO] [stdout]    |        ^^^^^ not found in `tokio`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 46 + use std::thread::spawn;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `spawn`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 54 - tokio::spawn(async {
[INFO] [stdout] 54 + spawn(async {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Runtime` in the current scope
[INFO] [stdout]   --> tokio/src/runtime/handle.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 | let rt = Runtime::new().unwrap();
[INFO] [stdout]    |                   ^^^ function or associated item not found in `Runtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- tokio/src/runtime/handle.rs - runtime::handle::Handle::enter (line 61) stdout ----
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Runtime` in the current scope
[INFO] [stdout]   --> tokio/src/runtime/handle.rs:65:20
[INFO] [stdout]    |
[INFO] [stdout] 65 | let rt1 = Runtime::new().unwrap();
[INFO] [stdout]    |                    ^^^ function or associated item not found in `Runtime`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Runtime` in the current scope
[INFO] [stdout]   --> tokio/src/runtime/handle.rs:66:20
[INFO] [stdout]    |
[INFO] [stdout] 66 | let rt2 = Runtime::new().unwrap();
[INFO] [stdout]    |                    ^^^ function or associated item not found in `Runtime`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- tokio/src/net/tcp/listener.rs - net::tcp::listener::TcpListener (line 26) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[tokio::main]
[INFO] [stdout]    |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&str: tokio::net::ToSocketAddrs` is not satisfied
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:39:38
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let listener = TcpListener::bind("127.0.0.1:8080").await?;
[INFO] [stdout]    |                    ----------------- ^^^^^^^^^^^^^^^^ the trait `tokio::net::ToSocketAddrs` is not implemented for `&str`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = note: `&str` implements similarly named trait `std::net::ToSocketAddrs`, but not `tokio::net::ToSocketAddrs`
[INFO] [stdout] help: the trait `tokio::net::ToSocketAddrs` is implemented for `str`
[INFO] [stdout]   --> tokio/src/net/addr.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl ToSocketAddrs for str {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `tokio::net::TcpListener::bind`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ required by this bound in `TcpListener::bind`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&str: tokio::net::ToSocketAddrs` is not satisfied
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let listener = TcpListener::bind("127.0.0.1:8080").await?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tokio::net::ToSocketAddrs` is not implemented for `&str`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `&str` implements similarly named trait `std::net::ToSocketAddrs`, but not `tokio::net::ToSocketAddrs`
[INFO] [stdout] help: the trait `tokio::net::ToSocketAddrs` is implemented for `str`
[INFO] [stdout]   --> tokio/src/net/addr.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl ToSocketAddrs for str {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `tokio::net::TcpListener::bind`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ required by this bound in `TcpListener::bind`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&str: tokio::net::ToSocketAddrs` is not satisfied
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:39:56
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let listener = TcpListener::bind("127.0.0.1:8080").await?;
[INFO] [stdout]    |                                                        ^^^^^ the trait `tokio::net::ToSocketAddrs` is not implemented for `&str`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `&str` implements similarly named trait `std::net::ToSocketAddrs`, but not `tokio::net::ToSocketAddrs`
[INFO] [stdout] help: the trait `tokio::net::ToSocketAddrs` is implemented for `str`
[INFO] [stdout]   --> tokio/src/net/addr.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl ToSocketAddrs for str {}
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: required by a bound in `tokio::net::TcpListener::bind`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:52:26
[INFO] [stdout]    |
[INFO] [stdout] 52 |     pub async fn bind<A: ToSocketAddrs>(addr: A) -> io::Result<TcpListener> {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^ required by this bound in `TcpListener::bind`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `accept` found for struct `tokio::net::TcpListener` in the current scope
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:42:36
[INFO] [stdout]    |
[INFO] [stdout] 42 |         let (socket, _) = listener.accept().await?;
[INFO] [stdout]    |                                    ^^^^^^ method not found in `tokio::net::TcpListener`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> tokio/src/net/tcp/listener.rs:38:1
[INFO] [stdout]    |
[INFO] [stdout] 38 | async fn main() -> io::Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- tokio/src/macros/pin.rs - macros::pin::pin (line 104) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio::select`
[INFO] [stdout]    --> tokio/src/macros/pin.rs:106:18
[INFO] [stdout]     |
[INFO] [stdout] 106 | use tokio::{pin, select};
[INFO] [stdout]     |                  ^^^^^^ no `select` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio`
[INFO] [stdout]    --> tokio/src/macros/pin.rs:112:10
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[tokio::main]
[INFO] [stdout]     |          ^^^^ could not find `main` in `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> tokio/src/macros/pin.rs:113:1
[INFO] [stdout]     |
[INFO] [stdout] 113 | async fn main() {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tokio/src/macros/pin.rs - macros::pin::pin (line 104)
[INFO] [stdout]     tokio/src/macros/pin.rs - macros::pin::pin (line 27)
[INFO] [stdout]     tokio/src/macros/pin.rs - macros::pin::pin (line 72)
[INFO] [stdout]     tokio/src/net/tcp/listener.rs - net::tcp::listener::TcpListener (line 26)
[INFO] [stdout]     tokio/src/runtime/handle.rs - runtime::handle::Handle::enter (line 47)
[INFO] [stdout]     tokio/src/runtime/handle.rs - runtime::handle::Handle::enter (line 61)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `-p tokio --doc`
[INFO] running `Command { std: "docker" "inspect" "5dabaf5c01185a5f50f48b20ac2727b7bf7ea484bec62195d95731714aeaa2cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dabaf5c01185a5f50f48b20ac2727b7bf7ea484bec62195d95731714aeaa2cb", kill_on_drop: false }`
[INFO] [stdout] 5dabaf5c01185a5f50f48b20ac2727b7bf7ea484bec62195d95731714aeaa2cb
