[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] checking preciq/rust_tokio_tokio_official_tutorial_code_minis against try#8ac0915e346f9a2e49ca3951b642c55bd7d1eaab for pr-158447
[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-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis on toolchain 8ac0915e346f9a2e49ca3951b642c55bd7d1eaab
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded smallvec v1.11.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.89
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.89
[INFO] [stderr]   Downloaded proc-macro2 v1.0.70
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.89
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.89
[INFO] [stderr]   Downloaded syn v2.0.41
[INFO] [stderr]   Downloaded js-sys v0.3.66
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.89
[INFO] [stderr]   Downloaded tokio v1.35.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e
[INFO] running `Command { std: "docker" "start" "e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e" "/opt/rustwide/cargo-home/bin/cargo" "+8ac0915e346f9a2e49ca3951b642c55bd7d1eaab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[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]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking atoi v0.3.3
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tokio v1.35.0
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-stream v0.1.14
[INFO] [stderr]     Checking mini-redis v0.4.1
[INFO] [stderr]     Checking tokio_official_tutorial_code_minis v0.1.0 (/opt/rustwide/workdir)
[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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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] 
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Delay` is never constructed
[INFO] [stdout]   --> examples/10_4_internals_of_calling_a_future.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Delay {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MainFuture` is never used
[INFO] [stdout]   --> examples/10_4_internals_of_calling_a_future.rs:33:6
[INFO] [stdout]    |
[INFO] [stdout] 33 | enum MainFuture {
[INFO] [stdout]    |      ^^^^^^^^^^
[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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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] 
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Delay` is never constructed
[INFO] [stdout]   --> examples/10_8_implementing_waker_in_a_future.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | struct Delay {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.29s
[INFO] running `Command { std: "docker" "inspect" "e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e", kill_on_drop: false }`
[INFO] [stdout] e2f3dcb5466a16c69077959a0491432b3f995a0255592973fbb5ae47841a764e
