[INFO] cloning repository https://github.com/razor389/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/razor389/codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frazor389%2Fcodecrafters-git-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frazor389%2Fcodecrafters-git-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7c5fc4b840513b8f1037a4ec1305fbcccb17bb9 [INFO] building razor389/codecrafters-git-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frazor389%2Fcodecrafters-git-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/razor389/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/razor389/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/razor389/codecrafters-git-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/razor389/codecrafters-git-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/razor389/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.19 [INFO] [stderr] Downloaded security-framework-sys v2.12.0 [INFO] [stderr] Downloaded regex v1.11.0 [INFO] [stderr] Downloaded clap_builder v4.5.19 [INFO] [stderr] Downloaded regex-automata v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbb5e6211c3850109e0e6ce26b738d30a2892d4614f70d98f36036fe59c5b85d [INFO] running `Command { std: "docker" "start" "-a" "bbb5e6211c3850109e0e6ce26b738d30a2892d4614f70d98f36036fe59c5b85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbb5e6211c3850109e0e6ce26b738d30a2892d4614f70d98f36036fe59c5b85d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb5e6211c3850109e0e6ce26b738d30a2892d4614f70d98f36036fe59c5b85d", kill_on_drop: false }` [INFO] [stdout] bbb5e6211c3850109e0e6ce26b738d30a2892d4614f70d98f36036fe59c5b85d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f77d2bb89f2b574319303b1155e14c0e0d9c62b1d0ae24895378ec36e6e70866 [INFO] running `Command { std: "docker" "start" "-a" "f77d2bb89f2b574319303b1155e14c0e0d9c62b1d0ae24895378ec36e6e70866", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling clap_builder v4.5.19 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling clap v4.5.19 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling codecrafters-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `message` is never read [INFO] [stdout] --> src/objects.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut message = String::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/main.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn format_timestamp(timestamp: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_directory_structure` is never used [INFO] [stdout] --> src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn print_directory_structure(path: &Path, depth: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbolic_ref` is never read [INFO] [stdout] --> src/req_packfile.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HeadRef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub symbolic_ref: String, // e.g., "HEAD" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeadRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capabilities` is never read [INFO] [stdout] --> src/req_packfile.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GitCapabilities { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 20 | pub refs: HashMap, // Changed to HashMap [INFO] [stdout] 21 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.93s [INFO] running `Command { std: "docker" "inspect" "f77d2bb89f2b574319303b1155e14c0e0d9c62b1d0ae24895378ec36e6e70866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f77d2bb89f2b574319303b1155e14c0e0d9c62b1d0ae24895378ec36e6e70866", kill_on_drop: false }` [INFO] [stdout] f77d2bb89f2b574319303b1155e14c0e0d9c62b1d0ae24895378ec36e6e70866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f39d991876699235e57848ed401793c932d7984fccae6078d0034241d4aec6b9 [INFO] running `Command { std: "docker" "start" "-a" "f39d991876699235e57848ed401793c932d7984fccae6078d0034241d4aec6b9", kill_on_drop: false }` [INFO] [stderr] Compiling codecrafters-git v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `message` is never read [INFO] [stdout] --> src/objects.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | let mut message = String::new(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/main.rs:242:4 [INFO] [stdout] | [INFO] [stdout] 242 | fn format_timestamp(timestamp: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_directory_structure` is never used [INFO] [stdout] --> src/main.rs:312:4 [INFO] [stdout] | [INFO] [stdout] 312 | fn print_directory_structure(path: &Path, depth: usize) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbolic_ref` is never read [INFO] [stdout] --> src/req_packfile.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HeadRef { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 14 | pub symbolic_ref: String, // e.g., "HEAD" [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeadRef` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capabilities` is never read [INFO] [stdout] --> src/req_packfile.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GitCapabilities { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 20 | pub refs: HashMap, // Changed to HashMap [INFO] [stdout] 21 | pub capabilities: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitCapabilities` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "f39d991876699235e57848ed401793c932d7984fccae6078d0034241d4aec6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39d991876699235e57848ed401793c932d7984fccae6078d0034241d4aec6b9", kill_on_drop: false }` [INFO] [stdout] f39d991876699235e57848ed401793c932d7984fccae6078d0034241d4aec6b9