[INFO] fetching crate oq3_syntax 0.6.0... [INFO] checking oq3_syntax-0.6.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate oq3_syntax 0.6.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate oq3_syntax 0.6.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 oq3_syntax 0.6.0 [INFO] finished tweaking crates.io crate oq3_syntax 0.6.0 [INFO] tweaked toml for crates.io crate oq3_syntax 0.6.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate oq3_syntax 0.6.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2a71967eb4f15becbdf80beb8e5d83b8c076806a659fc3de33d50801a25b81e9 [INFO] running `Command { std: "docker" "start" "-a" "2a71967eb4f15becbdf80beb8e5d83b8c076806a659fc3de33d50801a25b81e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a71967eb4f15becbdf80beb8e5d83b8c076806a659fc3de33d50801a25b81e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a71967eb4f15becbdf80beb8e5d83b8c076806a659fc3de33d50801a25b81e9", kill_on_drop: false }` [INFO] [stdout] 2a71967eb4f15becbdf80beb8e5d83b8c076806a659fc3de33d50801a25b81e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 11f409d2e4e4d18f086f40681a2c3e8b5494a33be70d5a689e23b46cc171fe7d [INFO] running `Command { std: "docker" "start" "-a" "11f409d2e4e4d18f086f40681a2c3e8b5494a33be70d5a689e23b46cc171fe7d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking ra_ap_limit v0.0.188 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking oq3_lexer v0.6.0 [INFO] [stderr] Compiling xshell-macros v0.2.6 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking jod-thread v0.1.2 [INFO] [stderr] Checking always-assert v0.1.3 [INFO] [stderr] Checking triomphe v0.1.11 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking cov-mark v2.0.0-pre.1 [INFO] [stderr] Checking dissimilar v1.0.8 [INFO] [stderr] Checking oq3_parser v0.6.0 [INFO] [stderr] Checking ungrammar v1.16.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking xshell v0.2.6 [INFO] [stderr] Checking expect-test v1.5.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rowan v0.15.15 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking ra_ap_stdx v0.0.188 [INFO] [stderr] Checking oq3_syntax v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stdout] error: this value of type `expr_ext::LiteralKind` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/validation.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 117 | fn validate_literal(literal: ast::Literal, acc: &mut Vec) { [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let token = literal.token(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | match literal.kind() { [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 `impl Iterator, rowan::SyntaxToken>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/validation.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 196 | let mut stack = Vec::new(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | for node in root.descendants_with_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] [INFO] [stdout] [INFO] [stdout] error: this value of type `rowan::SyntaxNode` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/make.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 115 | let sf = SourceFile::parse(text).ok().unwrap(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | / sf.syntax() [INFO] [stdout] 117 | | .clone_for_update() [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 `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:269:33 [INFO] [stdout] | [INFO] [stdout] 269 | $( if let Some($it) = $($path::)+cast($node.clone()) { $res } else )* [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ast/prec.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn needs_parens_in(&self, parent: SyntaxNode) -> bool { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | / match_ast! { [INFO] [stdout] 21 | | match parent { [INFO] [stdout] 22 | | ast::Expr(e) => self.needs_parens_in_expr(&e), [INFO] [stdout] 23 | | ast::Stmt(e) => self.needs_parens_in_stmt(Some(&e)), [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `$crate::match_ast` which comes from the expansion of the macro `match_ast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option, rowan::SyntaxToken>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ted.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 116 | let mut it = range.into_iter(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | if let Some(mut first) = it.next() { [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 `oq3_syntax` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "11f409d2e4e4d18f086f40681a2c3e8b5494a33be70d5a689e23b46cc171fe7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f409d2e4e4d18f086f40681a2c3e8b5494a33be70d5a689e23b46cc171fe7d", kill_on_drop: false }` [INFO] [stdout] 11f409d2e4e4d18f086f40681a2c3e8b5494a33be70d5a689e23b46cc171fe7d