[INFO] cloning repository https://github.com/suguni/codecrafters-grep-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suguni/codecrafters-grep-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Fcodecrafters-grep-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Fcodecrafters-grep-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d718ae825425c2e30f4da3255c47822b0662fe24 [INFO] checking suguni/codecrafters-grep-rust against try#c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 for pr-145463 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuguni%2Fcodecrafters-grep-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/suguni/codecrafters-grep-rust [INFO] finished tweaking git repo https://github.com/suguni/codecrafters-grep-rust [INFO] tweaked toml for git repo https://github.com/suguni/codecrafters-grep-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/suguni/codecrafters-grep-rust on toolchain c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/suguni/codecrafters-grep-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" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 952c7b9a4391dbd92999cfe696b3291bc88f71658014ed773dae2f2848dc10c5 [INFO] running `Command { std: "docker" "start" "-a" "952c7b9a4391dbd92999cfe696b3291bc88f71658014ed773dae2f2848dc10c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "952c7b9a4391dbd92999cfe696b3291bc88f71658014ed773dae2f2848dc10c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "952c7b9a4391dbd92999cfe696b3291bc88f71658014ed773dae2f2848dc10c5", kill_on_drop: false }` [INFO] [stdout] 952c7b9a4391dbd92999cfe696b3291bc88f71658014ed773dae2f2848dc10c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c6f1a85c8f06c93ddc6200caf413929a2e7e7dd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3144db03feab70b588d2669f06832da12eabe38d8b098706f7622e0d573452e [INFO] running `Command { std: "docker" "start" "-a" "d3144db03feab70b588d2669f06832da12eabe38d8b098706f7622e0d573452e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling anyhow 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn extract_pattern(pattern: &[char]) -> (CharCls, Quantifier, usize) { [INFO] [stdout] | ^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | fn extract_pattern(pattern: &[char]) -> (CharCls<'_>, Quantifier, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | fn extract_char_class(pattern: &[char]) -> (CharCls, usize) { [INFO] [stdout] | ^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn extract_char_class(pattern: &[char]) -> (CharCls<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn extract_pattern(pattern: &[char]) -> (CharCls, Quantifier, usize) { [INFO] [stdout] | ^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | fn extract_pattern(pattern: &[char]) -> (CharCls<'_>, Quantifier, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:126:32 [INFO] [stdout] | [INFO] [stdout] 126 | fn extract_char_class(pattern: &[char]) -> (CharCls, usize) { [INFO] [stdout] | ^^^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | fn extract_char_class(pattern: &[char]) -> (CharCls<'_>, usize) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.15s [INFO] running `Command { std: "docker" "inspect" "d3144db03feab70b588d2669f06832da12eabe38d8b098706f7622e0d573452e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3144db03feab70b588d2669f06832da12eabe38d8b098706f7622e0d573452e", kill_on_drop: false }` [INFO] [stdout] d3144db03feab70b588d2669f06832da12eabe38d8b098706f7622e0d573452e