[INFO] cloning repository https://github.com/ddadaal/kaleidoscope-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddadaal/kaleidoscope-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddadaal%2Fkaleidoscope-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddadaal%2Fkaleidoscope-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d7cb57061315c8ad6424fcb360b5781729226c1 [INFO] checking ddadaal/kaleidoscope-rust/1d7cb57061315c8ad6424fcb360b5781729226c1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddadaal%2Fkaleidoscope-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ddadaal/kaleidoscope-rust on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ddadaal/kaleidoscope-rust [INFO] finished tweaking git repo https://github.com/ddadaal/kaleidoscope-rust [INFO] tweaked toml for git repo https://github.com/ddadaal/kaleidoscope-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ddadaal/kaleidoscope-rust 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#5c4adc17) [INFO] [stderr] Adding inkwell_internals v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#5c4adc17) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e5e112c3dd2663585cb350380e2cf3391fa5542a4bad62408c75ba98aa7e0e9 [INFO] running `Command { std: "docker" "start" "-a" "9e5e112c3dd2663585cb350380e2cf3391fa5542a4bad62408c75ba98aa7e0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e5e112c3dd2663585cb350380e2cf3391fa5542a4bad62408c75ba98aa7e0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5e112c3dd2663585cb350380e2cf3391fa5542a4bad62408c75ba98aa7e0e9", kill_on_drop: false }` [INFO] [stdout] 9e5e112c3dd2663585cb350380e2cf3391fa5542a4bad62408c75ba98aa7e0e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78e026f16b40ae85aabf65147e41b2c37fdb493077afbe46a825506714e1a216 [INFO] running `Command { std: "docker" "start" "-a" "78e026f16b40ae85aabf65147e41b2c37fdb493077afbe46a825506714e1a216", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=master#5c4adc17) [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling llvm-sys v100.2.0 [INFO] [stderr] Compiling inkwell_internals v0.2.0 (https://github.com/TheDan64/inkwell?branch=master#5c4adc17) [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler) [INFO] [stdout] warning: unused import: `inkwell::values::AnyValueEnum` [INFO] [stdout] --> compiler/src/codegen/codegen_context.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use inkwell::values::AnyValueEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inkwell::values::AnyValueEnum` [INFO] [stdout] --> compiler/src/codegen/codegen_context.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use inkwell::values::AnyValueEnum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/parser/parser.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ParseError(Option, String); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ParseError` 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: method `parse_number_expr` is never used [INFO] [stdout] --> compiler/src/parser/parser.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl> Parser { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | fn parse_number_expr(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/lexer/lexer.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(char_iter: I) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Lexer { [INFO] [stdout] 22 | buffer: Buffer::new(char_iter), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/parser/parser.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(lexer: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Parser { [INFO] [stdout] 66 | buffer: Buffer::new(lexer), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/parser/parser.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | let body = self.parse_expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(Function { prototype, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/parser/parser.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 240 | let mut args = Vec::::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Ok(Expression::CallExpr(identifier, args)) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (lib) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> compiler/src/parser/parser.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ParseError(Option, String); [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `ParseError` 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: method `parse_number_expr` is never used [INFO] [stdout] --> compiler/src/parser/parser.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl> Parser { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 204 | fn parse_number_expr(&mut self) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/lexer/lexer.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(char_iter: I) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | Lexer { [INFO] [stdout] 22 | buffer: Buffer::new(char_iter), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/parser/parser.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(lexer: I) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | Parser { [INFO] [stdout] 66 | buffer: Buffer::new(lexer), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/parser/parser.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 110 | let body = self.parse_expression()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(Function { prototype, body }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> compiler/src/parser/parser.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 240 | let mut args = Vec::::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | Ok(Expression::CallExpr(identifier, args)) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `compiler` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "78e026f16b40ae85aabf65147e41b2c37fdb493077afbe46a825506714e1a216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78e026f16b40ae85aabf65147e41b2c37fdb493077afbe46a825506714e1a216", kill_on_drop: false }` [INFO] [stdout] 78e026f16b40ae85aabf65147e41b2c37fdb493077afbe46a825506714e1a216