[INFO] cloning repository https://github.com/k4g4/codecrafters-git-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/k4g4/codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk4g4%2Fcodecrafters-git-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk4g4%2Fcodecrafters-git-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d998d9a4528ccb52e34c0e2f07fd7e1457f50a9 [INFO] building k4g4/codecrafters-git-rust against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk4g4%2Fcodecrafters-git-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/k4g4/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/k4g4/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/k4g4/codecrafters-git-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/k4g4/codecrafters-git-rust on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/k4g4/codecrafters-git-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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bb116a841db9df17ad9bcd8b0393aa33b0b2e759938da20d647f80f1a90f00b [INFO] running `Command { std: "docker" "start" "-a" "0bb116a841db9df17ad9bcd8b0393aa33b0b2e759938da20d647f80f1a90f00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bb116a841db9df17ad9bcd8b0393aa33b0b2e759938da20d647f80f1a90f00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bb116a841db9df17ad9bcd8b0393aa33b0b2e759938da20d647f80f1a90f00b", kill_on_drop: false }` [INFO] [stdout] 0bb116a841db9df17ad9bcd8b0393aa33b0b2e759938da20d647f80f1a90f00b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48dce64f7d327eba2fb64d5b4ae6fb0a84fcd04e46ebbc6adbfa3021e9b4c552 [INFO] running `Command { std: "docker" "start" "-a" "48dce64f7d327eba2fb64d5b4ae6fb0a84fcd04e46ebbc6adbfa3021e9b4c552", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.3 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling clap v4.5.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.26 [INFO] [stderr] Compiling git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsing.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 312 | service: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 313 | ) -> impl Fn(&'a [u8]) -> IResult<&[u8], Vec<([u8; SHA_DISPLAY_LEN], &str)>, Error> { [INFO] [stdout] | -- ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 313 | ) -> impl Fn(&'a [u8]) -> IResult<&'a [u8], Vec<([u8; SHA_DISPLAY_LEN], &'a str)>, Error> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.63s [INFO] running `Command { std: "docker" "inspect" "48dce64f7d327eba2fb64d5b4ae6fb0a84fcd04e46ebbc6adbfa3021e9b4c552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48dce64f7d327eba2fb64d5b4ae6fb0a84fcd04e46ebbc6adbfa3021e9b4c552", kill_on_drop: false }` [INFO] [stdout] 48dce64f7d327eba2fb64d5b4ae6fb0a84fcd04e46ebbc6adbfa3021e9b4c552 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bd9ffc5cce75ccc64e0e3a2788025f687a1ba89b0a36b5e2921beec214137e2 [INFO] running `Command { std: "docker" "start" "-a" "1bd9ffc5cce75ccc64e0e3a2788025f687a1ba89b0a36b5e2921beec214137e2", kill_on_drop: false }` [INFO] [stderr] Compiling git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | struct Setup(MutexGuard<'static, ()>); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parsing.rs:313:35 [INFO] [stdout] | [INFO] [stdout] 312 | service: &'a str, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 313 | ) -> impl Fn(&'a [u8]) -> IResult<&[u8], Vec<([u8; SHA_DISPLAY_LEN], &str)>, Error> { [INFO] [stdout] | -- ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the same lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 313 | ) -> impl Fn(&'a [u8]) -> IResult<&'a [u8], Vec<([u8; SHA_DISPLAY_LEN], &'a str)>, Error> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cmds.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Setup(MutexGuard<'static, ()>); [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "1bd9ffc5cce75ccc64e0e3a2788025f687a1ba89b0a36b5e2921beec214137e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd9ffc5cce75ccc64e0e3a2788025f687a1ba89b0a36b5e2921beec214137e2", kill_on_drop: false }` [INFO] [stdout] 1bd9ffc5cce75ccc64e0e3a2788025f687a1ba89b0a36b5e2921beec214137e2