[INFO] cloning repository https://github.com/AktugHakan/homemade-grep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AktugHakan/homemade-grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAktugHakan%2Fhomemade-grep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAktugHakan%2Fhomemade-grep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 543f45b7292e19a765cdc2e688fd1976709ef935
[INFO] checking AktugHakan/homemade-grep against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146470
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAktugHakan%2Fhomemade-grep" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AktugHakan/homemade-grep
[INFO] finished tweaking git repo https://github.com/AktugHakan/homemade-grep
[INFO] tweaked toml for git repo https://github.com/AktugHakan/homemade-grep written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AktugHakan/homemade-grep on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AktugHakan/homemade-grep 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v2.0.75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] af3eb90a5b32509bf07a45be1b143fa01c2898b099ff1fda67e8dc1dab8cf8c0
[INFO] running `Command { std: "docker" "start" "-a" "af3eb90a5b32509bf07a45be1b143fa01c2898b099ff1fda67e8dc1dab8cf8c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af3eb90a5b32509bf07a45be1b143fa01c2898b099ff1fda67e8dc1dab8cf8c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af3eb90a5b32509bf07a45be1b143fa01c2898b099ff1fda67e8dc1dab8cf8c0", kill_on_drop: false }`
[INFO] [stdout] af3eb90a5b32509bf07a45be1b143fa01c2898b099ff1fda67e8dc1dab8cf8c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3fdb4a9f5cfe9a32ce9e9d4e8f9a121d41c87981542f813a98f11b2ddc91d4f2
[INFO] running `Command { std: "docker" "start" "-a" "3fdb4a9f5cfe9a32ce9e9d4e8f9a121d41c87981542f813a98f11b2ddc91d4f2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking bytes v1.7.1
[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-grep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `RegExPattern` is never used
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum RegExPattern {
[INFO] [stdout]   |      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RegExResult` is never used
[INFO] [stdout]   --> src/main.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum RegExResult {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegExState` is never constructed
[INFO] [stdout]   --> src/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct RegExState<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check` is never used
[INFO] [stdout]   --> src/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl RegExPattern {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 32 |     fn check(&self, state: &RegExState) -> RegExResult {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_pattern` is never used
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn parse_pattern(pattern_text: &str) -> Vec<RegExPattern> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Repeat` is never constructed
[INFO] [stdout]   --> src/regex.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum RegexAST {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Repeat {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RegexAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_match` is never used
[INFO] [stdout]   --> src/regex.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl RegexAST {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 30 |     /// Test if the entire string matches this regex pattern
[INFO] [stdout] 31 |     pub fn is_match(&self, text: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `test_string` is never used
[INFO] [stdout]    --> src/regex.rs:562:12
[INFO] [stdout]     |
[INFO] [stdout] 320 | impl RegexAST {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 562 |     pub fn test_string(&self, text: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RegExPattern` is never used
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum RegExPattern {
[INFO] [stdout]   |      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RegExResult` is never used
[INFO] [stdout]   --> src/main.rs:19:6
[INFO] [stdout]    |
[INFO] [stdout] 19 | enum RegExResult {
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RegExState` is never constructed
[INFO] [stdout]   --> src/main.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct RegExState<'a> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `check` is never used
[INFO] [stdout]   --> src/main.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl RegExPattern {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] 32 |     fn check(&self, state: &RegExState) -> RegExResult {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `parse_pattern` is never used
[INFO] [stdout]   --> src/main.rs:82:4
[INFO] [stdout]    |
[INFO] [stdout] 82 | fn parse_pattern(pattern_text: &str) -> Vec<RegExPattern> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Repeat` is never constructed
[INFO] [stdout]   --> src/regex.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum RegexAST {
[INFO] [stdout]    |          -------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 12 |     Repeat {
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RegexAST` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_match` is never used
[INFO] [stdout]   --> src/regex.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl RegexAST {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 30 |     /// Test if the entire string matches this regex pattern
[INFO] [stdout] 31 |     pub fn is_match(&self, text: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `test_string` is never used
[INFO] [stdout]    --> src/regex.rs:562:12
[INFO] [stdout]     |
[INFO] [stdout] 320 | impl RegexAST {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 562 |     pub fn test_string(&self, text: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s
[INFO] running `Command { std: "docker" "inspect" "3fdb4a9f5cfe9a32ce9e9d4e8f9a121d41c87981542f813a98f11b2ddc91d4f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fdb4a9f5cfe9a32ce9e9d4e8f9a121d41c87981542f813a98f11b2ddc91d4f2", kill_on_drop: false }`
[INFO] [stdout] 3fdb4a9f5cfe9a32ce9e9d4e8f9a121d41c87981542f813a98f11b2ddc91d4f2
