[INFO] cloning repository https://github.com/StreakInTheSky/StreakInTheSky-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/StreakInTheSky/StreakInTheSky-codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStreakInTheSky%2FStreakInTheSky-codecrafters-git-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStreakInTheSky%2FStreakInTheSky-codecrafters-git-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee59218b30c4a43aa3cf85b32a31e7d8ac2bbc59 [INFO] checking StreakInTheSky/StreakInTheSky-codecrafters-git-rust against try#6db1a6a7ebb2ad243051f3ff949f987dd70cde2b+rustflags=-Dreturn-local-variable-ptr for pr-134218 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStreakInTheSky%2FStreakInTheSky-codecrafters-git-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StreakInTheSky/StreakInTheSky-codecrafters-git-rust on toolchain 6db1a6a7ebb2ad243051f3ff949f987dd70cde2b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/StreakInTheSky/StreakInTheSky-codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/StreakInTheSky/StreakInTheSky-codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/StreakInTheSky/StreakInTheSky-codecrafters-git-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/StreakInTheSky/StreakInTheSky-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" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "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 tokio v1.24.1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2daf5d0b142b67d81b28ffc2f6b3995029d1464af00148f5f9c70c3e158b07be [INFO] running `Command { std: "docker" "start" "-a" "2daf5d0b142b67d81b28ffc2f6b3995029d1464af00148f5f9c70c3e158b07be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2daf5d0b142b67d81b28ffc2f6b3995029d1464af00148f5f9c70c3e158b07be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2daf5d0b142b67d81b28ffc2f6b3995029d1464af00148f5f9c70c3e158b07be", kill_on_drop: false }` [INFO] [stdout] 2daf5d0b142b67d81b28ffc2f6b3995029d1464af00148f5f9c70c3e158b07be [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 -Dreturn-local-variable-ptr" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+6db1a6a7ebb2ad243051f3ff949f987dd70cde2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bb66369a33aece564ad83594e4f81703b706cf61a31dde7a14c699dfbcddbf3 [INFO] running `Command { std: "docker" "start" "-a" "6bb66369a33aece564ad83594e4f81703b706cf61a31dde7a14c699dfbcddbf3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Compiling tokio v1.24.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking clap v4.0.32 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking hyper v0.14.23 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.13 [INFO] [stderr] Checking git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `hash_file` in this scope [INFO] [stdout] --> src/catfile.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn cat_file(hash: &str) -> anyhow::Result<()> { [INFO] [stdout] | ------------------------------------------------- similarly named function `cat_file` defined here [INFO] [stdout] ... [INFO] [stdout] 157 | let actual_result = hash_file(path)?; [INFO] [stdout] | ^^^^^^^^^ help: a function with a similar name exists: `cat_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `git-starter-rust` (bin "git-starter-rust" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6bb66369a33aece564ad83594e4f81703b706cf61a31dde7a14c699dfbcddbf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb66369a33aece564ad83594e4f81703b706cf61a31dde7a14c699dfbcddbf3", kill_on_drop: false }` [INFO] [stdout] 6bb66369a33aece564ad83594e4f81703b706cf61a31dde7a14c699dfbcddbf3