[INFO] fetching crate templar 0.5.0... [INFO] checking templar-0.5.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate templar 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate templar 0.5.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate templar 0.5.0 [INFO] finished tweaking crates.io crate templar 0.5.0 [INFO] tweaked toml for crates.io crate templar 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate templar 0.5.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `unstructured` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8e14342bd811cd4f0b63d11093b2d6dcd33940c2f6ea4983d8888eae5634e06 [INFO] running `Command { std: "docker" "start" "-a" "d8e14342bd811cd4f0b63d11093b2d6dcd33940c2f6ea4983d8888eae5634e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8e14342bd811cd4f0b63d11093b2d6dcd33940c2f6ea4983d8888eae5634e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e14342bd811cd4f0b63d11093b2d6dcd33940c2f6ea4983d8888eae5634e06", kill_on_drop: false }` [INFO] [stdout] d8e14342bd811cd4f0b63d11093b2d6dcd33940c2f6ea4983d8888eae5634e06 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28abdc1a4f365ed1c4fe48c82d063540d26e57d3c46a0fceb89535edc564229c [INFO] running `Command { std: "docker" "start" "-a" "28abdc1a4f365ed1c4fe48c82d063540d26e57d3c46a0fceb89535edc564229c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `unstructured` dependency) [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling templar_macros v0.5.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking unstructured v0.5.1 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking templar v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `unstructured::Document` [INFO] [stdout] --> src/context/dynamic/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use unstructured::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:5:68 [INFO] [stdout] | [INFO] [stdout] 5 | $tree.push($tree.templar.parse_match($rule.into_inner())?)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 164 | Rule::expression_cap => parse_token!(expression: pair => tree), [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | $tree.push($tree.templar.parse_match($rule.into_inner())?)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 166 | Rule::filter => parse_token!(filter: pair => tree), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | })?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 167 | Rule::function => parse_token!(fn: pair => tree), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | $tree.push($tree.templar.parse_match($rule.into_inner())?)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 167 | Rule::function => parse_token!(fn: pair => tree), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | ))?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 169 | Rule::number_lit => parse_token!(number: pair => tree), [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:22:45 [INFO] [stdout] | [INFO] [stdout] 22 | $tree.push(Node::Data(true.into()))?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 170 | Rule::true_lit => parse_token!(true => tree), [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | $tree.push(Node::Data(false.into()))?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 171 | Rule::false_lit => parse_token!(false => tree), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:45:56 [INFO] [stdout] | [INFO] [stdout] 45 | $tree.push(Node::Data(InnerData::Null.into()))?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 173 | Rule::null_lit => parse_token!(nil => tree), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | })?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 174 | Rule::array_lit => parse_token!(array: pair => tree), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser/rules.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | })?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 175 | Rule::map_lit => parse_token!(map: pair => tree), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `parse_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stdout] error: this value of type `Unstructured` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters/common.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn length(value: Data, _: Data) -> Data { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | match value.into_inner() { [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: this value of type `Unstructured` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters/common.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn json(value: Data, args: Data) -> Data { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | match value.into_inner() { [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: this value of type `Unstructured` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters/common.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn yaml(value: Data, _: Data) -> Data { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | match value.into_inner() { [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: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters/common.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn string(value: Data, _: Data) -> Data { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | match value.render() { [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: this value of type `Unstructured` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/filters/common.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn key(value: Data, args: Data) -> Data { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | match value.into_inner() { [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `templar` (lib) due to 6 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "28abdc1a4f365ed1c4fe48c82d063540d26e57d3c46a0fceb89535edc564229c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28abdc1a4f365ed1c4fe48c82d063540d26e57d3c46a0fceb89535edc564229c", kill_on_drop: false }` [INFO] [stdout] 28abdc1a4f365ed1c4fe48c82d063540d26e57d3c46a0fceb89535edc564229c