[INFO] fetching crate teolang 0.3.4... [INFO] checking teolang-0.3.4 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate teolang 0.3.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate teolang 0.3.4 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.toml [INFO] started tweaking crates.io crate teolang 0.3.4 [INFO] finished tweaking crates.io crate teolang 0.3.4 [INFO] tweaked toml for crates.io crate teolang 0.3.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate teolang 0.3.4 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] [stderr] Blocking waiting for file lock on package cache [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] 5ca3c64620b596bf2eb1b34bae0d87e1f42a333c40329cd26e37635f3178217e [INFO] running `Command { std: "docker" "start" "-a" "5ca3c64620b596bf2eb1b34bae0d87e1f42a333c40329cd26e37635f3178217e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ca3c64620b596bf2eb1b34bae0d87e1f42a333c40329cd26e37635f3178217e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ca3c64620b596bf2eb1b34bae0d87e1f42a333c40329cd26e37635f3178217e", kill_on_drop: false }` [INFO] [stdout] 5ca3c64620b596bf2eb1b34bae0d87e1f42a333c40329cd26e37635f3178217e [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] 5d2802e6c53aa7c24019cd09d83e577c249d32ee3d1035230a8345c7007b2404 [INFO] running `Command { std: "docker" "start" "-a" "5d2802e6c53aa7c24019cd09d83e577c249d32ee3d1035230a8345c7007b2404", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling rust_decimal v1.30.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling peg-runtime v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling peg-macros v0.8.1 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking windows-targets v0.48.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking windows-sys v0.48.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fwdansi v1.1.0 [INFO] [stderr] Compiling rust_decimal_macros v1.30.0 [INFO] [stderr] Checking peg v0.8.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking clap v4.3.15 [INFO] [stderr] Checking teolang v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `parser::Ast` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/parser/mod.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | rule comparison() -> Ast = left: term() _ op: comparison_op() _ right: term() { [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] | [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] warning: unused variable: `returncode` [INFO] [stdout] --> src/program/mod.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(returncode) = program.run_loop(writer, shell) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returncode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/program/mod.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | fn evaluate(&self, program: &Program, mut writer: &mut impl std::io::Write) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/program/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match $id.as_str() { [INFO] [stdout] 51 | | $( [INFO] [stdout] 52 | | #[cfg(feature = $function)] [INFO] [stdout] 53 | | $function => $body, [INFO] [stdout] 54 | | )+ [INFO] [stdout] 55 | | _ => Err(anyhow!($errmessage)), [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 160 | / matchcmd!(id, "Function isn't enabled.", { [INFO] [stdout] 161 | | "print" => { [INFO] [stdout] 162 | | fep!(self, args, value, writer { [INFO] [stdout] 163 | | println!("{}", value.as_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matchcmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match $id.as_str() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `parser::Ast` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/program/parser/mod.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | rule comparison() -> Ast = left: term() _ op: comparison_op() _ right: term() { [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] | [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teolang` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `returncode` [INFO] [stdout] --> src/program/mod.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(returncode) = program.run_loop(writer, shell) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returncode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/program/mod.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | fn evaluate(&self, program: &Program, mut writer: &mut impl std::io::Write) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/program/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match $id.as_str() { [INFO] [stdout] 51 | | $( [INFO] [stdout] 52 | | #[cfg(feature = $function)] [INFO] [stdout] 53 | | $function => $body, [INFO] [stdout] 54 | | )+ [INFO] [stdout] 55 | | _ => Err(anyhow!($errmessage)), [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 160 | / matchcmd!(id, "Function isn't enabled.", { [INFO] [stdout] 161 | | "print" => { [INFO] [stdout] 162 | | fep!(self, args, value, writer { [INFO] [stdout] 163 | | println!("{}", value.as_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matchcmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match $id.as_str() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `teolang` (lib) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5d2802e6c53aa7c24019cd09d83e577c249d32ee3d1035230a8345c7007b2404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d2802e6c53aa7c24019cd09d83e577c249d32ee3d1035230a8345c7007b2404", kill_on_drop: false }` [INFO] [stdout] 5d2802e6c53aa7c24019cd09d83e577c249d32ee3d1035230a8345c7007b2404