[INFO] cloning repository https://github.com/BenCassidy33/HTTP-from-Scratch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenCassidy33/HTTP-from-Scratch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenCassidy33%2FHTTP-from-Scratch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenCassidy33%2FHTTP-from-Scratch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1331fa9903d172ea4348e2cda0f31f9825513945 [INFO] checking BenCassidy33/HTTP-from-Scratch/1331fa9903d172ea4348e2cda0f31f9825513945 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenCassidy33%2FHTTP-from-Scratch" "/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/BenCassidy33/HTTP-from-Scratch on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BenCassidy33/HTTP-from-Scratch [INFO] finished tweaking git repo https://github.com/BenCassidy33/HTTP-from-Scratch [INFO] tweaked toml for git repo https://github.com/BenCassidy33/HTTP-from-Scratch written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BenCassidy33/HTTP-from-Scratch 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 399dea69656fc6002f09f9a5e5bd554ec01736389450435aff81e24dbe6b7f76 [INFO] running `Command { std: "docker" "start" "-a" "399dea69656fc6002f09f9a5e5bd554ec01736389450435aff81e24dbe6b7f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "399dea69656fc6002f09f9a5e5bd554ec01736389450435aff81e24dbe6b7f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399dea69656fc6002f09f9a5e5bd554ec01736389450435aff81e24dbe6b7f76", kill_on_drop: false }` [INFO] [stdout] 399dea69656fc6002f09f9a5e5bd554ec01736389450435aff81e24dbe6b7f76 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a96e52234d1cc0b7f412ca6e8356909c3cdb5b80b728eb0a3910414325fbce7 [INFO] running `Command { std: "docker" "start" "-a" "6a96e52234d1cc0b7f412ca6e8356909c3cdb5b80b728eb0a3910414325fbce7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.39.1 [INFO] [stderr] Checking http_from_scratch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/content.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> src/headers.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{any::Any, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codes::HttpError` [INFO] [stdout] --> src/paths.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | codes::HttpError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/content.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> src/headers.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{any::Any, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codes::HttpError` [INFO] [stdout] --> src/paths.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | codes::HttpError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | HttpStatus::ServerError(code) => code as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | HttpStatus::ServerError(_) => "Error", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/paths.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn call(&self, path: &'static str) -> Result<(), HttpFunctionCallError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `body` are never read [INFO] [stdout] --> src/headers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 52 | header: HttpResponseHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/paths.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn into_http(f: F) -> HttpFunction [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Arc::new(move |req| Box::pin(f(req))) [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/paths.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn into_http(f: F) -> HttpFunction [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Arc::new(move |req| Box::pin(f(req))) [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_from_scratch` (bin "http_from_scratch") due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | HttpStatus::ServerError(code) => code as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/content.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | HttpStatus::ServerError(_) => "Error", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `HttpServerError` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/paths.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | fn call(&self, path: &'static str) -> Result<(), HttpFunctionCallError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header` and `body` are never read [INFO] [stdout] --> src/headers.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 52 | header: HttpResponseHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 53 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/paths.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn into_http(f: F) -> HttpFunction [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Arc::new(move |req| Box::pin(f(req))) [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/paths.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn into_http(f: F) -> HttpFunction [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | Arc::new(move |req| Box::pin(f(req))) [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_from_scratch` (bin "http_from_scratch" test) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6a96e52234d1cc0b7f412ca6e8356909c3cdb5b80b728eb0a3910414325fbce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a96e52234d1cc0b7f412ca6e8356909c3cdb5b80b728eb0a3910414325fbce7", kill_on_drop: false }` [INFO] [stdout] 6a96e52234d1cc0b7f412ca6e8356909c3cdb5b80b728eb0a3910414325fbce7