[INFO] cloning repository https://github.com/Johan-Mi/scratch-compiler-rs [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-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f49931eac63f67f5bae3d58993df4d5b7ef8ca60 [INFO] checking Johan-Mi/scratch-compiler-rs/f49931eac63f67f5bae3d58993df4d5b7ef8ca60 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJohan-Mi%2Fscratch-compiler-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Johan-Mi/scratch-compiler-rs on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Johan-Mi/scratch-compiler-rs [INFO] finished tweaking git repo https://github.com/Johan-Mi/scratch-compiler-rs [INFO] tweaked toml for git repo https://github.com/Johan-Mi/scratch-compiler-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Johan-Mi/scratch-compiler-rs 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b119bae801dd39c26755baf1b40f9717093ee0710502cc79413f975a43ca0708 [INFO] running `Command { std: "docker" "start" "-a" "b119bae801dd39c26755baf1b40f9717093ee0710502cc79413f975a43ca0708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b119bae801dd39c26755baf1b40f9717093ee0710502cc79413f975a43ca0708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b119bae801dd39c26755baf1b40f9717093ee0710502cc79413f975a43ca0708", kill_on_drop: false }` [INFO] [stdout] b119bae801dd39c26755baf1b40f9717093ee0710502cc79413f975a43ca0708 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f0a9a61d706e19baa6dec2e1b2db19e5ba016acd734768e23f68a21737afa95 [INFO] running `Command { std: "docker" "start" "-a" "6f0a9a61d706e19baa6dec2e1b2db19e5ba016acd734768e23f68a21737afa95", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cranelift-isle v0.97.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling cranelift-codegen-shared v0.97.2 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling cranelift-codegen-meta v0.97.2 [INFO] [stderr] Checking cranelift-entity v0.97.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking slice-group-by v0.3.1 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking cranelift-bforest v0.97.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking bumpalo v3.14.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking regalloc2 v0.9.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking cranelift-control v0.97.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ryu-js v0.2.2 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Checking ecow v0.2.0 [INFO] [stderr] Checking sb3-stuff v0.1.0 (https://github.com/Johan-Mi/sb3-stuff#e1dea5f9) [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking codemap-diagnostic v0.1.1 (https://github.com/Johan-Mi/codemap-diagnostic#c7860a6d) [INFO] [stderr] Compiling cranelift-codegen v0.97.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking lispfmt v0.1.0 (https://github.com/Johan-Mi/lispfmt#37c51553) [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling gumdrop_derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking gumdrop v0.8.1 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking cranelift-frontend v0.97.2 [INFO] [stderr] Checking cranelift-module v0.97.2 [INFO] [stderr] Checking cranelift-object v0.97.2 [INFO] [stderr] Checking cranelift v0.97.2 [INFO] [stderr] Checking scratch-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Ast` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir/statement.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_ast(ast: Ast) -> Result { [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] | 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] 51 | let mut tail = tail.into_iter(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let counter = tail.next().unwrap(); [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 `Ast` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ir/statement.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn from_ast(ast: Ast) -> Result { [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] | 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] 51 | let mut tail = tail.into_iter(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | let counter = tail.next().unwrap(); [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scratch-compiler` (bin "scratch-compiler") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scratch-compiler` (bin "scratch-compiler" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "6f0a9a61d706e19baa6dec2e1b2db19e5ba016acd734768e23f68a21737afa95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0a9a61d706e19baa6dec2e1b2db19e5ba016acd734768e23f68a21737afa95", kill_on_drop: false }` [INFO] [stdout] 6f0a9a61d706e19baa6dec2e1b2db19e5ba016acd734768e23f68a21737afa95