[INFO] fetching crate luaudoc 1.0.9... [INFO] checking luaudoc-1.0.9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate luaudoc 1.0.9 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate luaudoc 1.0.9 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 luaudoc 1.0.9 [INFO] finished tweaking crates.io crate luaudoc 1.0.9 [INFO] tweaked toml for crates.io crate luaudoc 1.0.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate luaudoc 1.0.9 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7459e5860a56453decbd5ab558e59a399d3d1804f2c34bdbbb9b64ffb443ed50 [INFO] running `Command { std: "docker" "start" "-a" "7459e5860a56453decbd5ab558e59a399d3d1804f2c34bdbbb9b64ffb443ed50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7459e5860a56453decbd5ab558e59a399d3d1804f2c34bdbbb9b64ffb443ed50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7459e5860a56453decbd5ab558e59a399d3d1804f2c34bdbbb9b64ffb443ed50", kill_on_drop: false }` [INFO] [stdout] 7459e5860a56453decbd5ab558e59a399d3d1804f2c34bdbbb9b64ffb443ed50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 616a3599034e71c1b534d614bd53f42226c9521b462d52772b8257f1486a634f [INFO] running `Command { std: "docker" "start" "-a" "616a3599034e71c1b534d614bd53f42226c9521b462d52772b8257f1486a634f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bytecount v0.6.8 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking codespan-reporting v0.9.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling full_moon_derive v0.11.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking smol_str v0.1.24 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking full_moon v0.18.1 [INFO] [stderr] Checking luaudoc v1.0.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> src/source_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SourceFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | doc_comments: Vec, [INFO] [stdout] 13 | file_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceFile` 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] 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/source_file.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 18 | let ast = full_moon::parse(source).map_err(|e| Error::FullMoonError(e.to_string()))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let mut collector = Collector::new(file_id, &relative_path); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let doc_comments = collector.finish(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 173 | | doc_comments, [INFO] [stdout] 174 | | file_id, [INFO] [stdout] 175 | | }) [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] = 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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luaudoc` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `file_id` is never read [INFO] [stdout] --> src/source_file.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SourceFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | doc_comments: Vec, [INFO] [stdout] 13 | file_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SourceFile` 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] 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/source_file.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 18 | let ast = full_moon::parse(source).map_err(|e| Error::FullMoonError(e.to_string()))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | let mut collector = Collector::new(file_id, &relative_path); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let doc_comments = collector.finish(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | [INFO] [stdout] 172 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 173 | | doc_comments, [INFO] [stdout] 174 | | file_id, [INFO] [stdout] 175 | | }) [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] = 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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `luaudoc` (lib test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "616a3599034e71c1b534d614bd53f42226c9521b462d52772b8257f1486a634f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616a3599034e71c1b534d614bd53f42226c9521b462d52772b8257f1486a634f", kill_on_drop: false }` [INFO] [stdout] 616a3599034e71c1b534d614bd53f42226c9521b462d52772b8257f1486a634f