[INFO] fetching crate nr-spec-md 0.1.7... [INFO] checking nr-spec-md-0.1.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nr-spec-md 0.1.7 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate nr-spec-md 0.1.7 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 nr-spec-md 0.1.7 [INFO] finished tweaking crates.io crate nr-spec-md 0.1.7 [INFO] tweaked toml for crates.io crate nr-spec-md 0.1.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate nr-spec-md 0.1.7 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-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] 9f7a15716f32854c5f27dd5533e3ba2dc75deaabc39d8f3b389eaa9204656d9f [INFO] running `Command { std: "docker" "start" "-a" "9f7a15716f32854c5f27dd5533e3ba2dc75deaabc39d8f3b389eaa9204656d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f7a15716f32854c5f27dd5533e3ba2dc75deaabc39d8f3b389eaa9204656d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f7a15716f32854c5f27dd5533e3ba2dc75deaabc39d8f3b389eaa9204656d9f", kill_on_drop: false }` [INFO] [stdout] 9f7a15716f32854c5f27dd5533e3ba2dc75deaabc39d8f3b389eaa9204656d9f [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] daf4d3e1f301200e0ee9a6192dd036fae50643278b70cbaf0add8c589d5fa18d [INFO] running `Command { std: "docker" "start" "-a" "daf4d3e1f301200e0ee9a6192dd036fae50643278b70cbaf0add8c589d5fa18d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking winnow v0.5.19 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling nr-spec-md v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] warning: nr-spec-md@0.1.7: This crate is deprecated. Please use `nrdoc`. [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking pulldown-cmark-to-cmark v11.0.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_yaml v0.9.27 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/config.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ConfigFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub metadata: Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigFile` 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] warning: fields `name`, `description`, and `copyright` are never read [INFO] [stdout] --> src/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Metadata { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub copyright: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Build { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | pub source: String, [INFO] [stdout] 35 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Build` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `built_content` is never read [INFO] [stdout] --> src/nav.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NavPage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub built_content: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavPage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/nav.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NavCategory { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 33 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavCategory` has a derived impl for the trait `Debug`, but this is 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:118:8 [INFO] [stdout] | [INFO] [stdout] 116 | let config_file: ConfigFile = toml::from_str(&config_str).context("invalid config")?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | Ok(Config { [INFO] [stdout] | ________^ [INFO] [stdout] 119 | | file: config_file, [INFO] [stdout] 120 | | mode, [INFO] [stdout] 121 | | }) [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] | [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/front_matter.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 194 | fn tagged_value(tag: impl Into, value: impl Into) -> Value { [INFO] [stdout] | ---------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | Value::Tagged(Box::new(TaggedValue { [INFO] [stdout] | ___________________^ [INFO] [stdout] 196 | | tag: Tag::new(tag), [INFO] [stdout] 197 | | value: value.into(), [INFO] [stdout] 198 | | })) [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `metadata` is never read [INFO] [stdout] --> src/config.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ConfigFile { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub metadata: Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigFile` 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] warning: fields `name`, `description`, and `copyright` are never read [INFO] [stdout] --> src/config.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Metadata { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 27 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub copyright: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Build { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | pub source: String, [INFO] [stdout] 35 | pub output: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Build` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `built_content` is never read [INFO] [stdout] --> src/nav.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct NavPage { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub built_content: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavPage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/nav.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct NavCategory { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 33 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NavCategory` has a derived impl for the trait `Debug`, but this is 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:118:8 [INFO] [stdout] | [INFO] [stdout] 116 | let config_file: ConfigFile = toml::from_str(&config_str).context("invalid config")?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | [INFO] [stdout] 118 | Ok(Config { [INFO] [stdout] | ________^ [INFO] [stdout] 119 | | file: config_file, [INFO] [stdout] 120 | | mode, [INFO] [stdout] 121 | | }) [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] | [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/front_matter.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 194 | fn tagged_value(tag: impl Into, value: impl Into) -> Value { [INFO] [stdout] | ---------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 195 | Value::Tagged(Box::new(TaggedValue { [INFO] [stdout] | ___________________^ [INFO] [stdout] 196 | | tag: Tag::new(tag), [INFO] [stdout] 197 | | value: value.into(), [INFO] [stdout] 198 | | })) [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] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: nr-spec-md@0.1.7: This crate is deprecated. Please use `nrdoc`. [INFO] [stderr] [INFO] [stderr] error: could not compile `nr-spec-md` (bin "nr-spec-md" test) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: nr-spec-md@0.1.7: This crate is deprecated. Please use `nrdoc`. [INFO] [stderr] [INFO] [stderr] error: could not compile `nr-spec-md` (bin "nr-spec-md") due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "daf4d3e1f301200e0ee9a6192dd036fae50643278b70cbaf0add8c589d5fa18d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daf4d3e1f301200e0ee9a6192dd036fae50643278b70cbaf0add8c589d5fa18d", kill_on_drop: false }` [INFO] [stdout] daf4d3e1f301200e0ee9a6192dd036fae50643278b70cbaf0add8c589d5fa18d