[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/7799273ca55a9689bbf2913c18cf40ae70d56248 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM1123581E%2Fquic-file" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/M1123581E/quic-file on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.75 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.75 [INFO] [stderr] Downloaded cmd_lib_macros v1.1.0 [INFO] [stderr] Downloaded faccess v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.75 [INFO] [stderr] Downloaded bitflags v1.3.1 [INFO] [stderr] Downloaded os_pipe v0.9.2 [INFO] [stderr] Downloaded js-sys v0.3.52 [INFO] [stderr] Downloaded cmd_lib v1.1.0 [INFO] [stderr] Downloaded cmake v0.1.45 [INFO] [stderr] Downloaded libm v0.2.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.75 [INFO] [stderr] Downloaded libc v0.2.99 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c222d6f194ec68f2ad96904042dce6ec9762a19c6c85c8d3d050de7b6711ead [INFO] running `Command { std: "docker" "start" "-a" "4c222d6f194ec68f2ad96904042dce6ec9762a19c6c85c8d3d050de7b6711ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c222d6f194ec68f2ad96904042dce6ec9762a19c6c85c8d3d050de7b6711ead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c222d6f194ec68f2ad96904042dce6ec9762a19c6c85c8d3d050de7b6711ead", kill_on_drop: false }` [INFO] [stdout] 4c222d6f194ec68f2ad96904042dce6ec9762a19c6c85c8d3d050de7b6711ead [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c2b448e145efe0fdca565ba4abf173fac75607365c5c685afe89a012ec9a8c1 [INFO] running `Command { std: "docker" "start" "-a" "6c2b448e145efe0fdca565ba4abf173fac75607365c5c685afe89a012ec9a8c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking faccess v0.2.3 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling quiche v0.9.0 [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] 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: `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)]` 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)]` 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: `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)]` 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)]` 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)]` on by default [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)]` 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 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 `#[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)]` 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)]` 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 `#[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)]` 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)]` 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)]` on by default [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)]` 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)]` 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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [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)]` 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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [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>) { [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/client2.rs:310:28 [INFO] [stdout] | [INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin>) { [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>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_file_meta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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, mut conn: &mut Pin>) { [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, conn: &mut Pin>, body: Vec, stream_id: u64) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `send_file` [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>) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `send_file_meta` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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, mut conn: &mut Pin>) { [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, conn: &mut Pin>, body: Vec, stream_id: u64) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `send_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [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)]` 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)]` on by default [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)]` 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)]` 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)]` 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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [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)]` 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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [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, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | written: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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, [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: 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, [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | written: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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, [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: 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)]` 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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [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)]` 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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [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>) { [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/client2.rs:310:28 [INFO] [stdout] | [INFO] [stdout] 310 | fn sendFileMeta(url: &Url, mut conn: &mut Pin>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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)]` 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] = note: this warning originates in the macro `cmd_lib::run_cmd` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` 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] = note: this warning originates in the macro `cmd_lib::run_cmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [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: 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: `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: `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: `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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [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] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_written` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0468`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 17 warnings emitted [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 3 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `quic-file` (bin "main" test) due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6c2b448e145efe0fdca565ba4abf173fac75607365c5c685afe89a012ec9a8c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c2b448e145efe0fdca565ba4abf173fac75607365c5c685afe89a012ec9a8c1", kill_on_drop: false }` [INFO] [stdout] 6c2b448e145efe0fdca565ba4abf173fac75607365c5c685afe89a012ec9a8c1