[INFO] fetching crate flexi-parse 0.10.0... [INFO] checking flexi-parse-0.10.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate flexi-parse 0.10.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate flexi-parse 0.10.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 flexi-parse 0.10.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate flexi-parse 0.10.0 [INFO] tweaked toml for crates.io crate flexi-parse 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate flexi-parse 0.10.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9722a7aaae53d61ad82359dacb3708cca7d7696f3b080c0ad488df750b2ffdc6 [INFO] running `Command { std: "docker" "start" "-a" "9722a7aaae53d61ad82359dacb3708cca7d7696f3b080c0ad488df750b2ffdc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9722a7aaae53d61ad82359dacb3708cca7d7696f3b080c0ad488df750b2ffdc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9722a7aaae53d61ad82359dacb3708cca7d7696f3b080c0ad488df750b2ffdc6", kill_on_drop: false }` [INFO] [stdout] 9722a7aaae53d61ad82359dacb3708cca7d7696f3b080c0ad488df750b2ffdc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f1a03967616c45b0df9b44f5f56e1b2a46edece3ece50fd89ec36d15044add06 [INFO] running `Command { std: "docker" "start" "-a" "f1a03967616c45b0df9b44f5f56e1b2a46edece3ece50fd89ec36d15044add06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking ariadne v0.3.0 [INFO] [stderr] Checking quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling concat-idents v1.1.5 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking flexi-parse v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `quote` [INFO] [stdout] --> src/token.rs:842:19 [INFO] [stdout] | [INFO] [stdout] 842 | #[cfg(feature = "quote")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | / tokens! { [INFO] [stdout] 1192 | | { [INFO] [stdout] 1193 | | (Bang, '!') [INFO] [stdout] 1194 | | (Colon, ':') [INFO] [stdout] ... | [INFO] [stdout] 1257 | | } [INFO] [stdout] 1258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ariadne`, `default`, `proc-macro`, `proc-macro2`, and `scan-strings` [INFO] [stdout] = help: consider adding `quote` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `quote` [INFO] [stdout] --> src/token.rs:1008:19 [INFO] [stdout] | [INFO] [stdout] 1008 | #[cfg(feature = "quote")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | / tokens! { [INFO] [stdout] 1192 | | { [INFO] [stdout] 1193 | | (Bang, '!') [INFO] [stdout] 1194 | | (Colon, ':') [INFO] [stdout] ... | [INFO] [stdout] 1257 | | } [INFO] [stdout] 1258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ariadne`, `default`, `proc-macro`, `proc-macro2`, and `scan-strings` [INFO] [stdout] = help: consider adding `quote` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `quote` [INFO] [stdout] --> src/token.rs:1166:19 [INFO] [stdout] | [INFO] [stdout] 1166 | #[cfg(feature = "quote")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | / tokens! { [INFO] [stdout] 1192 | | { [INFO] [stdout] 1193 | | (Bang, '!') [INFO] [stdout] 1194 | | (Colon, ':') [INFO] [stdout] ... | [INFO] [stdout] 1257 | | } [INFO] [stdout] 1258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ariadne`, `default`, `proc-macro`, `proc-macro2`, and `scan-strings` [INFO] [stdout] = help: consider adding `quote` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `quote` [INFO] [stdout] --> src/token.rs:842:19 [INFO] [stdout] | [INFO] [stdout] 842 | #[cfg(feature = "quote")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | / tokens! { [INFO] [stdout] 1192 | | { [INFO] [stdout] 1193 | | (Bang, '!') [INFO] [stdout] 1194 | | (Colon, ':') [INFO] [stdout] ... | [INFO] [stdout] 1257 | | } [INFO] [stdout] 1258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ariadne`, `default`, `proc-macro`, `proc-macro2`, and `scan-strings` [INFO] [stdout] = help: consider adding `quote` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `quote` [INFO] [stdout] --> src/token.rs:1008:19 [INFO] [stdout] | [INFO] [stdout] 1008 | #[cfg(feature = "quote")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | / tokens! { [INFO] [stdout] 1192 | | { [INFO] [stdout] 1193 | | (Bang, '!') [INFO] [stdout] 1194 | | (Colon, ':') [INFO] [stdout] ... | [INFO] [stdout] 1257 | | } [INFO] [stdout] 1258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ariadne`, `default`, `proc-macro`, `proc-macro2`, and `scan-strings` [INFO] [stdout] = help: consider adding `quote` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `quote` [INFO] [stdout] --> src/token.rs:1166:19 [INFO] [stdout] | [INFO] [stdout] 1166 | #[cfg(feature = "quote")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1191 | / tokens! { [INFO] [stdout] 1192 | | { [INFO] [stdout] 1193 | | (Bang, '!') [INFO] [stdout] 1194 | | (Colon, ':') [INFO] [stdout] ... | [INFO] [stdout] 1257 | | } [INFO] [stdout] 1258 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ariadne`, `default`, `proc-macro`, `proc-macro2`, and `scan-strings` [INFO] [stdout] = help: consider adding `quote` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `tokens` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lib.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 260 | let (tokens, error) = scanner::scan(source, 0, None); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | match parse(tokens) { [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 `std::result::Result<::Token, error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 579 | pub fn peek(&self, token: T) -> bool { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 580 | let _ = token; [INFO] [stdout] 581 | self.parse_undo::().is_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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flexi-parse` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:261:11 [INFO] [stdout] | [INFO] [stdout] 260 | let (tokens, error) = scanner::scan(source, 0, None); [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 261 | match parse(tokens) { [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 `std::result::Result<::Token, error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:581:9 [INFO] [stdout] | [INFO] [stdout] 579 | pub fn peek(&self, token: T) -> bool { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 580 | let _ = token; [INFO] [stdout] 581 | self.parse_undo::().is_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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flexi-parse` (lib) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f1a03967616c45b0df9b44f5f56e1b2a46edece3ece50fd89ec36d15044add06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1a03967616c45b0df9b44f5f56e1b2a46edece3ece50fd89ec36d15044add06", kill_on_drop: false }` [INFO] [stdout] f1a03967616c45b0df9b44f5f56e1b2a46edece3ece50fd89ec36d15044add06