[INFO] cloning repository https://github.com/H1ghBre4k3r/y-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/H1ghBre4k3r/y-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FH1ghBre4k3r%2Fy-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FH1ghBre4k3r%2Fy-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a0836ce6979b1df164010c4589b79b1a6ec228b [INFO] checking H1ghBre4k3r/y-lang/8a0836ce6979b1df164010c4589b79b1a6ec228b 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%2FH1ghBre4k3r%2Fy-lang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/H1ghBre4k3r/y-lang 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] started tweaking git repo https://github.com/H1ghBre4k3r/y-lang [INFO] finished tweaking git repo https://github.com/H1ghBre4k3r/y-lang [INFO] tweaked toml for git repo https://github.com/H1ghBre4k3r/y-lang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/H1ghBre4k3r/y-lang 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 32ba0bb6b871b2949c2cb2b5cc51e1e94e22a5f2010a0f6147de69a4cb2cbab1 [INFO] running `Command { std: "docker" "start" "-a" "32ba0bb6b871b2949c2cb2b5cc51e1e94e22a5f2010a0f6147de69a4cb2cbab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32ba0bb6b871b2949c2cb2b5cc51e1e94e22a5f2010a0f6147de69a4cb2cbab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ba0bb6b871b2949c2cb2b5cc51e1e94e22a5f2010a0f6147de69a4cb2cbab1", kill_on_drop: false }` [INFO] [stdout] 32ba0bb6b871b2949c2cb2b5cc51e1e94e22a5f2010a0f6147de69a4cb2cbab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 57451009979b3e482def28fdcd0143288412dccbc735920a2241ec279edc768d [INFO] running `Command { std: "docker" "start" "-a" "57451009979b3e482def28fdcd0143288412dccbc735920a2241ec279edc768d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling once_cell v1.20.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Checking test-utils v0.0.1 (/opt/rustwide/workdir/test-utils) [INFO] [stderr] Checking anstream v0.6.7 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling syn v2.0.8 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking y-lang v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::parser::*` [INFO] [stdout] --> src/ast/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use self::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::parser::*` [INFO] [stdout] --> src/ast/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use self::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `TypeInfo` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typechecker/mod.rs:596:41 [INFO] [stdout] | [INFO] [stdout] 588 | let initializer = self.check_expression(None, initializer, scope)?; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | item_type: Box::new(initializer.info()._type), [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 `TypeInfo` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typechecker/mod.rs:596:41 [INFO] [stdout] | [INFO] [stdout] 588 | let initializer = self.check_expression(None, initializer, scope)?; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 596 | item_type: Box::new(initializer.info()._type), [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::call::Call<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typechecker/mod.rs:998:29 [INFO] [stdout] | [INFO] [stdout] 991 | let postfix_expression = postfix_expression.clone(); [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] | 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] 995 | let lhs = self.check_expression(None, lhs, scope)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 998 | PostfixOp::Call(call) => { [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 `TypeInfo` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typechecker/mod.rs:1037:15 [INFO] [stdout] | [INFO] [stdout] 1033 | let Expression::Integer(index) = self.check_expression(None, index, scope)? else { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1037 | match lhs.info()._type { [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] warning: field `0` is never read [INFO] [stdout] --> src/ast/binary_op.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UndefinedOpError(String); [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/prefix_op.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UndefinedPrefixOpError(String); [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedPrefixOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typechecker/variabletype.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct VariableParseError(String); [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ast::call::Call<()>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typechecker/mod.rs:998:29 [INFO] [stdout] | [INFO] [stdout] 991 | let postfix_expression = postfix_expression.clone(); [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] | 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] 995 | let lhs = self.check_expression(None, lhs, scope)?; [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 998 | PostfixOp::Call(call) => { [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 `TypeInfo` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typechecker/mod.rs:1037:15 [INFO] [stdout] | [INFO] [stdout] 1033 | let Expression::Integer(index) = self.check_expression(None, index, scope)? else { [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1037 | match lhs.info()._type { [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] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | if *other_item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | if *item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/binary_op.rs:17:29 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UndefinedOpError(String); [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ast/prefix_op.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct UndefinedPrefixOpError(String); [INFO] [stdout] | ---------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `UndefinedPrefixOpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typechecker/variabletype.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct VariableParseError(String); [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | if *other_item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_allocation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary allocation, use `&` instead [INFO] [stdout] --> src/typechecker/variabletype.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | if *item_type == Box::new(Char) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y-lang` (lib) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `y-lang` (lib test) due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57451009979b3e482def28fdcd0143288412dccbc735920a2241ec279edc768d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57451009979b3e482def28fdcd0143288412dccbc735920a2241ec279edc768d", kill_on_drop: false }` [INFO] [stdout] 57451009979b3e482def28fdcd0143288412dccbc735920a2241ec279edc768d