[INFO] cloning repository https://github.com/kenta7777/mini-c-compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kenta7777/mini-c-compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenta7777%2Fmini-c-compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenta7777%2Fmini-c-compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 712272bd6bf02f5b86cd652aea244bbb9fb90fc0 [INFO] testing kenta7777/mini-c-compiler against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenta7777%2Fmini-c-compiler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kenta7777/mini-c-compiler [INFO] finished tweaking git repo https://github.com/kenta7777/mini-c-compiler [INFO] tweaked toml for git repo https://github.com/kenta7777/mini-c-compiler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kenta7777/mini-c-compiler on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kenta7777/mini-c-compiler 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing kenta7777/mini-c-compiler against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkenta7777%2Fmini-c-compiler" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kenta7777/mini-c-compiler [INFO] finished tweaking git repo https://github.com/kenta7777/mini-c-compiler [INFO] tweaked toml for git repo https://github.com/kenta7777/mini-c-compiler written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kenta7777/mini-c-compiler on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kenta7777/mini-c-compiler 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea1df21dd8f05bc4d6f51df546a0b98698fbb85d02b552ad8caa66f80fe2308a [INFO] running `Command { std: "docker" "start" "-a" "ea1df21dd8f05bc4d6f51df546a0b98698fbb85d02b552ad8caa66f80fe2308a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea1df21dd8f05bc4d6f51df546a0b98698fbb85d02b552ad8caa66f80fe2308a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1df21dd8f05bc4d6f51df546a0b98698fbb85d02b552ad8caa66f80fe2308a", kill_on_drop: false }` [INFO] [stdout] ea1df21dd8f05bc4d6f51df546a0b98698fbb85d02b552ad8caa66f80fe2308a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 10e1cd6c651383fae818c6c4f5bf1c50962e6a976d805e405930e13213108d94 [INFO] running `Command { std: "docker" "start" "-a" "10e1cd6c651383fae818c6c4f5bf1c50962e6a976d805e405930e13213108d94", kill_on_drop: false }` [INFO] [stderr] Compiling mini-c-compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/parser.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let node = new_node(NodeKind::Add, node, mul()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/parser.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | let node = new_node(NodeKind::Sub, node, mul()); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `node` [INFO] [stdout] --> src/parser.rs:52:56 [INFO] [stdout] | [INFO] [stdout] 46 | let node = mul(); [INFO] [stdout] | ---- move occurs because `node` has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 49 | while let Some(&token) = tokens.peek() { [INFO] [stdout] | -------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | inside of this loop [INFO] [stdout] | inside of this loop [INFO] [stdout] ... [INFO] [stdout] 52 | let node = new_node(NodeKind::Add, node, mul()); [INFO] [stdout] | ^^^^ value moved here, in previous iteration of loop [INFO] [stdout] ... [INFO] [stdout] 55 | let node = new_node(NodeKind::Sub, node, mul()); [INFO] [stdout] | ---- value moved here, in previous iteration of loop [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `new_node` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/parser.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_node(kind: NodeKind, lhs: Box, rhs: Box) -> Box { [INFO] [stdout] | -------- in this function ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] note: consider changing this parameter type in function `new_node` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/parser.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | fn new_node(kind: NodeKind, lhs: Box, rhs: Box) -> Box { [INFO] [stdout] | -------- in this function ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 49 ~ let mut value = new_node(NodeKind::Sub, node, mul()); [INFO] [stdout] 50 ~ while let Some(&token) = tokens.peek() { [INFO] [stdout] 51 | match *token { [INFO] [stdout] ... [INFO] [stdout] 55 | TokenKind::Minus => { [INFO] [stdout] 56 ~ let node = value; [INFO] [stdout] | [INFO] [stdout] help: consider moving the expression out of the loop so it is only moved once [INFO] [stdout] | [INFO] [stdout] 49 ~ let mut value = new_node(NodeKind::Add, node, mul()); [INFO] [stdout] 50 ~ while let Some(&token) = tokens.peek() { [INFO] [stdout] 51 | match *token { [INFO] [stdout] 52 | TokenKind::Plus => { [INFO] [stdout] 53 ~ let node = value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mini-c-compiler` (bin "mini-c-compiler") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "10e1cd6c651383fae818c6c4f5bf1c50962e6a976d805e405930e13213108d94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10e1cd6c651383fae818c6c4f5bf1c50962e6a976d805e405930e13213108d94", kill_on_drop: false }` [INFO] [stdout] 10e1cd6c651383fae818c6c4f5bf1c50962e6a976d805e405930e13213108d94