[INFO] cloning repository https://github.com/marnagy/huff-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marnagy/huff-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarnagy%2Fhuff-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarnagy%2Fhuff-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f573e72a3ebbfe35c2e7ec693d6845cee6b7681 [INFO] testing marnagy/huff-rs against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarnagy%2Fhuff-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marnagy/huff-rs on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marnagy/huff-rs [INFO] finished tweaking git repo https://github.com/marnagy/huff-rs [INFO] tweaked toml for git repo https://github.com/marnagy/huff-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/marnagy/huff-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 810f5bcdc6f1b4c19400a411a0db8cd8d67e7c17782202c6ebbed9e56490dcb1 [INFO] running `Command { std: "docker" "start" "-a" "810f5bcdc6f1b4c19400a411a0db8cd8d67e7c17782202c6ebbed9e56490dcb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "810f5bcdc6f1b4c19400a411a0db8cd8d67e7c17782202c6ebbed9e56490dcb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810f5bcdc6f1b4c19400a411a0db8cd8d67e7c17782202c6ebbed9e56490dcb1", kill_on_drop: false }` [INFO] [stdout] 810f5bcdc6f1b4c19400a411a0db8cd8d67e7c17782202c6ebbed9e56490dcb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d512dfe95a12b214bc9b538c2321fc316501980573091312f6ffaed06da1e18a [INFO] running `Command { std: "docker" "start" "-a" "d512dfe95a12b214bc9b538c2321fc316501980573091312f6ffaed06da1e18a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling huff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `root_node` [INFO] [stdout] --> src/main.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | let root_node: TreeNode; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `root` is assigned to, but never used [INFO] [stdout] --> src/main.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | let root; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_root` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `root` is never read [INFO] [stdout] --> src/main.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | root = load_tree(source); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/main.rs:347:41 [INFO] [stdout] | [INFO] [stdout] 347 | fn decode(source: &mut BufReader, output: &mut BufWriter) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `next` does not live long enough [INFO] [stdout] --> src/main.rs:317:30 [INFO] [stdout] | [INFO] [stdout] 316 | root = match root { [INFO] [stdout] | ---- borrow later used here [INFO] [stdout] 317 | None => Some(&next), [INFO] [stdout] | ^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 326 | } else { [INFO] [stdout] | - `next` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `next` because it is borrowed [INFO] [stdout] --> src/main.rs:325:29 [INFO] [stdout] | [INFO] [stdout] 316 | root = match root { [INFO] [stdout] | ---- borrow later used here [INFO] [stdout] 317 | None => Some(&next), [INFO] [stdout] | ----- borrow of `next` occurs here [INFO] [stdout] ... [INFO] [stdout] 325 | node_stack.push(next); [INFO] [stdout] | ^^^^ move out of `next` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `huff` due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d512dfe95a12b214bc9b538c2321fc316501980573091312f6ffaed06da1e18a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d512dfe95a12b214bc9b538c2321fc316501980573091312f6ffaed06da1e18a", kill_on_drop: false }` [INFO] [stdout] d512dfe95a12b214bc9b538c2321fc316501980573091312f6ffaed06da1e18a