[INFO] cloning repository https://github.com/Johan-Mi/scratch-compiler-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Johan-Mi/scratch-compiler-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f50c45556b963326c89eb9d639aad283ca11c298 [INFO] checking Johan-Mi/scratch-compiler-2/f50c45556b963326c89eb9d639aad283ca11c298 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-2" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Johan-Mi/scratch-compiler-2 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 git repo https://github.com/Johan-Mi/scratch-compiler-2 [INFO] finished tweaking git repo https://github.com/Johan-Mi/scratch-compiler-2 [INFO] tweaked toml for git repo https://github.com/Johan-Mi/scratch-compiler-2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Johan-Mi/scratch-compiler-2 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-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] 8c8ad57faa9c6df1b849a17b898136302268417f84fde66057db8a57b15f4be8 [INFO] running `Command { std: "docker" "start" "-a" "8c8ad57faa9c6df1b849a17b898136302268417f84fde66057db8a57b15f4be8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c8ad57faa9c6df1b849a17b898136302268417f84fde66057db8a57b15f4be8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8ad57faa9c6df1b849a17b898136302268417f84fde66057db8a57b15f4be8", kill_on_drop: false }` [INFO] [stdout] 8c8ad57faa9c6df1b849a17b898136302268417f84fde66057db8a57b15f4be8 [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] 57a8e666e395e7ef1981b766bfbdf9fb38b44cd37f7c5e7026e523c83a1ccb2a [INFO] running `Command { std: "docker" "start" "-a" "57a8e666e395e7ef1981b766bfbdf9fb38b44cd37f7c5e7026e523c83a1ccb2a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking text-size v1.1.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking ryu-js v1.0.0 [INFO] [stderr] Checking codemap-diagnostic v0.1.1 (https://github.com/Johan-Mi/codemap-diagnostic#c7860a6d) [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking rowan v0.15.15 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking petgraph v0.6.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling logos-codegen v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling logos-derive v0.13.0 [INFO] [stderr] Checking logos v0.13.0 [INFO] [stderr] Checking sb3-builder v0.1.0 (https://github.com/Johan-Mi/sb3-builder#c47f9a94) [INFO] [stderr] Checking scratch-compiler-2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `FilterMap, fn(NodeOrToken, rowan::SyntaxToken>) -> Option> {NodeOrToken::, rowan::SyntaxToken>::into_token}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | let colon = rowan::ast::support::token(&self.syntax, COLON)?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | / self.syntax [INFO] [stdout] 133 | | .children_with_tokens() [INFO] [stdout] 134 | | .filter_map(NodeOrToken::into_token) [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 `FilterMap, fn(NodeOrToken, rowan::SyntaxToken>) -> Option> {NodeOrToken::, rowan::SyntaxToken>::into_token}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | let colon = rowan::ast::support::token(&self.syntax, COLON)?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | / self.syntax [INFO] [stdout] 133 | | .children_with_tokens() [INFO] [stdout] 134 | | .filter_map(NodeOrToken::into_token) [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 `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hir/lowering.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 228 | let name = ast.name().ok_or_else(|| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | let body = ast.body().ok_or_else(|| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | is_inline: ast.kw_inline().is_some(), [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/hir/lowering.rs:280:24 [INFO] [stdout] | [INFO] [stdout] 228 | let name = ast.name().ok_or_else(|| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 258 | let body = ast.body().ok_or_else(|| { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | is_inline: ast.kw_inline().is_some(), [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 `Ty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mir/lowering.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 104 | function: hir::typed::Function, [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] ... [INFO] [stdout] 125 | returns_something: !function.return_ty.node.unwrap().is_zero_sized(), [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 `Ty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mir/lowering.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 104 | function: hir::typed::Function, [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] ... [INFO] [stdout] 125 | returns_something: !function.return_ty.node.unwrap().is_zero_sized(), [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scratch-compiler-2` (bin "scratch-compiler-2") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scratch-compiler-2` (bin "scratch-compiler-2" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "57a8e666e395e7ef1981b766bfbdf9fb38b44cd37f7c5e7026e523c83a1ccb2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a8e666e395e7ef1981b766bfbdf9fb38b44cd37f7c5e7026e523c83a1ccb2a", kill_on_drop: false }` [INFO] [stdout] 57a8e666e395e7ef1981b766bfbdf9fb38b44cd37f7c5e7026e523c83a1ccb2a