[INFO] cloning repository https://github.com/andreagnzz/git-codecraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreagnzz/git-codecraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreagnzz%2Fgit-codecraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreagnzz%2Fgit-codecraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 579f4951b4a6156076c0278e4cc220d6e71dd7a8 [INFO] testing andreagnzz/git-codecraft against try#8da20828b6ea601dfd8e2448cb50ace88876bd78 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreagnzz%2Fgit-codecraft" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andreagnzz/git-codecraft [INFO] finished tweaking git repo https://github.com/andreagnzz/git-codecraft [INFO] tweaked toml for git repo https://github.com/andreagnzz/git-codecraft written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andreagnzz/git-codecraft on toolchain 8da20828b6ea601dfd8e2448cb50ace88876bd78 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andreagnzz/git-codecraft 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" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc095be39b9f5e5aef1ae6bfe1d9f5878d86e99dda083151e89f8ccedc586cab [INFO] running `Command { std: "docker" "start" "-a" "fc095be39b9f5e5aef1ae6bfe1d9f5878d86e99dda083151e89f8ccedc586cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc095be39b9f5e5aef1ae6bfe1d9f5878d86e99dda083151e89f8ccedc586cab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc095be39b9f5e5aef1ae6bfe1d9f5878d86e99dda083151e89f8ccedc586cab", kill_on_drop: false }` [INFO] [stdout] fc095be39b9f5e5aef1ae6bfe1d9f5878d86e99dda083151e89f8ccedc586cab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c725deddad0ed9fc185c64d00f490e3daf91a562ff0877596fcb113e2ab94256 [INFO] running `Command { std: "docker" "start" "-a" "c725deddad0ed9fc185c64d00f490e3daf91a562ff0877596fcb113e2ab94256", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling codecrafters-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{prelude::*, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s [INFO] running `Command { std: "docker" "inspect" "c725deddad0ed9fc185c64d00f490e3daf91a562ff0877596fcb113e2ab94256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c725deddad0ed9fc185c64d00f490e3daf91a562ff0877596fcb113e2ab94256", kill_on_drop: false }` [INFO] [stdout] c725deddad0ed9fc185c64d00f490e3daf91a562ff0877596fcb113e2ab94256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ade9e78ea0486a2da9cd35e112d1d1e4d7d41008d557fdbb5b4f75a3e96976c3 [INFO] running `Command { std: "docker" "start" "-a" "ade9e78ea0486a2da9cd35e112d1d1e4d7d41008d557fdbb5b4f75a3e96976c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling codecrafters-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/main.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{prelude::*, BufReader}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.47s [INFO] running `Command { std: "docker" "inspect" "ade9e78ea0486a2da9cd35e112d1d1e4d7d41008d557fdbb5b4f75a3e96976c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade9e78ea0486a2da9cd35e112d1d1e4d7d41008d557fdbb5b4f75a3e96976c3", kill_on_drop: false }` [INFO] [stdout] ade9e78ea0486a2da9cd35e112d1d1e4d7d41008d557fdbb5b4f75a3e96976c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+8da20828b6ea601dfd8e2448cb50ace88876bd78" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e540171aeceee1311b56cd4715f3f9b6b9fc7c4d76f0d177779a6fc8c61f72cf [INFO] running `Command { std: "docker" "start" "-a" "e540171aeceee1311b56cd4715f3f9b6b9fc7c4d76f0d177779a6fc8c61f72cf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `BufReader` [INFO] [stderr] --> src/main.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::{prelude::*, BufReader}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `codecrafters-git` (bin "codecrafters-git" test) generated 1 warning (run `cargo fix --bin "codecrafters-git" -p codecrafters-git --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codecrafters_git-5fd263e1a2199527) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_init_creates_git_structure ... ok [INFO] [stdout] test tests::test_read_object_integrity ... ok [INFO] [stdout] test tests::test_hash_object_blob ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e540171aeceee1311b56cd4715f3f9b6b9fc7c4d76f0d177779a6fc8c61f72cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e540171aeceee1311b56cd4715f3f9b6b9fc7c4d76f0d177779a6fc8c61f72cf", kill_on_drop: false }` [INFO] [stdout] e540171aeceee1311b56cd4715f3f9b6b9fc7c4d76f0d177779a6fc8c61f72cf