[INFO] cloning repository https://github.com/Resonious/hook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Resonious/hook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResonious%2Fhook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FResonious%2Fhook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe82c9ccd2bfd9bda622d18ce13b735085f808cc [INFO] checking Resonious/hook/fe82c9ccd2bfd9bda622d18ce13b735085f808cc 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%2FResonious%2Fhook" "/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/Resonious/hook 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/Resonious/hook [INFO] finished tweaking git repo https://github.com/Resonious/hook [INFO] tweaked toml for git repo https://github.com/Resonious/hook written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Resonious/hook 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-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c079b4d7a11ae7f1c920c2291986e8f860990050b44a1eaa42579cf35472381 [INFO] running `Command { std: "docker" "start" "-a" "4c079b4d7a11ae7f1c920c2291986e8f860990050b44a1eaa42579cf35472381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c079b4d7a11ae7f1c920c2291986e8f860990050b44a1eaa42579cf35472381", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c079b4d7a11ae7f1c920c2291986e8f860990050b44a1eaa42579cf35472381", kill_on_drop: false }` [INFO] [stdout] 4c079b4d7a11ae7f1c920c2291986e8f860990050b44a1eaa42579cf35472381 [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 993864c2ad1c2f8a61e8c1f6498ac65fb3a9b79e95ef6bdfcca00daa2fa975c3 [INFO] running `Command { std: "docker" "start" "-a" "993864c2ad1c2f8a61e8c1f6498ac65fb3a9b79e95ef6bdfcca00daa2fa975c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling rustix v0.38.20 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking colored_json v3.3.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking rustls-webpki v0.101.6 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stderr] Compiling askama_derive v0.12.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking tls-listener v0.7.0 [INFO] [stderr] Checking hook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `path` and `last_received` are never read [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Pipe { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | id: Uuid, [INFO] [stdout] 31 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | senders: Vec>, [INFO] [stdout] 33 | last_received: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cert` and `chain` are never read [INFO] [stdout] --> src/tls.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub cert: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub privkey: String, [INFO] [stdout] 11 | pub chain: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, 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/main.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 279 | let mut response = Response::builder(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | response = insert_origin(response, &parts); [INFO] [stdout] 281 | response.body(Body::empty()).unwrap_or_else(|e| { [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/tls.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 52 | let key_file = File::open(&config.privkey)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let mut key_reader = BufReader::new(key_file); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let chain_file = File::open(&config.fullchain)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let mut chain_reader = BufReader::new(chain_file); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(Arc::new( [INFO] [stdout] | ________^ [INFO] [stdout] 75 | | ServerConfig::builder() [INFO] [stdout] 76 | | .with_safe_defaults() [INFO] [stdout] 77 | | .with_no_client_auth() [INFO] [stdout] ... | [INFO] [stdout] 80 | | ) [INFO] [stdout] 81 | | .into()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hook` (bin "hook") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `path` and `last_received` are never read [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Pipe { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | id: Uuid, [INFO] [stdout] 31 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | senders: Vec>, [INFO] [stdout] 33 | last_received: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cert` and `chain` are never read [INFO] [stdout] --> src/tls.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | pub cert: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub privkey: String, [INFO] [stdout] 11 | pub chain: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, 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/main.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 279 | let mut response = Response::builder(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | response = insert_origin(response, &parts); [INFO] [stdout] 281 | response.body(Body::empty()).unwrap_or_else(|e| { [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/tls.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 52 | let key_file = File::open(&config.privkey)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | let mut key_reader = BufReader::new(key_file); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let chain_file = File::open(&config.fullchain)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let mut chain_reader = BufReader::new(chain_file); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(Arc::new( [INFO] [stdout] | ________^ [INFO] [stdout] 75 | | ServerConfig::builder() [INFO] [stdout] 76 | | .with_safe_defaults() [INFO] [stdout] 77 | | .with_no_client_auth() [INFO] [stdout] ... | [INFO] [stdout] 80 | | ) [INFO] [stdout] 81 | | .into()) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hook` (bin "hook" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "993864c2ad1c2f8a61e8c1f6498ac65fb3a9b79e95ef6bdfcca00daa2fa975c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993864c2ad1c2f8a61e8c1f6498ac65fb3a9b79e95ef6bdfcca00daa2fa975c3", kill_on_drop: false }` [INFO] [stdout] 993864c2ad1c2f8a61e8c1f6498ac65fb3a9b79e95ef6bdfcca00daa2fa975c3