[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 master#0fb279be1d96464c69209053ef0f97ad63088cda for pr-143857 [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-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/preciq/rust_tokio_tokio_official_tutorial_code_minis on toolchain 0fb279be1d96464c69209053ef0f97ad63088cda [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "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" "+0fb279be1d96464c69209053ef0f97ad63088cda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac3ed43f212cf624a247f1772dfcdcd3311b85b37bda64a0734aed4ad46b1d22 [INFO] running `Command { std: "docker" "start" "-a" "ac3ed43f212cf624a247f1772dfcdcd3311b85b37bda64a0734aed4ad46b1d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac3ed43f212cf624a247f1772dfcdcd3311b85b37bda64a0734aed4ad46b1d22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3ed43f212cf624a247f1772dfcdcd3311b85b37bda64a0734aed4ad46b1d22", kill_on_drop: false }` [INFO] [stdout] ac3ed43f212cf624a247f1772dfcdcd3311b85b37bda64a0734aed4ad46b1d22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0fb279be1d96464c69209053ef0f97ad63088cda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a51f3cc12f547a3894aee259acecce58924aefc8f3c302cd82c9d2671d31fdb5 [INFO] running `Command { std: "docker" "start" "-a" "a51f3cc12f547a3894aee259acecce58924aefc8f3c302cd82c9d2671d31fdb5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking textwrap v0.11.0 [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 atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [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 tracing-serde v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking atoi v0.3.3 [INFO] [stderr] Checking regex v1.10.2 [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 futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing-futures v0.2.5 [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: `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 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: 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 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: 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)]` on by default [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: 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: 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: `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] [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: 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: 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)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.73s [INFO] running `Command { std: "docker" "inspect" "a51f3cc12f547a3894aee259acecce58924aefc8f3c302cd82c9d2671d31fdb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a51f3cc12f547a3894aee259acecce58924aefc8f3c302cd82c9d2671d31fdb5", kill_on_drop: false }` [INFO] [stdout] a51f3cc12f547a3894aee259acecce58924aefc8f3c302cd82c9d2671d31fdb5