[INFO] fetching crate hyperbuild 0.2.4... [INFO] checking hyperbuild-0.2.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hyperbuild 0.2.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate hyperbuild 0.2.4 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 crates.io crate hyperbuild 0.2.4 [INFO] finished tweaking crates.io crate hyperbuild 0.2.4 [INFO] tweaked toml for crates.io crate hyperbuild 0.2.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding esbuild-rs v0.0.5 (latest: v0.13.8) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8c00a17d75bdb484b21328d61bc8a26f1e932b195e8d531a6a14b1f035ca0baf [INFO] running `Command { std: "docker" "start" "-a" "8c00a17d75bdb484b21328d61bc8a26f1e932b195e8d531a6a14b1f035ca0baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c00a17d75bdb484b21328d61bc8a26f1e932b195e8d531a6a14b1f035ca0baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c00a17d75bdb484b21328d61bc8a26f1e932b195e8d531a6a14b1f035ca0baf", kill_on_drop: false }` [INFO] [stdout] 8c00a17d75bdb484b21328d61bc8a26f1e932b195e8d531a6a14b1f035ca0baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ec6ca713db7a91bd59fe234fe74f0c90811edd057c27fde6d488c6e7f8938b25 [INFO] running `Command { std: "docker" "start" "-a" "ec6ca713db7a91bd59fe234fe74f0c90811edd057c27fde6d488c6e7f8938b25", kill_on_drop: false }` [INFO] [stderr] Checking hyperbuild v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_written` is never read [INFO] [stdout] --> src/unit/content.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | last_written = ContentType::Text; [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 `last_written` is never read [INFO] [stdout] --> src/unit/content.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | last_written = ContentType::Text; [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: unused variable: `cfg` [INFO] [stdout] --> src/unit/script.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn process_script(proc: &mut Processor, cfg: &Cfg) -> ProcessingResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/unit/script.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn process_script(proc: &mut Processor, cfg: &Cfg) -> ProcessingResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IsNotChar`, `WhileChar`, `IsPred`, `IsNotPred`, `WhilePred`, and `WhileNotPred` are never constructed [INFO] [stdout] --> src/proc/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum MatchMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | IsChar(u8), [INFO] [stdout] 18 | IsNotChar(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | WhileChar(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | IsPred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | IsNotPred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | WhilePred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | WhileNotPred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IsNotChar`, `WhileChar`, `IsPred`, `IsNotPred`, `WhilePred`, and `WhileNotPred` are never constructed [INFO] [stdout] --> src/proc/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum MatchMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 17 | IsChar(u8), [INFO] [stdout] 18 | IsNotChar(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | WhileChar(u8), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | IsPred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | IsNotPred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | WhilePred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | WhileNotPred(fn(u8) -> bool), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `skip_amount_expect`, `write_utf8`, `accept`, and `accept_amount_expect` are never used [INFO] [stdout] --> src/proc/mod.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'d> Processor<'d> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn skip_amount_expect(&mut self, amount: usize) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn write_utf8(&mut self, c: char) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn accept(&mut self) -> ProcessingResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn accept_amount_expect(&mut self, count: usize) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_written` is never used [INFO] [stdout] --> src/proc/checkpoint.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Checkpoint { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn last_written(&self, proc: &mut Processor) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `skip_amount_expect`, `write_utf8`, `accept`, and `accept_amount_expect` are never used [INFO] [stdout] --> src/proc/mod.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl<'d> Processor<'d> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn skip_amount_expect(&mut self, amount: usize) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | pub fn write_utf8(&mut self, c: char) -> () { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn accept(&mut self) -> ProcessingResult { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn accept_amount_expect(&mut self, count: usize) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_written` is never used [INFO] [stdout] --> src/proc/checkpoint.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Checkpoint { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn last_written(&self, proc: &mut Processor) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_with_js_min` is never used [INFO] [stdout] --> src/tests/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn eval_with_js_min(src: &'static [u8], expected: &'static [u8]) -> () { [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/proc/mod.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 126 | fn _one bool>(&mut self, cond: C) -> usize { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | self._maybe_read_offset(0).filter(|n| cond(*n)).is_some() as usize [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/proc/mod.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 126 | fn _one bool>(&mut self, cond: C) -> usize { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | self._maybe_read_offset(0).filter(|n| cond(*n)).is_some() as usize [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperbuild` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hyperbuild` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ec6ca713db7a91bd59fe234fe74f0c90811edd057c27fde6d488c6e7f8938b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6ca713db7a91bd59fe234fe74f0c90811edd057c27fde6d488c6e7f8938b25", kill_on_drop: false }` [INFO] [stdout] ec6ca713db7a91bd59fe234fe74f0c90811edd057c27fde6d488c6e7f8938b25