[INFO] cloning repository https://github.com/as3richa/brainrust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/as3richa/brainrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fas3richa%2Fbrainrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fas3richa%2Fbrainrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ffc6c05c91953b0d30e9f14d73429a5d22c0ccfc [INFO] checking as3richa/brainrust/ffc6c05c91953b0d30e9f14d73429a5d22c0ccfc 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%2Fas3richa%2Fbrainrust" "/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/as3richa/brainrust 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/as3richa/brainrust [INFO] finished tweaking git repo https://github.com/as3richa/brainrust [INFO] tweaked toml for git repo https://github.com/as3richa/brainrust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/as3richa/brainrust 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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbc37339af99e0b10f017422ad081c58efece70008114a5e8cd668e50c69d2c3 [INFO] running `Command { std: "docker" "start" "-a" "cbc37339af99e0b10f017422ad081c58efece70008114a5e8cd668e50c69d2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbc37339af99e0b10f017422ad081c58efece70008114a5e8cd668e50c69d2c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbc37339af99e0b10f017422ad081c58efece70008114a5e8cd668e50c69d2c3", kill_on_drop: false }` [INFO] [stdout] cbc37339af99e0b10f017422ad081c58efece70008114a5e8cd668e50c69d2c3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0600e75e3a51f6d9f5e1b84a80eea751df3838dea95e0bddb57933c96b92db1c [INFO] running `Command { std: "docker" "start" "-a" "0600e75e3a51f6d9f5e1b84a80eea751df3838dea95e0bddb57933c96b92db1c", kill_on_drop: false }` [INFO] [stderr] Checking brainrust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/compiler.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let (token, line, column) = parse(&mut stream)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/compiler.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let (token, line, column) = parse(&mut stream)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/assembler.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Assembler<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn cmp_r10_r11(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn cmp_r13_rbp(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn jge(&mut self, label: Self::Label); [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | fn jmp(&mut self, label: Self::Label); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn mov_r11_rax(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | fn mov_r12_u64(&mut self, operand: u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | fn mov_r12_rax(&mut self); [INFO] [stdout] 43 | fn mov_r13_u32(&mut self, operand: u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn mov_rbp_u64(&mut self, operand: u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn mov_rdx_r12(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn sub_r8_r9(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn xor_r11_r11(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BSS_SIZE` is never used [INFO] [stdout] --> src/elf.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | pub const MAX_BSS_SIZE: u64 = (1 + 0x7fffffffffff) - BSS_VIRTUAL_ADDRESS; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl SyntaxError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 126 | fn new(line: usize, column: usize, message: &'static str) -> Self { [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] --> src/stream.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(read: R) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | bytes: read.bytes(), [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/compiler.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let (token, line, column) = parse(&mut stream)?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `column` [INFO] [stdout] --> src/compiler.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | let (token, line, column) = parse(&mut stream)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_column` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brainrust` (bin "brainrust" test) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/assembler.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Assembler<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | fn cmp_r10_r11(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn cmp_r13_rbp(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn jge(&mut self, label: Self::Label); [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | fn jmp(&mut self, label: Self::Label); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn mov_r11_rax(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | fn mov_r12_u64(&mut self, operand: u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | fn mov_r12_rax(&mut self); [INFO] [stdout] 43 | fn mov_r13_u32(&mut self, operand: u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn mov_rbp_u64(&mut self, operand: u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn mov_rdx_r12(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn sub_r8_r9(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn xor_r11_r11(&mut self); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BSS_SIZE` is never used [INFO] [stdout] --> src/elf.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | pub const MAX_BSS_SIZE: u64 = (1 + 0x7fffffffffff) - BSS_VIRTUAL_ADDRESS; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl SyntaxError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 126 | fn new(line: usize, column: usize, message: &'static str) -> Self { [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] --> src/stream.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(read: R) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 16 | bytes: read.bytes(), [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `brainrust` (bin "brainrust") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0600e75e3a51f6d9f5e1b84a80eea751df3838dea95e0bddb57933c96b92db1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0600e75e3a51f6d9f5e1b84a80eea751df3838dea95e0bddb57933c96b92db1c", kill_on_drop: false }` [INFO] [stdout] 0600e75e3a51f6d9f5e1b84a80eea751df3838dea95e0bddb57933c96b92db1c