[INFO] fetching crate minijinja-cli 2.2.0... [INFO] checking minijinja-cli-2.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate minijinja-cli 2.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate minijinja-cli 2.2.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 minijinja-cli 2.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate minijinja-cli 2.2.0 [INFO] tweaked toml for crates.io crate minijinja-cli 2.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate minijinja-cli 2.2.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e479caabedec59b06a4fa2fc25d57e76abc3825a7ab95191bd157cb758fe1666 [INFO] running `Command { std: "docker" "start" "-a" "e479caabedec59b06a4fa2fc25d57e76abc3825a7ab95191bd157cb758fe1666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e479caabedec59b06a4fa2fc25d57e76abc3825a7ab95191bd157cb758fe1666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e479caabedec59b06a4fa2fc25d57e76abc3825a7ab95191bd157cb758fe1666", kill_on_drop: false }` [INFO] [stdout] e479caabedec59b06a4fa2fc25d57e76abc3825a7ab95191bd157cb758fe1666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 01bbe75a7e1ba7bba5571d855923c9b9d022244260babb5d1c113313e3bbbf64 [INFO] running `Command { std: "docker" "start" "-a" "01bbe75a7e1ba7bba5571d855923c9b9d022244260babb5d1c113313e3bbbf64", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.17.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling xml-rs v0.8.14 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling phf_shared v0.11.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Compiling clap_builder v4.3.22 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking phf v0.11.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling serde_yml v0.0.10 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling phf_codegen v0.11.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking memo-map v0.3.1 [INFO] [stderr] Checking winnow v0.5.14 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking aho-corasick v1.0.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.10.0 [INFO] [stderr] Checking home v0.5.5 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Checking libyml v0.0.3 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking console v0.15.4 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking dunce v1.0.4 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling clap v4.3.22 [INFO] [stderr] Compiling clap_mangen v0.2.22 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling minijinja-cli v2.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking fd-lock v3.0.9 [INFO] [stderr] Checking rustyline v12.0.0 [INFO] [stderr] Checking pest v2.5.3 [INFO] [stderr] Compiling pest_meta v2.5.3 [INFO] [stderr] Compiling pest_generator v2.5.3 [INFO] [stderr] Compiling pest_derive v2.5.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking serde_json5 v0.1.0 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling time-tz v1.0.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking minijinja v2.2.0 [INFO] [stderr] Checking insta-cmd v0.6.0 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking minijinja-contrib v2.2.0 [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:163:8 [INFO] [stdout] | [INFO] [stdout] 94 | bail!("auto detection does not work with data from stdin"); [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | _ => bail!("cannot auto detect format from extension"), [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mut data: Value = match format { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let mut v: serde_yml::Value = serde_yml::from_str(&contents)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 164 | | Deserialize::deserialize(data).context("failed to interpret input data as object")?, [INFO] [stdout] 165 | | stdin_used, [INFO] [stdout] 166 | | )) [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] | | 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] | | 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/main.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 312 | *stdin = Some(io::read_to_string(io::stdin()).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | / MError::new( [INFO] [stdout] 314 | | ErrorKind::InvalidOperation, [INFO] [stdout] 315 | | "failed to read template from stdin", [INFO] [stdout] 316 | | ) [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/main.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|x| x.canonicalize().unwrap_or_else(|_| x.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/repl.rs:117:68 [INFO] [stdout] | [INFO] [stdout] 117 | ..Value::from_iter(locals.iter().map(|x| (x.0.clone(), x.1.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/repl.rs:133:68 [INFO] [stdout] | [INFO] [stdout] 133 | ..Value::from_iter(locals.iter().map(|x| (x.0.clone(), x.1.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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minijinja-cli` (bin "minijinja-cli") due to 6 previous errors [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/main.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 94 | bail!("auto detection does not work with data from stdin"); [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | _ => bail!("cannot auto detect format from extension"), [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mut data: Value = match format { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let mut v: serde_yml::Value = serde_yml::from_str(&contents)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 164 | | Deserialize::deserialize(data).context("failed to interpret input data as object")?, [INFO] [stdout] 165 | | stdin_used, [INFO] [stdout] 166 | | )) [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] | | 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] | | 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/main.rs:313:21 [INFO] [stdout] | [INFO] [stdout] 312 | *stdin = Some(io::read_to_string(io::stdin()).map_err(|err| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | / MError::new( [INFO] [stdout] 314 | | ErrorKind::InvalidOperation, [INFO] [stdout] 315 | | "failed to read template from stdin", [INFO] [stdout] 316 | | ) [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/main.rs:417:18 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|x| x.canonicalize().unwrap_or_else(|_| x.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/repl.rs:117:68 [INFO] [stdout] | [INFO] [stdout] 117 | ..Value::from_iter(locals.iter().map(|x| (x.0.clone(), x.1.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/repl.rs:133:68 [INFO] [stdout] | [INFO] [stdout] 133 | ..Value::from_iter(locals.iter().map(|x| (x.0.clone(), x.1.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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minijinja-cli` (bin "minijinja-cli" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "01bbe75a7e1ba7bba5571d855923c9b9d022244260babb5d1c113313e3bbbf64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01bbe75a7e1ba7bba5571d855923c9b9d022244260babb5d1c113313e3bbbf64", kill_on_drop: false }` [INFO] [stdout] 01bbe75a7e1ba7bba5571d855923c9b9d022244260babb5d1c113313e3bbbf64