[INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] error: failed to write new configuration file /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox/config.lock [INFO] [stderr] fatal: could not set 'core.filemode' to 'true' [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/push-to-checkout.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox/hooks/push-to-checkout.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/pants721/lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pants721/lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7b2d6f7458e1670e01545f15ca8e7fa04e4169b [INFO] checking pants721/lox against master#ecb170afc878648c3ae355dbd596c8e4b6f7ebdc for pr-139022 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpants721%2Flox" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pants721/lox on toolchain ecb170afc878648c3ae355dbd596c8e4b6f7ebdc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pants721/lox [INFO] finished tweaking git repo https://github.com/pants721/lox [INFO] tweaked toml for git repo https://github.com/pants721/lox written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pants721/lox 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" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73c97acafefbeef3c030cccf14f6f57173ae3eaaea06fee84925dc12552496b7 [INFO] running `Command { std: "docker" "start" "-a" "73c97acafefbeef3c030cccf14f6f57173ae3eaaea06fee84925dc12552496b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73c97acafefbeef3c030cccf14f6f57173ae3eaaea06fee84925dc12552496b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73c97acafefbeef3c030cccf14f6f57173ae3eaaea06fee84925dc12552496b7", kill_on_drop: false }` [INFO] [stdout] 73c97acafefbeef3c030cccf14f6f57173ae3eaaea06fee84925dc12552496b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+ecb170afc878648c3ae355dbd596c8e4b6f7ebdc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51bd9f070fb69ccfa76c2149f969c8b036cf0c9f4664efe5e913b6346e3b5f9d [INFO] running `Command { std: "docker" "start" "-a" "51bd9f070fb69ccfa76c2149f969c8b036cf0c9f4664efe5e913b6346e3b5f9d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking codecrafters-interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parser::Visitor` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::Visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `type_name_of_val` [INFO] [stdout] --> src/interpreter.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, type_name_of_val}, fmt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/interpreter.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/interpreter.rs:6:72 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{lox_error_str, parser::{Expr, Visitor}, scanner::{Literal, Token, TokenType}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::Visitor` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::Visitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `type_name_of_val` [INFO] [stdout] --> src/interpreter.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, type_name_of_val}, fmt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/interpreter.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/interpreter.rs:6:72 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{lox_error_str, parser::{Expr, Visitor}, scanner::{Literal, Token, TokenType}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/interpreter.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/interpreter.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 38 | Expr::Literal { val } => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | Expr::Grouping { lhs: _, expr, rhs: _ } => self.visit_expr(expr), [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] 56 | Expr::Unary { lhs, expr } => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Expr::Binary { lhs, op, rhs } => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 149 | _ => unreachable!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `rhs` are never read [INFO] [stdout] --> src/parser.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Grouping { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 40 | lhs: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | expr: Box, [INFO] [stdout] 42 | rhs: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `synchronize` is never used [INFO] [stdout] --> src/parser.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/interpreter.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | _ => unreachable!() [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/interpreter.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 38 | Expr::Literal { val } => { [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 55 | Expr::Grouping { lhs: _, expr, rhs: _ } => self.visit_expr(expr), [INFO] [stdout] | --------------------------------------- matches some of the same values [INFO] [stdout] 56 | Expr::Unary { lhs, expr } => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 75 | Expr::Binary { lhs, op, rhs } => { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 149 | _ => unreachable!() [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lhs` and `rhs` are never read [INFO] [stdout] --> src/parser.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | Grouping { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 40 | lhs: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | expr: Box, [INFO] [stdout] 42 | rhs: Token, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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 `synchronize` is never used [INFO] [stdout] --> src/parser.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "51bd9f070fb69ccfa76c2149f969c8b036cf0c9f4664efe5e913b6346e3b5f9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51bd9f070fb69ccfa76c2149f969c8b036cf0c9f4664efe5e913b6346e3b5f9d", kill_on_drop: false }` [INFO] [stdout] 51bd9f070fb69ccfa76c2149f969c8b036cf0c9f4664efe5e913b6346e3b5f9d