[INFO] fetching crate hexo 0.9.3... [INFO] checking hexo-0.9.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hexo 0.9.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate hexo 0.9.3 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 hexo 0.9.3 [INFO] finished tweaking crates.io crate hexo 0.9.3 [INFO] tweaked toml for crates.io crate hexo 0.9.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate hexo 0.9.3 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] [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-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] 65313630218dee1576a24a0d6d53c6e529ca6470ce259666d1ec6826f48490cc [INFO] running `Command { std: "docker" "start" "-a" "65313630218dee1576a24a0d6d53c6e529ca6470ce259666d1ec6826f48490cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65313630218dee1576a24a0d6d53c6e529ca6470ce259666d1ec6826f48490cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65313630218dee1576a24a0d6d53c6e529ca6470ce259666d1ec6826f48490cc", kill_on_drop: false }` [INFO] [stdout] 65313630218dee1576a24a0d6d53c6e529ca6470ce259666d1ec6826f48490cc [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] 329e39f1ef0bce7675cda47ad9c2b38a8da46d4f1d6fc9117ee7e3f065134af8 [INFO] running `Command { std: "docker" "start" "-a" "329e39f1ef0bce7675cda47ad9c2b38a8da46d4f1d6fc9117ee7e3f065134af8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking hexo v0.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/cli/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/cli/mod.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::byte_buffer::ByteBuffer` [INFO] [stdout] --> src/util/byte_buffer.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | use crate::util::byte_buffer::ByteBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `info` [INFO] [stdout] --> src/util/logger.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | macro_rules! info { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `warning` [INFO] [stdout] --> src/util/logger.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | macro_rules! warning { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warning` [INFO] [stdout] --> src/util/logger.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) use {debug, output, error, info, warning}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `info` [INFO] [stdout] --> src/util/logger.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | macro_rules! info { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `warning` [INFO] [stdout] --> src/util/logger.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | macro_rules! warning { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info` and `warning` [INFO] [stdout] --> src/util/logger.rs:146:39 [INFO] [stdout] | [INFO] [stdout] 146 | pub(crate) use {debug, output, error, info, warning}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `self_path` is never read [INFO] [stdout] --> src/compiler/rst/compilation_context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct CompilationContext { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | self_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `context` are never read [INFO] [stdout] --> src/compiler/rst/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct HexoFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | context: CompilationContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexoFile` 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 `path` and `context` are never used [INFO] [stdout] --> src/compiler/rst/node.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl HexoFile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn context(&self) -> &CompilationContext { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info` and `warn` are never used [INFO] [stdout] --> src/util/logger.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl HexoLogger { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn info(&self, location: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn warn(&self, location: &str, message: &str) { [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/cli/mod.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / File::create(output_file_path) [INFO] [stdout] 187 | | .map_err(Error::CantCrateOutputFile)? [INFO] [stdout] 188 | | .write_all(compilation_result.content.iter().as_slice()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/util/defer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let _deferred = Deferred::new(|| -> () { $e }); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/compiler/hexo_compiler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | ast_parser.parse(source_text.as_str()).map_err(Error::Ast) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/compiler/ast/parser.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | .map_err(|e| Error::Pest(Box::new(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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `self_path` is never read [INFO] [stdout] --> src/compiler/rst/compilation_context.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct CompilationContext { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 30 | self_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `context` are never read [INFO] [stdout] --> src/compiler/rst/node.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) struct HexoFile { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | context: CompilationContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HexoFile` 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 `path` and `context` are never used [INFO] [stdout] --> src/compiler/rst/node.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl HexoFile { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub(crate) fn context(&self) -> &CompilationContext { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hexo` (bin "hexo") due to 4 previous errors; 9 warnings emitted [INFO] [stdout] warning: methods `info` and `warn` are never used [INFO] [stdout] --> src/util/logger.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl HexoLogger { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub(crate) fn info(&self, location: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub(crate) fn warn(&self, location: &str, message: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/cli/mod.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | / File::create(output_file_path) [INFO] [stdout] 187 | | .map_err(Error::CantCrateOutputFile)? [INFO] [stdout] 188 | | .write_all(compilation_result.content.iter().as_slice()) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: src/util/defer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let _deferred = Deferred::new(|| -> () { $e }); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/compiler/hexo_compiler.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | ast_parser.parse(source_text.as_str()).map_err(Error::Ast) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/compiler/ast/parser.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | .map_err(|e| Error::Pest(Box::new(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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hexo` (bin "hexo" test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "329e39f1ef0bce7675cda47ad9c2b38a8da46d4f1d6fc9117ee7e3f065134af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329e39f1ef0bce7675cda47ad9c2b38a8da46d4f1d6fc9117ee7e3f065134af8", kill_on_drop: false }` [INFO] [stdout] 329e39f1ef0bce7675cda47ad9c2b38a8da46d4f1d6fc9117ee7e3f065134af8