[INFO] cloning repository https://github.com/mpapazekos/rust-simple-http-server-example- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mpapazekos/rust-simple-http-server-example-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpapazekos%2Frust-simple-http-server-example-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpapazekos%2Frust-simple-http-server-example-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78d64a492297a3c90ba26169b3192c6755ca1898 [INFO] checking mpapazekos/rust-simple-http-server-example- against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpapazekos%2Frust-simple-http-server-example-" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpapazekos/rust-simple-http-server-example- on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mpapazekos/rust-simple-http-server-example- [INFO] finished tweaking git repo https://github.com/mpapazekos/rust-simple-http-server-example- [INFO] tweaked toml for git repo https://github.com/mpapazekos/rust-simple-http-server-example- written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mpapazekos/rust-simple-http-server-example- 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22b0ddeb809147ac0f38e5c1d0e60d789ed624870f8f85434bc8ed90d217f81a [INFO] running `Command { std: "docker" "start" "-a" "22b0ddeb809147ac0f38e5c1d0e60d789ed624870f8f85434bc8ed90d217f81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22b0ddeb809147ac0f38e5c1d0e60d789ed624870f8f85434bc8ed90d217f81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b0ddeb809147ac0f38e5c1d0e60d789ed624870f8f85434bc8ed90d217f81a", kill_on_drop: false }` [INFO] [stdout] 22b0ddeb809147ac0f38e5c1d0e60d789ed624870f8f85434bc8ed90d217f81a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a56030545e749b5b364fa6dd8dbf926470955719bd9bb103d0ff87e3de63c50a [INFO] running `Command { std: "docker" "start" "-a" "a56030545e749b5b364fa6dd8dbf926470955719bd9bb103d0ff87e3de63c50a", kill_on_drop: false }` [INFO] [stderr] Checking http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/http/http_headers.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut key = sub_str; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/http/http_headers.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut key = sub_str; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/http_headers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpHeaderMap<'buf> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpHeaderMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/http_headers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpHeaderMap<'buf> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpHeaderMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/http_headers.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'buf> HttpHeaderMap<'buf> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 21 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/http_headers.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'buf> HttpHeaderMap<'buf> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 21 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 13 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 13 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string` and `headers` are never read [INFO] [stdout] --> src/http/request.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string` and `headers` are never read [INFO] [stdout] --> src/http/request.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `http_headers` and `query_string` are never used [INFO] [stdout] --> src/http/request.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn http_headers(&self) -> Option<&HttpHeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `http_headers` and `query_string` are never used [INFO] [stdout] --> src/http/request.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn http_headers(&self) -> Option<&HttpHeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | / &self.thread_pool.assign_mission(move || { [INFO] [stdout] 48 | | let handler = WebSiteHandler::new(cloned_path); [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | mission_details(handler, stream); [INFO] [stdout] 51 | | }); [INFO] [stdout] | |______________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = &self.thread_pool.assign_mission(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | / &self.thread_pool.assign_mission(move || { [INFO] [stdout] 48 | | let handler = WebSiteHandler::new(cloned_path); [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | mission_details(handler, stream); [INFO] [stdout] 51 | | }); [INFO] [stdout] | |______________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = &self.thread_pool.assign_mission(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "a56030545e749b5b364fa6dd8dbf926470955719bd9bb103d0ff87e3de63c50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a56030545e749b5b364fa6dd8dbf926470955719bd9bb103d0ff87e3de63c50a", kill_on_drop: false }` [INFO] [stdout] a56030545e749b5b364fa6dd8dbf926470955719bd9bb103d0ff87e3de63c50a [INFO] checking mpapazekos/rust-simple-http-server-example- against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpapazekos%2Frust-simple-http-server-example-" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpapazekos/rust-simple-http-server-example- on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mpapazekos/rust-simple-http-server-example- [INFO] finished tweaking git repo https://github.com/mpapazekos/rust-simple-http-server-example- [INFO] tweaked toml for git repo https://github.com/mpapazekos/rust-simple-http-server-example- written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mpapazekos/rust-simple-http-server-example- 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bb7c4e3c48f25154541e5e2d77a01dd251fd7de1d399dd3a059c64d55e9007a [INFO] running `Command { std: "docker" "start" "-a" "8bb7c4e3c48f25154541e5e2d77a01dd251fd7de1d399dd3a059c64d55e9007a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bb7c4e3c48f25154541e5e2d77a01dd251fd7de1d399dd3a059c64d55e9007a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb7c4e3c48f25154541e5e2d77a01dd251fd7de1d399dd3a059c64d55e9007a", kill_on_drop: false }` [INFO] [stdout] 8bb7c4e3c48f25154541e5e2d77a01dd251fd7de1d399dd3a059c64d55e9007a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63449c36327e8723b1539d6608a7e46536e0610dd957c87e8bd04345f507069a [INFO] running `Command { std: "docker" "start" "-a" "63449c36327e8723b1539d6608a7e46536e0610dd957c87e8bd04345f507069a", kill_on_drop: false }` [INFO] [stderr] Checking http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/http/http_headers.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut key = sub_str; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key` is never read [INFO] [stdout] --> src/http/http_headers.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let mut key = sub_str; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/http_headers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpHeaderMap<'buf> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpHeaderMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/http_headers.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'buf> HttpHeaderMap<'buf> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 21 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/http_headers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpHeaderMap<'buf> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpHeaderMap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/http_headers.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'buf> HttpHeaderMap<'buf> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 21 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 13 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string` and `headers` are never read [INFO] [stdout] --> src/http/request.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 7 | data: HashMap<&'buf str, MapValueType<'buf>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryString` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 13 | pub fn get(&self, key: &str) -> Option<&MapValueType> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `http_headers` and `query_string` are never used [INFO] [stdout] --> src/http/request.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn http_headers(&self) -> Option<&HttpHeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `query_string` and `headers` are never read [INFO] [stdout] --> src/http/request.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 17 | headers: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | / &self.thread_pool.assign_mission(move || { [INFO] [stdout] 48 | | let handler = WebSiteHandler::new(cloned_path); [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | mission_details(handler, stream); [INFO] [stdout] 51 | | }); [INFO] [stdout] | |______________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = &self.thread_pool.assign_mission(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `http_headers` and `query_string` are never used [INFO] [stdout] --> src/http/request.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn http_headers(&self) -> Option<&HttpHeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn query_string(&self) -> Option<&QueryString> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/server.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | / &self.thread_pool.assign_mission(move || { [INFO] [stdout] 48 | | let handler = WebSiteHandler::new(cloned_path); [INFO] [stdout] 49 | | [INFO] [stdout] 50 | | mission_details(handler, stream); [INFO] [stdout] 51 | | }); [INFO] [stdout] | |______________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = &self.thread_pool.assign_mission(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 60 | fn mission_details(mut handler: impl HttpHandler, mut stream: TcpStream) { [INFO] [stdout] | ----------------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | match stream.read(&mut buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 60 | fn mission_details(mut handler: impl HttpHandler, mut stream: TcpStream) { [INFO] [stdout] | ----------------------------- --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | match stream.read(&mut buffer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/thread_pool.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(id: usize, receiver: Arc>>) -> Self { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/thread_pool.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn new(id: usize, receiver: Arc>>) -> Self { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let thread = thread::spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-server` (bin "http-server" test) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `http-server` (bin "http-server") due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "63449c36327e8723b1539d6608a7e46536e0610dd957c87e8bd04345f507069a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63449c36327e8723b1539d6608a7e46536e0610dd957c87e8bd04345f507069a", kill_on_drop: false }` [INFO] [stdout] 63449c36327e8723b1539d6608a7e46536e0610dd957c87e8bd04345f507069a