[INFO] cloning repository https://github.com/gh0stl1m/basic_http_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gh0stl1m/basic_http_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgh0stl1m%2Fbasic_http_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgh0stl1m%2Fbasic_http_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a7de44778e2ffbf1638e2fd33d81e8a21c8e59d [INFO] checking gh0stl1m/basic_http_server against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgh0stl1m%2Fbasic_http_server" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gh0stl1m/basic_http_server 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/gh0stl1m/basic_http_server [INFO] finished tweaking git repo https://github.com/gh0stl1m/basic_http_server [INFO] tweaked toml for git repo https://github.com/gh0stl1m/basic_http_server written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gh0stl1m/basic_http_server 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 55dbc3286dbfb1e4d236559d339e33968387203fe4b2821df415a43973fab4b2 [INFO] running `Command { std: "docker" "start" "-a" "55dbc3286dbfb1e4d236559d339e33968387203fe4b2821df415a43973fab4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55dbc3286dbfb1e4d236559d339e33968387203fe4b2821df415a43973fab4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55dbc3286dbfb1e4d236559d339e33968387203fe4b2821df415a43973fab4b2", kill_on_drop: false }` [INFO] [stdout] 55dbc3286dbfb1e4d236559d339e33968387203fe4b2821df415a43973fab4b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7ab507c50000757bd6dc37635c1b429016391590150a7062047d25031f198d9b [INFO] running `Command { std: "docker" "start" "-a" "7ab507c50000757bd6dc37635c1b429016391590150a7062047d25031f198d9b", kill_on_drop: false }` [INFO] [stderr] Checking basic_http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `method::Method` [INFO] [stdout] --> src/http/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use method::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Result as FmtResult` [INFO] [stdout] --> src/http/response.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Result as FmtResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `method::Method` [INFO] [stdout] --> src/http/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use method::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Result as FmtResult` [INFO] [stdout] --> src/http/response.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Result as FmtResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn from(error: MethodError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn from(error: Utf8Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn from(error: MethodError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn from(error: Utf8Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/website_handler.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn handle_request(&mut self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/website_handler.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn handle_request(&mut self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: &'buf str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: &'buf str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | data: HashMap<&'buf str, Value<'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:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | data: HashMap<&'buf str, Value<'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:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 18 | [INFO] [stdout] 19 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/http/query_string.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 18 | [INFO] [stdout] 19 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/http/status_code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/http/status_code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] running `Command { std: "docker" "inspect" "7ab507c50000757bd6dc37635c1b429016391590150a7062047d25031f198d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab507c50000757bd6dc37635c1b429016391590150a7062047d25031f198d9b", kill_on_drop: false }` [INFO] [stdout] 7ab507c50000757bd6dc37635c1b429016391590150a7062047d25031f198d9b [INFO] checking gh0stl1m/basic_http_server 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%2Fgh0stl1m%2Fbasic_http_server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gh0stl1m/basic_http_server 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/gh0stl1m/basic_http_server [INFO] finished tweaking git repo https://github.com/gh0stl1m/basic_http_server [INFO] tweaked toml for git repo https://github.com/gh0stl1m/basic_http_server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gh0stl1m/basic_http_server 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 355493850e9e220bc5dce0fc2c86dfe2591af98e37bbfd584b98b27e3b090115 [INFO] running `Command { std: "docker" "start" "-a" "355493850e9e220bc5dce0fc2c86dfe2591af98e37bbfd584b98b27e3b090115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "355493850e9e220bc5dce0fc2c86dfe2591af98e37bbfd584b98b27e3b090115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "355493850e9e220bc5dce0fc2c86dfe2591af98e37bbfd584b98b27e3b090115", kill_on_drop: false }` [INFO] [stdout] 355493850e9e220bc5dce0fc2c86dfe2591af98e37bbfd584b98b27e3b090115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 41b466ce4a0076db82d381648b2d5a48ec7d11e3baa63168259133a19908932e [INFO] running `Command { std: "docker" "start" "-a" "41b466ce4a0076db82d381648b2d5a48ec7d11e3baa63168259133a19908932e", kill_on_drop: false }` [INFO] [stderr] Checking basic_http_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `method::Method` [INFO] [stdout] --> src/http/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use method::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Result as FmtResult` [INFO] [stdout] --> src/http/response.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Result as FmtResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `method::Method` [INFO] [stdout] --> src/http/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use method::Method; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value as QueryStringValue` [INFO] [stdout] --> src/http/mod.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub use query_string::{QueryString, Value as QueryStringValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter`, and `Result as FmtResult` [INFO] [stdout] --> src/http/response.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Display, Formatter, Result as FmtResult}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn from(error: MethodError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn from(error: Utf8Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/http/request.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/website_handler.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn handle_request(&mut self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: &'buf str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | data: HashMap<&'buf str, Value<'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:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 18 | [INFO] [stdout] 19 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/http/status_code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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:51:11 [INFO] [stdout] | [INFO] [stdout] 49 | fn handle_connection(mut stream: TcpStream, mut buffer: [u8; 1024], mut handler: impl Handler) { [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] 50 | [INFO] [stdout] 51 | 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] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | fn from(error: MethodError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/http/request.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | fn from(error: Utf8Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/website_handler.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | fn handle_request(&mut self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path`, `query_string`, and `method` are never read [INFO] [stdout] --> src/http/request.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Request<'buf> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | path: &'buf str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | query_string: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | method: Method [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_byte_array` is never used [INFO] [stdout] --> src/http/request.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> Request<'buf> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 18 | fn from_byte_array(buf: &'buf [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/http/query_string.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct QueryString<'buf> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | data: HashMap<&'buf str, Value<'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:19:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'buf> QueryString<'buf> { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 18 | [INFO] [stdout] 19 | pub fn get(&self, key: &str) -> Option<&Value> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/http/status_code.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum StatusCode { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | NotFound = 404, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StatusCode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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:51:11 [INFO] [stdout] | [INFO] [stdout] 49 | fn handle_connection(mut stream: TcpStream, mut buffer: [u8; 1024], mut handler: impl Handler) { [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] 50 | [INFO] [stdout] 51 | 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] [stderr] error: could not compile `basic_http_server` (bin "basic_http_server" test) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `basic_http_server` (bin "basic_http_server") due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "41b466ce4a0076db82d381648b2d5a48ec7d11e3baa63168259133a19908932e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b466ce4a0076db82d381648b2d5a48ec7d11e3baa63168259133a19908932e", kill_on_drop: false }` [INFO] [stdout] 41b466ce4a0076db82d381648b2d5a48ec7d11e3baa63168259133a19908932e