[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#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fk4g4%2Fcodecrafters-git-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] 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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/k4g4/codecrafters-git-rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cce1623576422c6c6ef4949a5cc41a57db360a732daecacf1023cc7f0fd2de0c [INFO] running `Command { std: "docker" "start" "-a" "cce1623576422c6c6ef4949a5cc41a57db360a732daecacf1023cc7f0fd2de0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cce1623576422c6c6ef4949a5cc41a57db360a732daecacf1023cc7f0fd2de0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce1623576422c6c6ef4949a5cc41a57db360a732daecacf1023cc7f0fd2de0c", kill_on_drop: false }` [INFO] [stdout] cce1623576422c6c6ef4949a5cc41a57db360a732daecacf1023cc7f0fd2de0c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41a56db8111b63e77cf1d393a4f26e7261d8904fff2fcca644ce7fe5341023b5 [INFO] running `Command { std: "docker" "start" "-a" "41a56db8111b63e77cf1d393a4f26e7261d8904fff2fcca644ce7fe5341023b5", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling chrono v0.4.35 [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 47.24s [INFO] running `Command { std: "docker" "inspect" "41a56db8111b63e77cf1d393a4f26e7261d8904fff2fcca644ce7fe5341023b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a56db8111b63e77cf1d393a4f26e7261d8904fff2fcca644ce7fe5341023b5", kill_on_drop: false }` [INFO] [stdout] 41a56db8111b63e77cf1d393a4f26e7261d8904fff2fcca644ce7fe5341023b5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89020a6d2960cdffea99256ab638bd3c5cdbe66d448307fcfddeeabd7bfa4d16 [INFO] running `Command { std: "docker" "start" "-a" "89020a6d2960cdffea99256ab638bd3c5cdbe66d448307fcfddeeabd7bfa4d16", kill_on_drop: false }` [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] [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.30s [INFO] running `Command { std: "docker" "inspect" "89020a6d2960cdffea99256ab638bd3c5cdbe66d448307fcfddeeabd7bfa4d16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89020a6d2960cdffea99256ab638bd3c5cdbe66d448307fcfddeeabd7bfa4d16", kill_on_drop: false }` [INFO] [stdout] 89020a6d2960cdffea99256ab638bd3c5cdbe66d448307fcfddeeabd7bfa4d16