[INFO] cloning repository https://github.com/kizzandev/codecrafters-interpreter-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kizzandev/codecrafters-interpreter-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkizzandev%2Fcodecrafters-interpreter-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkizzandev%2Fcodecrafters-interpreter-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee188ef66d308e256af4272aaa438a4a5b01e34b [INFO] checking kizzandev/codecrafters-interpreter-rust against master#83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5 for pr-128425 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkizzandev%2Fcodecrafters-interpreter-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kizzandev/codecrafters-interpreter-rust on toolchain 83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kizzandev/codecrafters-interpreter-rust [INFO] finished tweaking git repo https://github.com/kizzandev/codecrafters-interpreter-rust [INFO] tweaked toml for git repo https://github.com/kizzandev/codecrafters-interpreter-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kizzandev/codecrafters-interpreter-rust 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" "+83dcdb3a5dad0ed1e3e1fadc848d3f7727b41aa5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kizzandev/codecrafters-interpreter-rust against try#063c08dd8db6ff113bb809c130456f1781abe72c for pr-128425 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkizzandev%2Fcodecrafters-interpreter-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kizzandev/codecrafters-interpreter-rust on toolchain 063c08dd8db6ff113bb809c130456f1781abe72c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+063c08dd8db6ff113bb809c130456f1781abe72c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kizzandev/codecrafters-interpreter-rust [INFO] finished tweaking git repo https://github.com/kizzandev/codecrafters-interpreter-rust [INFO] tweaked toml for git repo https://github.com/kizzandev/codecrafters-interpreter-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kizzandev/codecrafters-interpreter-rust 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" "+063c08dd8db6ff113bb809c130456f1781abe72c" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+063c08dd8db6ff113bb809c130456f1781abe72c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 071df622545c6b2a480a9fddf982354369ed99f5d92f6ad19f80688f069228bc [INFO] running `Command { std: "docker" "start" "-a" "071df622545c6b2a480a9fddf982354369ed99f5d92f6ad19f80688f069228bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "071df622545c6b2a480a9fddf982354369ed99f5d92f6ad19f80688f069228bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "071df622545c6b2a480a9fddf982354369ed99f5d92f6ad19f80688f069228bc", kill_on_drop: false }` [INFO] [stdout] 071df622545c6b2a480a9fddf982354369ed99f5d92f6ad19f80688f069228bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+063c08dd8db6ff113bb809c130456f1781abe72c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00d87bcd6a740ae2fd8d3a15935c8a63acb92e2518d8f1a9561074f2fb9051ce [INFO] running `Command { std: "docker" "start" "-a" "00d87bcd6a740ae2fd8d3a15935c8a63acb92e2518d8f1a9561074f2fb9051ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Checking interpreter-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => "".to_string(), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/ast.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 42 | Expr::Number(n) => parse_number(n), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 43 | Expr::StringLiteral(s) => s.to_string(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 44 | Expr::Identifier(i) => i.to_string(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 45 | Expr::Character(c) => c.to_string(), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 46 | Expr::CharacterDouble(c1, c2) => format!("{c1}{c2}"), [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 47 | Expr::ReservedKeyword(k) => k.to_string(), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 48 | Expr::Unary { op, right } => format!("({op} {})", right.to_string()), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 49 | Expr::Binary { left, op, right } => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 52 | Expr::Comparison { left, op, right } => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 61 | Expr::Grouping(expr) => format!("(group {})", expr.to_string()), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 62 | _ => "".to_string(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ast.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | _ => "".to_string(), [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] note: these patterns collectively make the last one unreachable [INFO] [stdout] --> src/ast.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 42 | Expr::Number(n) => parse_number(n), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 43 | Expr::StringLiteral(s) => s.to_string(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 44 | Expr::Identifier(i) => i.to_string(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 45 | Expr::Character(c) => c.to_string(), [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 46 | Expr::CharacterDouble(c1, c2) => format!("{c1}{c2}"), [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] 47 | Expr::ReservedKeyword(k) => k.to_string(), [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 48 | Expr::Unary { op, right } => format!("({op} {})", right.to_string()), [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] 49 | Expr::Binary { left, op, right } => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 52 | Expr::Comparison { left, op, right } => { [INFO] [stdout] | ------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 61 | Expr::Grouping(expr) => format!("(group {})", expr.to_string()), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 62 | _ => "".to_string(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Character`, and `CharacterDouble` are never constructed [INFO] [stdout] --> src/ast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 4 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | Character(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | CharacterDouble(char, char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number` is never used [INFO] [stdout] --> src/parser.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn parse_number(n_raw: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Identifier`, `Character`, and `CharacterDouble` are never constructed [INFO] [stdout] --> src/ast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 4 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | Character(char), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | CharacterDouble(char, char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_number` is never used [INFO] [stdout] --> src/parser.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn parse_number(n_raw: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "00d87bcd6a740ae2fd8d3a15935c8a63acb92e2518d8f1a9561074f2fb9051ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00d87bcd6a740ae2fd8d3a15935c8a63acb92e2518d8f1a9561074f2fb9051ce", kill_on_drop: false }` [INFO] [stdout] 00d87bcd6a740ae2fd8d3a15935c8a63acb92e2518d8f1a9561074f2fb9051ce