[INFO] cloning repository https://github.com/rafald1/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/rafald1/codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafald1%2Fcodecrafters-git-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafald1%2Fcodecrafters-git-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b164b1f0ccba25bbfbf6b93a50978214efb30df [INFO] testing rafald1/codecrafters-git-rust against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafald1%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/rafald1/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/rafald1/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/rafald1/codecrafters-git-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rafald1/codecrafters-git-rust on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rafald1/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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.91 [INFO] [stderr] Downloaded itoa v1.0.13 [INFO] [stderr] Downloaded rustix v0.38.41 [INFO] [stderr] Downloaded url v2.5.3 [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" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 361783a366f91be2e92740c91865d4b74652ccc4e38a3654d44f463ec641a94a [INFO] running `Command { std: "docker" "start" "-a" "361783a366f91be2e92740c91865d4b74652ccc4e38a3654d44f463ec641a94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "361783a366f91be2e92740c91865d4b74652ccc4e38a3654d44f463ec641a94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361783a366f91be2e92740c91865d4b74652ccc4e38a3654d44f463ec641a94a", kill_on_drop: false }` [INFO] [stdout] 361783a366f91be2e92740c91865d4b74652ccc4e38a3654d44f463ec641a94a [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" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e1cb5794bd3ef99297cf99ad7a14584b24ceadc54b33d117bcef6ebd005918c [INFO] running `Command { std: "docker" "start" "-a" "9e1cb5794bd3ef99297cf99ad7a14584b24ceadc54b33d117bcef6ebd005918c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling codecrafters-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.11s [INFO] running `Command { std: "docker" "inspect" "9e1cb5794bd3ef99297cf99ad7a14584b24ceadc54b33d117bcef6ebd005918c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e1cb5794bd3ef99297cf99ad7a14584b24ceadc54b33d117bcef6ebd005918c", kill_on_drop: false }` [INFO] [stdout] 9e1cb5794bd3ef99297cf99ad7a14584b24ceadc54b33d117bcef6ebd005918c [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" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c01a45f7d888a8d3468360bc44bd041087331ec67f0ab3c163f8e0171fab31f0 [INFO] running `Command { std: "docker" "start" "-a" "c01a45f7d888a8d3468360bc44bd041087331ec67f0ab3c163f8e0171fab31f0", kill_on_drop: false }` [INFO] [stderr] Compiling codecrafters-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "c01a45f7d888a8d3468360bc44bd041087331ec67f0ab3c163f8e0171fab31f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c01a45f7d888a8d3468360bc44bd041087331ec67f0ab3c163f8e0171fab31f0", kill_on_drop: false }` [INFO] [stdout] c01a45f7d888a8d3468360bc44bd041087331ec67f0ab3c163f8e0171fab31f0 [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" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f77e0dbc5302609c65358635a727c05244a8aad1a1ffce376b6c86e653f419ef [INFO] running `Command { std: "docker" "start" "-a" "f77e0dbc5302609c65358635a727c05244a8aad1a1ffce376b6c86e653f419ef", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_git-eebbd6185baf6636) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test commands::clone::tests::test_building_fetch_request_body ... ok [INFO] [stdout] test commands::clone::tests::test_response_validator_with_valid_input ... ok [INFO] [stdout] test commands::clone::tests::test_extracting_refs_from_response_with_pull_requests ... ok [INFO] [stdout] test commands::clone::tests::test_response_validator_with_invalid_input ... ok [INFO] [stdout] test commands::clone::tests::test_extracting_refs_from_simple_response ... ok [INFO] [stdout] test common::tests::test_constructing_git_object_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f77e0dbc5302609c65358635a727c05244a8aad1a1ffce376b6c86e653f419ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77e0dbc5302609c65358635a727c05244a8aad1a1ffce376b6c86e653f419ef", kill_on_drop: false }` [INFO] [stdout] f77e0dbc5302609c65358635a727c05244a8aad1a1ffce376b6c86e653f419ef