[INFO] cloning repository https://github.com/M1123581E/quic-file
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M1123581E/quic-file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1123581E%2Fquic-file", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1123581E%2Fquic-file'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7799273ca55a9689bbf2913c18cf40ae70d56248
[INFO] checking M1123581E/quic-file against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1123581E%2Fquic-file" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/M1123581E/quic-file
[INFO] finished tweaking git repo https://github.com/M1123581E/quic-file
[INFO] tweaked toml for git repo https://github.com/M1123581E/quic-file written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/M1123581E/quic-file on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/M1123581E/quic-file 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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tinyvec v1.3.1
[INFO] [stderr]   Downloaded cmd_lib_macros v1.1.0
[INFO] [stderr]   Downloaded faccess v0.2.3
[INFO] [stderr]   Downloaded os_pipe v0.9.2
[INFO] [stderr]   Downloaded cmd_lib v1.1.0
[INFO] [stderr]   Downloaded bitflags v1.3.1
[INFO] [stderr]   Downloaded web-sys v0.3.52
[INFO] [stderr]   Downloaded quiche v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb9570228d603be8fd3298a5d58b82aca052c787dc14fbe240a07ca5c346eda7
[INFO] running `Command { std: "docker" "start" "-a" "eb9570228d603be8fd3298a5d58b82aca052c787dc14fbe240a07ca5c346eda7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb9570228d603be8fd3298a5d58b82aca052c787dc14fbe240a07ca5c346eda7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb9570228d603be8fd3298a5d58b82aca052c787dc14fbe240a07ca5c346eda7", kill_on_drop: false }`
[INFO] [stdout] eb9570228d603be8fd3298a5d58b82aca052c787dc14fbe240a07ca5c346eda7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cf465ba55af825a7e9e348fb8a4c4f11a526d3511d3d1fb6b6cf102527d5f97f
[INFO] running `Command { std: "docker" "start" "-a" "cf465ba55af825a7e9e348fb8a4c4f11a526d3511d3d1fb6b6cf102527d5f97f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.99
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking tinyvec v1.3.1
[INFO] [stderr]     Checking unicode-bidi v0.3.5
[INFO] [stderr]     Checking bitflags v1.3.1
[INFO] [stderr]     Checking slab v0.4.4
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling cmake v0.1.45
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling quiche v0.9.0
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking os_pipe v0.9.2
[INFO] [stderr]     Checking faccess v0.2.3
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling cmd_lib_macros v1.1.0
[INFO] [stderr]     Checking cmd_lib v1.1.0
[INFO] [stderr]     Checking quic-file v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]   --> src/bin/client2.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern crate log;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]   --> src/bin/server2.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern crate log;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/bin/server2.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::collections::{HashMap, HashSet};
[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 imports: `SeekFrom` and `Seek`
[INFO] [stdout]   --> src/bin/server2.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::io::{Seek, SeekFrom, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]   --> src/bin/client2.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern crate log;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0468]: an `extern crate` loading macros must be at the crate root
[INFO] [stdout]   --> src/bin/server2.rs:28:1
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern crate log;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/bin/client2.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[macro_use]
[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: `std::path::PathBuf`
[INFO] [stdout]   --> src/bin/client2.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::path::PathBuf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:256:23
[INFO] [stdout]     |
[INFO] [stdout] 256 |                     if(content.contains("meta_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 256 -                     if(content.contains("meta_received")) {
[INFO] [stdout] 256 +                     if content.contains("meta_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:261:23
[INFO] [stdout]     |
[INFO] [stdout] 261 |                     if(content.contains("file_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 261 -                     if(content.contains("file_received")) {
[INFO] [stdout] 261 +                     if content.contains("file_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/bin/server2.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek`
[INFO] [stdout]   --> src/bin/server2.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::io::{Seek, SeekFrom, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]   --> src/bin/client2.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::path::PathBuf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:256:23
[INFO] [stdout]     |
[INFO] [stdout] 256 |                     if(content.contains("meta_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 256 -                     if(content.contains("meta_received")) {
[INFO] [stdout] 256 +                     if content.contains("meta_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:261:23
[INFO] [stdout]     |
[INFO] [stdout] 261 |                     if(content.contains("file_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 261 -                     if(content.contains("file_received")) {
[INFO] [stdout] 261 +                     if content.contains("file_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/bin/server2.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::collections::{HashMap, HashSet};
[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 imports: `SeekFrom` and `Seek`
[INFO] [stdout]   --> src/bin/server2.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::io::{Seek, SeekFrom, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]   --> src/bin/client2.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::path::PathBuf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:256:23
[INFO] [stdout]     |
[INFO] [stdout] 256 |                     if(content.contains("meta_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 256 -                     if(content.contains("meta_received")) {
[INFO] [stdout] 256 +                     if content.contains("meta_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:261:23
[INFO] [stdout]     |
[INFO] [stdout] 261 |                     if(content.contains("file_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 261 -                     if(content.contains("file_received")) {
[INFO] [stdout] 261 +                     if content.contains("file_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/bin/client2.rs:27:1
[INFO] [stdout]    |
[INFO] [stdout] 27 | #[macro_use]
[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: `std::path::PathBuf`
[INFO] [stdout]   --> src/bin/client2.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | use std::path::PathBuf;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:256:23
[INFO] [stdout]     |
[INFO] [stdout] 256 |                     if(content.contains("meta_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 256 -                     if(content.contains("meta_received")) {
[INFO] [stdout] 256 +                     if content.contains("meta_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/bin/client2.rs:261:23
[INFO] [stdout]     |
[INFO] [stdout] 261 |                     if(content.contains("file_received")) {
[INFO] [stdout]     |                       ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 261 -                     if(content.contains("file_received")) {
[INFO] [stdout] 261 +                     if content.contains("file_received") {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HashSet`
[INFO] [stdout]   --> src/bin/server2.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 32 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SeekFrom` and `Seek`
[INFO] [stdout]   --> src/bin/server2.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | use std::io::{Seek, SeekFrom, Write};
[INFO] [stdout]    |               ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/bin/client2.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut req_sent = 0;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/client2.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let _written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 325 -     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout] 325 +     let CHUNK_SIZE = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:310:28
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |                            ----^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/bin/client2.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sendFileMeta` should have a snake case name
[INFO] [stdout]    --> src/bin/client2.rs:310:4
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_file_meta`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sendFile0` should have a snake case name
[INFO] [stdout]    --> src/bin/client2.rs:343:4
[INFO] [stdout]     |
[INFO] [stdout] 343 | fn sendFile0(url: &Url, mut partial_responses: &mut HashMap<u64, PartialResponse>, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `send_file0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sendFile` should have a snake case name
[INFO] [stdout]    --> src/bin/client2.rs:368:4
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn sendFile(partial_responses: &mut HashMap<u64, PartialResponse>, conn: &mut Pin<Box<Connection>>, body: Vec<u8>, stream_id: u64) {
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `send_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/bin/client2.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/server2.rs:353:40
[INFO] [stdout]     |
[INFO] [stdout] 353 | ...                   let mut f = OpenOptions::new()
[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: `conn`
[INFO] [stdout]    --> src/bin/server2.rs:572:9
[INFO] [stdout]     |
[INFO] [stdout] 572 |     let conn = &mut client.conn;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]    --> src/bin/server2.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |     let uri = String::from_utf8(uri.to_vec()).unwrap();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream_id`
[INFO] [stdout]    --> src/bin/server2.rs:571:39
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/bin/server2.rs:571:67
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/server2.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let _written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DATAGRAM_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 632 -     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout] 632 +     let MAX_DATAGRAM_SIZE = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut req_sent = 0;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/client2.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let _written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `CHUNK_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 325 -     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout] 325 +     let CHUNK_SIZE = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:310:28
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |                            ----^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `body` and `written` are never read
[INFO] [stdout]   --> src/bin/server2.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct PartialResponse {
[INFO] [stdout]    |        --------------- fields in this struct
[INFO] [stdout] 43 |     body: Vec<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 44 |
[INFO] [stdout] 45 |     written: usize,
[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 `partial_responses` is never read
[INFO] [stdout]   --> src/bin/server2.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Client {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     partial_responses: HashMap<u64, PartialResponse>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/server2.rs:353:40
[INFO] [stdout]     |
[INFO] [stdout] 353 | ...                   let mut f = OpenOptions::new()
[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: function `handle_stream` is never used
[INFO] [stdout]    --> src/bin/server2.rs:571:4
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_writable` is never used
[INFO] [stdout]    --> src/bin/server2.rs:646:4
[INFO] [stdout]     |
[INFO] [stdout] 646 | fn handle_writable(client: &mut Client, stream_id: u64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]    --> src/bin/server2.rs:572:9
[INFO] [stdout]     |
[INFO] [stdout] 572 |     let conn = &mut client.conn;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]    --> src/bin/server2.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |     let uri = String::from_utf8(uri.to_vec()).unwrap();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream_id`
[INFO] [stdout]    --> src/bin/server2.rs:571:39
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/bin/server2.rs:571:67
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/server2.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let _written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DATAGRAM_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 632 -     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout] 632 +     let MAX_DATAGRAM_SIZE = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut req_sent = 0;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `body` and `written` are never read
[INFO] [stdout]   --> src/bin/server2.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | struct PartialResponse {
[INFO] [stdout]    |        --------------- fields in this struct
[INFO] [stdout] 43 |     body: Vec<u8>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 44 |
[INFO] [stdout] 45 |     written: usize,
[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 `partial_responses` is never read
[INFO] [stdout]   --> src/bin/server2.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Client {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |     partial_responses: HashMap<u64, PartialResponse>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_stream` is never used
[INFO] [stdout]    --> src/bin/server2.rs:571:4
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_writable` is never used
[INFO] [stdout]    --> src/bin/server2.rs:646:4
[INFO] [stdout]     |
[INFO] [stdout] 646 | fn handle_writable(client: &mut Client, stream_id: u64) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/client2.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let _written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DATAGRAM_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 325 -     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout] 325 +     let server2::MAX_DATAGRAM_SIZE = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:310:28
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |                            ----^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sendFileMeta` should have a snake case name
[INFO] [stdout]    --> src/bin/client2.rs:310:4
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_file_meta`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sendFile0` should have a snake case name
[INFO] [stdout]    --> src/bin/client2.rs:343:4
[INFO] [stdout]     |
[INFO] [stdout] 343 | fn sendFile0(url: &Url, mut partial_responses: &mut HashMap<u64, PartialResponse>, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `send_file0`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sendFile` should have a snake case name
[INFO] [stdout]    --> src/bin/client2.rs:368:4
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn sendFile(partial_responses: &mut HashMap<u64, PartialResponse>, conn: &mut Pin<Box<Connection>>, body: Vec<u8>, stream_id: u64) {
[INFO] [stdout]     |    ^^^^^^^^ help: convert the identifier to snake case: `send_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/server2.rs:397:29
[INFO] [stdout]     |
[INFO] [stdout] 397 | ...                   received.file.write_all(stream_buf);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 397 |                             let _ = received.file.write_all(stream_buf);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/server2.rs:402:37
[INFO] [stdout]     |
[INFO] [stdout] 402 | ...                   received.file.sync_all();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 402 |                                     let _ = received.file.sync_all();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/server2.rs:408:41
[INFO] [stdout]     |
[INFO] [stdout] 408 | / ...                   cmd_lib::run_cmd! (
[INFO] [stdout] 409 | | ...                       sudo bash -c ${cmd};
[INFO] [stdout] 410 | | ...                   );
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 408 ~                                         let _ = cmd_lib::run_cmd! (
[INFO] [stdout] 409 |                                             sudo bash -c ${cmd};
[INFO] [stdout] 410 ~                                         );;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/server2.rs:397:29
[INFO] [stdout]     |
[INFO] [stdout] 397 | ...                   received.file.write_all(stream_buf);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 397 |                             let _ = received.file.write_all(stream_buf);
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/server2.rs:402:37
[INFO] [stdout]     |
[INFO] [stdout] 402 | ...                   received.file.sync_all();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 402 |                                     let _ = received.file.sync_all();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/server2.rs:408:41
[INFO] [stdout]     |
[INFO] [stdout] 408 | / ...                   cmd_lib::run_cmd! (
[INFO] [stdout] 409 | | ...                       sudo bash -c ${cmd};
[INFO] [stdout] 410 | | ...                   );
[INFO] [stdout]     | |_______________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 408 ~                                         let _ = cmd_lib::run_cmd! (
[INFO] [stdout] 409 |                                             sudo bash -c ${cmd};
[INFO] [stdout] 410 ~                                         );;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/bin/client2.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let mut req_sent = 0;
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:156:9
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let mut n = 10;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/client2.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let _written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DATAGRAM_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 325 -     let written = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout] 325 +     let server2::MAX_DATAGRAM_SIZE = match conn.stream_send(4, body.as_bytes(), true) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/client2.rs:310:28
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin<Box<Connection>>) {
[INFO] [stdout]     |                            ----^^^^
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/server2.rs:353:40
[INFO] [stdout]     |
[INFO] [stdout] 353 | ...                   let mut f = OpenOptions::new()
[INFO] [stdout]     |                           ----^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]    --> src/bin/server2.rs:572:9
[INFO] [stdout]     |
[INFO] [stdout] 572 |     let conn = &mut client.conn;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]    --> src/bin/server2.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |     let uri = String::from_utf8(uri.to_vec()).unwrap();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream_id`
[INFO] [stdout]    --> src/bin/server2.rs:571:39
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/bin/server2.rs:571:67
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/server2.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let _written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DATAGRAM_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 632 -     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout] 632 +     let server2::MAX_DATAGRAM_SIZE = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0468`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quic-file` (bin "main" test) due to 2 previous errors; 17 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/server2.rs:353:40
[INFO] [stdout]     |
[INFO] [stdout] 353 | ...                   let mut f = OpenOptions::new()
[INFO] [stdout]     |                           ----^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn`
[INFO] [stdout]    --> src/bin/server2.rs:572:9
[INFO] [stdout]     |
[INFO] [stdout] 572 |     let conn = &mut client.conn;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_conn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uri`
[INFO] [stdout]    --> src/bin/server2.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |     let uri = String::from_utf8(uri.to_vec()).unwrap();
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_uri`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream_id`
[INFO] [stdout]    --> src/bin/server2.rs:571:39
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/bin/server2.rs:571:67
[INFO] [stdout]     |
[INFO] [stdout] 571 | fn handle_stream(client: &mut Client, stream_id: u64, buf: &[u8], root: &str) {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `written`
[INFO] [stdout]    --> src/bin/server2.rs:632:9
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 632 |     let _written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_DATAGRAM_SIZE`
[INFO] [stdout]     |
[INFO] [stdout] 632 -     let written = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout] 632 +     let server2::MAX_DATAGRAM_SIZE = match conn.stream_send(stream_id, buf, false) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0468`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quic-file` (bin "main") due to 2 previous errors; 17 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cf465ba55af825a7e9e348fb8a4c4f11a526d3511d3d1fb6b6cf102527d5f97f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf465ba55af825a7e9e348fb8a4c4f11a526d3511d3d1fb6b6cf102527d5f97f", kill_on_drop: false }`
[INFO] [stdout] cf465ba55af825a7e9e348fb8a4c4f11a526d3511d3d1fb6b6cf102527d5f97f
