[INFO] cloning repository https://github.com/Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRust-Compiler-Spring-2023%2FBytecode-Virtual-Machine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRust-Compiler-Spring-2023%2FBytecode-Virtual-Machine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8f955011c33250dedae39344b8bdf970724d508 [INFO] building Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRust-Compiler-Spring-2023%2FBytecode-Virtual-Machine" "/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/Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine [INFO] finished tweaking git repo https://github.com/Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine [INFO] tweaked toml for git repo https://github.com/Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Rust-Compiler-Spring-2023/Bytecode-Virtual-Machine 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c10de7f26e87601b5603a2abf912da76d376bdef9db76a3de7a79d243b9924e [INFO] running `Command { std: "docker" "start" "-a" "6c10de7f26e87601b5603a2abf912da76d376bdef9db76a3de7a79d243b9924e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c10de7f26e87601b5603a2abf912da76d376bdef9db76a3de7a79d243b9924e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c10de7f26e87601b5603a2abf912da76d376bdef9db76a3de7a79d243b9924e", kill_on_drop: false }` [INFO] [stdout] 6c10de7f26e87601b5603a2abf912da76d376bdef9db76a3de7a79d243b9924e [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7666fb1f1920bcaa1cf590b55735bec7cfa0c88f97ad2a96168352ef72d51dba [INFO] running `Command { std: "docker" "start" "-a" "7666fb1f1920bcaa1cf590b55735bec7cfa0c88f97ad2a96168352ef72d51dba", kill_on_drop: false }` [INFO] [stderr] Compiling bytecode-vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::chunk::*` [INFO] [stdout] --> src/debug.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chunk::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::*` [INFO] [stdout] --> src/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::debug::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::*` [INFO] [stdout] --> src/compiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::debug::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/vm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/compiler.rs:770:13 [INFO] [stdout] | [INFO] [stdout] 767 | match &self.curr_compiler.borrow().function.borrow().name { [INFO] [stdout] | --------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 770 | } [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/compiler.rs:868:71 [INFO] [stdout] | [INFO] [stdout] 868 | self.curr_compiler.borrow_mut().locals.borrow_mut().push(local) [INFO] [stdout] | ------------------------------- ^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `char_at` is never used [INFO] [stdout] --> src/compiler.rs:1230:8 [INFO] [stdout] | [INFO] [stdout] 1224 | trait StringUtils { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 1230 | fn char_at(&mut self, index_pos: usize) -> char; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bytecode-vm` (bin "bytecode-vm") due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7666fb1f1920bcaa1cf590b55735bec7cfa0c88f97ad2a96168352ef72d51dba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7666fb1f1920bcaa1cf590b55735bec7cfa0c88f97ad2a96168352ef72d51dba", kill_on_drop: false }` [INFO] [stdout] 7666fb1f1920bcaa1cf590b55735bec7cfa0c88f97ad2a96168352ef72d51dba