[INFO] crate sphinx-rustdocgen 0.6.1 is already in cache [INFO] checking sphinx-rustdocgen-0.6.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sphinx-rustdocgen 0.6.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate sphinx-rustdocgen 0.6.1 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 sphinx-rustdocgen 0.6.1 [INFO] finished tweaking crates.io crate sphinx-rustdocgen 0.6.1 [INFO] tweaked toml for crates.io crate sphinx-rustdocgen 0.6.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate sphinx-rustdocgen 0.6.1 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 250dd913256e80c12444b8f41fcbdbfbf5e4c0b52617c71a1be836a41ec662d2 [INFO] running `Command { std: "docker" "start" "-a" "250dd913256e80c12444b8f41fcbdbfbf5e4c0b52617c71a1be836a41ec662d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "250dd913256e80c12444b8f41fcbdbfbf5e4c0b52617c71a1be836a41ec662d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "250dd913256e80c12444b8f41fcbdbfbf5e4c0b52617c71a1be836a41ec662d2", kill_on_drop: false }` [INFO] [stdout] 250dd913256e80c12444b8f41fcbdbfbf5e4c0b52617c71a1be836a41ec662d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7dc96f4c4954572075588ddf0f3cecae8e75d3ebc5947e3b81c222ed4218bde1 [INFO] running `Command { std: "docker" "start" "-a" "7dc96f4c4954572075588ddf0f3cecae8e75d3ebc5947e3b81c222ed4218bde1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking syn v2.0.76 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking cargo_toml v0.20.4 [INFO] [stderr] Checking sphinx-rustdocgen v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Crate`, `Executable`, and `Module` are never constructed [INFO] [stdout] --> src/directives/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) enum Directive { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 67 | Crate(CrateDirective), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | Enum(EnumDirective), [INFO] [stdout] 69 | Executable(ExecutableDirective), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Module(ModuleDirective), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directive` 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] 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/lib.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 169 | let (crate_dir, manifest) = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Some(m) => m, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | doc_dir: doc_dir.canonicalize().unwrap(), [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/directives/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 292 | items: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | / items [INFO] [stdout] 296 | | .filter_map(|i| Self::from_impl_item(parent_path, i, inherited_visibility)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/mod.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 345 | items: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | / items [INFO] [stdout] 349 | | .filter_map(|i| Self::from_trait_item(parent_path, i, inherited_visibility)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/mod.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 381 | items: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | ) -> Vec { [INFO] [stdout] 383 | / items [INFO] [stdout] 384 | | .filter_map(|i| Self::from_extern_item(parent_path, i)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/macro_directive.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | .any(|a| !a.path().segments.is_empty() && a.path().segments[0].ident == "macro_export"); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/macro_directive.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | .any(|a| !a.path().segments.is_empty() && a.path().segments[0].ident == "macro_export"); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formats.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 560 | fn get_rst_text(self, indent: &str) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | self.into_iter().map(|s| format!("{indent}{s}")).collect() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formats.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 577 | fn get_md_text(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | self.into_iter().map(|s| format!(" {s}")).collect() [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sphinx-rustdocgen` (lib test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Crate`, `Executable`, and `Module` are never constructed [INFO] [stdout] --> src/directives/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) enum Directive { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 67 | Crate(CrateDirective), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | Enum(EnumDirective), [INFO] [stdout] 69 | Executable(ExecutableDirective), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | Module(ModuleDirective), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Directive` 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] 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/lib.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 169 | let (crate_dir, manifest) = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Some(m) => m, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 200 | doc_dir: doc_dir.canonicalize().unwrap(), [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/directives/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 292 | items: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | / items [INFO] [stdout] 296 | | .filter_map(|i| Self::from_impl_item(parent_path, i, inherited_visibility)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/mod.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 345 | items: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 348 | / items [INFO] [stdout] 349 | | .filter_map(|i| Self::from_trait_item(parent_path, i, inherited_visibility)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/mod.rs:383:9 [INFO] [stdout] | [INFO] [stdout] 381 | items: T, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 382 | ) -> Vec { [INFO] [stdout] 383 | / items [INFO] [stdout] 384 | | .filter_map(|i| Self::from_extern_item(parent_path, i)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/macro_directive.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | .any(|a| !a.path().segments.is_empty() && a.path().segments[0].ident == "macro_export"); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/directives/macro_directive.rs:43:55 [INFO] [stdout] | [INFO] [stdout] 43 | .any(|a| !a.path().segments.is_empty() && a.path().segments[0].ident == "macro_export"); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formats.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 560 | fn get_rst_text(self, indent: &str) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | self.into_iter().map(|s| format!("{indent}{s}")).collect() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/formats.rs:578:9 [INFO] [stdout] | [INFO] [stdout] 577 | fn get_md_text(self) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 578 | self.into_iter().map(|s| format!(" {s}")).collect() [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 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sphinx-rustdocgen` (lib) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7dc96f4c4954572075588ddf0f3cecae8e75d3ebc5947e3b81c222ed4218bde1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dc96f4c4954572075588ddf0f3cecae8e75d3ebc5947e3b81c222ed4218bde1", kill_on_drop: false }` [INFO] [stdout] 7dc96f4c4954572075588ddf0f3cecae8e75d3ebc5947e3b81c222ed4218bde1