[INFO] cloning repository https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreciq%2Frust_tokio_tokio_official_tutorial_code_minis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreciq%2Frust_tokio_tokio_official_tutorial_code_minis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d46d826b3f96594b88ffc41a47fd697b5ab2211 [INFO] testing preciq/rust_tokio_tokio_official_tutorial_code_minis against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpreciq%2Frust_tokio_tokio_official_tutorial_code_minis" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis [INFO] finished tweaking git repo https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis [INFO] tweaked toml for git repo https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b3e88e2d6b2b9b2065669cbe76053f268fb76e6108071835aac02d2b74de0ce [INFO] running `Command { std: "docker" "start" "-a" "6b3e88e2d6b2b9b2065669cbe76053f268fb76e6108071835aac02d2b74de0ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b3e88e2d6b2b9b2065669cbe76053f268fb76e6108071835aac02d2b74de0ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b3e88e2d6b2b9b2065669cbe76053f268fb76e6108071835aac02d2b74de0ce", kill_on_drop: false }` [INFO] [stdout] 6b3e88e2d6b2b9b2065669cbe76053f268fb76e6108071835aac02d2b74de0ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e1437c30214bd0866cfb318e9848f1faf1db2f0634441742bb02b434214c581 [INFO] running `Command { std: "docker" "start" "-a" "3e1437c30214bd0866cfb318e9848f1faf1db2f0634441742bb02b434214c581", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling tokio v1.35.0 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling tokio_official_tutorial_code_minis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/bin/client.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | response [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `response: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_from_manager` [INFO] [stdout] --> src/bin/client.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | let (send_to_task, receive_from_manager) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_from_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.36s [INFO] running `Command { std: "docker" "inspect" "3e1437c30214bd0866cfb318e9848f1faf1db2f0634441742bb02b434214c581", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1437c30214bd0866cfb318e9848f1faf1db2f0634441742bb02b434214c581", kill_on_drop: false }` [INFO] [stdout] 3e1437c30214bd0866cfb318e9848f1faf1db2f0634441742bb02b434214c581 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be332caa0d69d2034b3f6248d31974ca8572e633f0cfb730f714f147ad69dedd [INFO] running `Command { std: "docker" "start" "-a" "be332caa0d69d2034b3f6248d31974ca8572e633f0cfb730f714f147ad69dedd", kill_on_drop: false }` [INFO] [stderr] Compiling tokio_official_tutorial_code_minis v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tx1` [INFO] [stdout] --> examples/11_3_implementation_of_the_select_macro.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | let (tx1, rx1) = oneshot::channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx2` [INFO] [stdout] --> examples/11_3_implementation_of_the_select_macro.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | let (tx2, rx2) = oneshot::channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/11_6_select_on_a_tcp_listener_connection_vs_oneshot.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 33 | / loop { [INFO] [stdout] 34 | | let (socket, _) = listener.accept().await?; [INFO] [stdout] 35 | | tokio::spawn(async move { process(socket) }); [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 39 | Ok::<_, io::Error>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/11_6_select_on_a_tcp_listener_connection_vs_oneshot.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut listener = TcpListener::bind("localhost:3465").await?; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx1` [INFO] [stdout] --> examples/11_11_looping_over_multiple_channels_with_select.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | let (tx1, mut rx1) = mpsc::channel(128); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx2` [INFO] [stdout] --> examples/11_11_looping_over_multiple_channels_with_select.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx2, mut rx2) = mpsc::channel(128); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx3` [INFO] [stdout] --> examples/11_11_looping_over_multiple_channels_with_select.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx3, mut rx3) = mpsc::channel(128); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/bin/client.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | response [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `response: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_from_manager` [INFO] [stdout] --> src/bin/client.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | let (send_to_task, receive_from_manager) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_from_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/10_8_implementing_waker_in_a_future.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `State0` is never constructed [INFO] [stdout] --> examples/10_4_internals_of_calling_a_future.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum MainFuture { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 34 | // Initialized, never polled [INFO] [stdout] 35 | State0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/11_8_error_handling_in_select.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 36 | / loop { [INFO] [stdout] 37 | | let (socket, _) = listener.accept().await?; [INFO] [stdout] 38 | | tokio::spawn(async move { process(socket) }); [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 42 | Ok::<_, io::Error>(()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/11_12_resuming_a_branch_via_conditions_in_handler.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut tx, mut rx) = tokio::sync::mpsc::channel(128); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> examples/7_3_client_use_with_6_2_server_two_way_communication_with_mpsc_and_oneshot.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | response [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `response: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receive_from_manager` [INFO] [stdout] --> examples/7_3_client_use_with_6_2_server_two_way_communication_with_mpsc_and_oneshot.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | let (send_to_task, receive_from_manager) = oneshot::channel(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_from_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.29s [INFO] running `Command { std: "docker" "inspect" "be332caa0d69d2034b3f6248d31974ca8572e633f0cfb730f714f147ad69dedd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be332caa0d69d2034b3f6248d31974ca8572e633f0cfb730f714f147ad69dedd", kill_on_drop: false }` [INFO] [stdout] be332caa0d69d2034b3f6248d31974ca8572e633f0cfb730f714f147ad69dedd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c66e607100024a21dd12f140162a2b43739fb521466a37d270930a94311a6f3f [INFO] running `Command { std: "docker" "start" "-a" "c66e607100024a21dd12f140162a2b43739fb521466a37d270930a94311a6f3f", kill_on_drop: false }` [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> examples/11_8_error_handling_in_select.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 36 | / loop { [INFO] [stderr] 37 | | let (socket, _) = listener.accept().await?; [INFO] [stderr] 38 | | tokio::spawn(async move { process(socket) }); [INFO] [stderr] 39 | | } [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 42 | Ok::<_, io::Error>(()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "11_8_error_handling_in_select") generated 1 warning [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/11_12_resuming_a_branch_via_conditions_in_handler.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | let (mut tx, mut rx) = tokio::sync::mpsc::channel(128); [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> src/bin/client.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | response [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `response: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `receive_from_manager` [INFO] [stderr] --> src/bin/client.rs:93:28 [INFO] [stderr] | [INFO] [stderr] 93 | let (send_to_task, receive_from_manager) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_from_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx1` [INFO] [stderr] --> examples/11_3_implementation_of_the_select_macro.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | let (tx1, rx1) = oneshot::channel(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx2` [INFO] [stderr] --> examples/11_3_implementation_of_the_select_macro.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | let (tx2, rx2) = oneshot::channel(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx2` [INFO] [stderr] [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "11_12_resuming_a_branch_via_conditions_in_handler") generated 1 warning (run `cargo fix --example "11_12_resuming_a_branch_via_conditions_in_handler"` to apply 1 suggestion) [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (bin "client" test) generated 2 warnings [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "11_3_implementation_of_the_select_macro") generated 2 warnings [INFO] [stderr] warning: variant `State0` is never constructed [INFO] [stderr] --> examples/10_4_internals_of_calling_a_future.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 33 | enum MainFuture { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] 34 | // Initialized, never polled [INFO] [stderr] 35 | State0, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "10_4_internals_of_calling_a_future") generated 1 warning [INFO] [stderr] warning: unused variable: `tx1` [INFO] [stderr] --> examples/11_11_looping_over_multiple_channels_with_select.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | let (tx1, mut rx1) = mpsc::channel(128); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx2` [INFO] [stderr] --> examples/11_11_looping_over_multiple_channels_with_select.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | let (tx2, mut rx2) = mpsc::channel(128); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tx3` [INFO] [stderr] --> examples/11_11_looping_over_multiple_channels_with_select.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | let (tx3, mut rx3) = mpsc::channel(128); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tx3` [INFO] [stderr] [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "11_11_looping_over_multiple_channels_with_select") generated 3 warnings [INFO] [stderr] warning: unused variable: `response` [INFO] [stderr] --> examples/7_3_client_use_with_6_2_server_two_way_communication_with_mpsc_and_oneshot.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | response [INFO] [stderr] | ^^^^^^^^ help: try ignoring the field: `response: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `receive_from_manager` [INFO] [stderr] --> examples/7_3_client_use_with_6_2_server_two_way_communication_with_mpsc_and_oneshot.rs:87:28 [INFO] [stderr] | [INFO] [stderr] 87 | let (send_to_task, receive_from_manager) = oneshot::channel(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receive_from_manager` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> examples/10_8_implementing_waker_in_a_future.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> examples/11_6_select_on_a_tcp_listener_connection_vs_oneshot.rs:39:13 [INFO] [stderr] | [INFO] [stderr] 33 | / loop { [INFO] [stderr] 34 | | let (socket, _) = listener.accept().await?; [INFO] [stderr] 35 | | tokio::spawn(async move { process(socket) }); [INFO] [stderr] 36 | | } [INFO] [stderr] | |_____________- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 39 | Ok::<_, io::Error>(()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/11_6_select_on_a_tcp_listener_connection_vs_oneshot.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | let mut listener = TcpListener::bind("localhost:3465").await?; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "7_3_client_use_with_6_2_server_two_way_communication_with_mpsc_and_oneshot") generated 2 warnings [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "10_8_implementing_waker_in_a_future") generated 1 warning (run `cargo fix --example "10_8_implementing_waker_in_a_future"` to apply 1 suggestion) [INFO] [stderr] warning: `tokio_official_tutorial_code_minis` (example "11_6_select_on_a_tcp_listener_connection_vs_oneshot") generated 2 warnings (run `cargo fix --example "11_6_select_on_a_tcp_listener_connection_vs_oneshot"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/bin/client.rs (/opt/rustwide/target/debug/deps/client-d8b86228d1321d66) [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] Running unittests src/bin/echo-client-copy.rs (/opt/rustwide/target/debug/deps/echo_client_copy-9f12da0a62db3a58) [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] Running unittests src/bin/echo-server-copy.rs (/opt/rustwide/target/debug/deps/echo_server_copy-b832edff26859f38) [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] Running unittests src/bin/echo-server-manually-without-copy.rs (/opt/rustwide/target/debug/deps/echo_server_manually_without_copy-3030fe60642919f6) [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] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-adc5058fba25037f) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/server.rs (/opt/rustwide/target/debug/deps/server-90586098c5e958ad) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 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] running `Command { std: "docker" "inspect" "c66e607100024a21dd12f140162a2b43739fb521466a37d270930a94311a6f3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66e607100024a21dd12f140162a2b43739fb521466a37d270930a94311a6f3f", kill_on_drop: false }` [INFO] [stdout] c66e607100024a21dd12f140162a2b43739fb521466a37d270930a94311a6f3f