[INFO] fetching crate tokay 0.6.6... [INFO] checking tokay-0.6.6 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tokay 0.6.6 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate tokay 0.6.6 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 tokay 0.6.6 [INFO] finished tweaking crates.io crate tokay 0.6.6 [INFO] tweaked toml for crates.io crate tokay 0.6.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate tokay 0.6.6 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] Blocking waiting for file lock on package cache [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] 49c6ba10ef75278324826b4851db9a1b57a58d8988de9a17b2118abab3217382 [INFO] running `Command { std: "docker" "start" "-a" "49c6ba10ef75278324826b4851db9a1b57a58d8988de9a17b2118abab3217382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49c6ba10ef75278324826b4851db9a1b57a58d8988de9a17b2118abab3217382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c6ba10ef75278324826b4851db9a1b57a58d8988de9a17b2118abab3217382", kill_on_drop: false }` [INFO] [stdout] 49c6ba10ef75278324826b4851db9a1b57a58d8988de9a17b2118abab3217382 [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] 529826d2f38cfce8ce8732ea8b8836b99536ab801f30991963657926aa8748bc [INFO] running `Command { std: "docker" "start" "-a" "529826d2f38cfce8ce8732ea8b8836b99536ab801f30991963657926aa8748bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling inventory v0.1.11 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking charclass v0.2.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling fd-lock v2.0.0 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking num-parse v0.1.2 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling ghost v0.1.17 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling rustyline v8.2.0 [INFO] [stderr] Checking clap v4.5.3 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling inventory-impl v0.1.11 [INFO] [stderr] Compiling tokay v0.4.0 [INFO] [stderr] Compiling tokay-macros v0.5.0 [INFO] [stderr] Checking tokay v0.6.6 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Ref<'_, Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/ast.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 73 | let emit = node["emit"].borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let node = node["children"].borrow(); [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 `Ref<'_, Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/ast.rs:789:17 [INFO] [stdout] | [INFO] [stdout] 762 | let emit = node["emit"].borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 789 | let children = node["children"].borrow(); [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 `Ref<'_, Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/ast.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 73 | let emit = node["emit"].borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let node = node["children"].borrow(); [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 `Ref<'_, Value>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/ast.rs:789:17 [INFO] [stdout] | [INFO] [stdout] 762 | let emit = node["emit"].borrow(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 789 | let children = node["children"].borrow(); [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 `Result, error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/parser.rs:8947:15 [INFO] [stdout] | [INFO] [stdout] 8937 | pub fn parse(&self, mut reader: Reader) -> Result { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8938 | //self.0.dump(); [INFO] [stdout] 8939 | let mut thread = Thread::new(&self.0, vec![&mut reader]); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8947 | match thread.run() { [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 `Result, Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 12 | let mut compiler = Compiler::new(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | match compiler.compile_from_str(src) { [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 `Result, Rc>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/value/refvalue.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 459 | fn from(value: RefValue) -> Self { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | match std::rc::Rc::try_unwrap(value.value) { [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 `vm::thread::Thread<'_, '_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vm/program.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn run_from_reader(&self, mut reader: Reader) -> Result, Error> { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Thread::new(self, vec![&mut reader]).run() [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 `Result, error::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/compiler/parser.rs:8947:15 [INFO] [stdout] | [INFO] [stdout] 8937 | pub fn parse(&self, mut reader: Reader) -> Result { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 8938 | //self.0.dump(); [INFO] [stdout] 8939 | let mut thread = Thread::new(&self.0, vec![&mut reader]); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 8947 | match thread.run() { [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 `Result, Vec>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 12 | let mut compiler = Compiler::new(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | [INFO] [stdout] 14 | match compiler.compile_from_str(src) { [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokay` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result, Rc>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/value/refvalue.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 459 | fn from(value: RefValue) -> Self { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 460 | match std::rc::Rc::try_unwrap(value.value) { [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 `vm::thread::Thread<'_, '_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vm/program.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn run_from_reader(&self, mut reader: Reader) -> Result, Error> { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Thread::new(self, vec![&mut reader]).run() [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokay` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "529826d2f38cfce8ce8732ea8b8836b99536ab801f30991963657926aa8748bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529826d2f38cfce8ce8732ea8b8836b99536ab801f30991963657926aa8748bc", kill_on_drop: false }` [INFO] [stdout] 529826d2f38cfce8ce8732ea8b8836b99536ab801f30991963657926aa8748bc