[INFO] fetching crate ptree2 1.0.0... [INFO] checking ptree2-1.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ptree2 1.0.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ptree2 1.0.0 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 ptree2 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ptree2 1.0.0 [INFO] tweaked toml for crates.io crate ptree2 1.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate ptree2 1.0.0 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] dbd758f64b2b682416eda5f81da12b27917fe04b3e1a450a99998204221f4586 [INFO] running `Command { std: "docker" "start" "-a" "dbd758f64b2b682416eda5f81da12b27917fe04b3e1a450a99998204221f4586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbd758f64b2b682416eda5f81da12b27917fe04b3e1a450a99998204221f4586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbd758f64b2b682416eda5f81da12b27917fe04b3e1a450a99998204221f4586", kill_on_drop: false }` [INFO] [stdout] dbd758f64b2b682416eda5f81da12b27917fe04b3e1a450a99998204221f4586 [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] fed6076ec85a2c7f73d0d92ebcd1879247ce3bf67c18ac4449e83687f4f29c96 [INFO] running `Command { std: "docker" "start" "-a" "fed6076ec85a2c7f73d0d92ebcd1879247ce3bf67c18ac4449e83687f4f29c96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking object v0.36.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking winnow v0.6.16 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking xml-rs v0.6.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking tint v1.0.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking serde v1.0.204 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking toml_datetime v0.6.7 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking ron v0.3.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde-xml-any v0.0.3 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.17 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking serde_any v0.5.0 [INFO] [stderr] Checking toml v0.8.16 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking version-sync v0.9.5 [INFO] [stderr] Checking ptree2 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `config::Config::merge`: please use 'ConfigBuilder' instead [INFO] [stdout] --> src/print_config.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | settings.merge(config::File::with_name(&p)).ok()?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `config::Config::merge`: please use 'ConfigBuilder' instead [INFO] [stdout] --> src/print_config.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | settings.merge(config::File::with_name(f.to_str()?)).ok()?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `config::Config::merge`: please use 'ConfigBuilder' instead [INFO] [stdout] --> src/print_config.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | .merge(config::Environment::with_prefix("PTREE").separator("_")) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `config::Config::merge`: please use 'ConfigBuilder' instead [INFO] [stdout] --> src/print_config.rs:108:22 [INFO] [stdout] | [INFO] [stdout] 108 | settings.merge(config::File::with_name(&p)).ok()?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `config::Config::merge`: please use 'ConfigBuilder' instead [INFO] [stdout] --> src/print_config.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | settings.merge(config::File::with_name(f.to_str()?)).ok()?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `config::Config::merge`: please use 'ConfigBuilder' instead [INFO] [stdout] --> src/print_config.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | .merge(config::Environment::with_prefix("PTREE").separator("_")) [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/print_config.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 105 | let mut settings = config::Config::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Some(settings.try_deserialize().ok()?) [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/print_config.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 312 | fn visit_map(self, visitor: M) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | Deserialize::deserialize(de::value::MapAccessDeserializer::new(visitor)) [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/value.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|v| ("".to_string(), v.clone())) [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/value.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|v| ("".to_string(), v.clone())) [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] error: could not compile `ptree2` (lib) due to 5 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [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/print_config.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 105 | let mut settings = config::Config::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | Some(settings.try_deserialize().ok()?) [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/print_config.rs:320:38 [INFO] [stdout] | [INFO] [stdout] 312 | fn visit_map(self, visitor: M) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 320 | Deserialize::deserialize(de::value::MapAccessDeserializer::new(visitor)) [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/value.rs:41:47 [INFO] [stdout] | [INFO] [stdout] 41 | .map(|v| ("".to_string(), v.clone())) [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/value.rs:77:47 [INFO] [stdout] | [INFO] [stdout] 77 | .map(|v| ("".to_string(), v.clone())) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ptree2` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fed6076ec85a2c7f73d0d92ebcd1879247ce3bf67c18ac4449e83687f4f29c96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed6076ec85a2c7f73d0d92ebcd1879247ce3bf67c18ac4449e83687f4f29c96", kill_on_drop: false }` [INFO] [stdout] fed6076ec85a2c7f73d0d92ebcd1879247ce3bf67c18ac4449e83687f4f29c96