[INFO] cloning repository https://github.com/TimWSpence/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/TimWSpence/codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimWSpence%2Fcodecrafters-git-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimWSpence%2Fcodecrafters-git-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc05eadad2436cd9fb280e2122b4e3762bfa3873
[INFO] checking TimWSpence/codecrafters-git-rust against master#bad50269f8eb0fda214f0478c3afb2c6fbb427fd for pr-149195-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimWSpence%2Fcodecrafters-git-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/TimWSpence/codecrafters-git-rust
[INFO] finished tweaking git repo https://github.com/TimWSpence/codecrafters-git-rust
[INFO] tweaked toml for git repo https://github.com/TimWSpence/codecrafters-git-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/TimWSpence/codecrafters-git-rust on toolchain bad50269f8eb0fda214f0478c3afb2c6fbb427fd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/TimWSpence/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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded is-terminal v0.4.2
[INFO] [stderr]   Downloaded tokio-macros v1.8.2
[INFO] [stderr]   Downloaded hermit-abi v0.2.6
[INFO] [stderr]   Downloaded errno v0.2.8
[INFO] [stderr]   Downloaded os_str_bytes v6.4.1
[INFO] [stderr]   Downloaded cpufeatures v0.2.2
[INFO] [stderr]   Downloaded thiserror-impl v1.0.32
[INFO] [stderr]   Downloaded clap_lex v0.3.0
[INFO] [stderr]   Downloaded thiserror v1.0.32
[INFO] [stderr]   Downloaded digest v0.10.6
[INFO] [stderr]   Downloaded io-lifetimes v1.0.3
[INFO] [stderr]   Downloaded clap_derive v4.0.21
[INFO] [stderr]   Downloaded smallvec v1.10.0
[INFO] [stderr]   Downloaded lock_api v0.4.9
[INFO] [stderr]   Downloaded parking_lot_core v0.9.6
[INFO] [stderr]   Downloaded anyhow v1.0.59
[INFO] [stderr]   Downloaded bytes v1.3.0
[INFO] [stderr]   Downloaded mio v0.8.5
[INFO] [stderr]   Downloaded reqwest v0.11.13
[INFO] [stderr]   Downloaded h2 v0.3.15
[INFO] [stderr]   Downloaded hyper v0.14.23
[INFO] [stderr]   Downloaded clap v4.0.32
[INFO] [stderr]   Downloaded rustix v0.36.6
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.42.0
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.42.0
[INFO] [stderr]   Downloaded tokio v1.24.1
[INFO] [stderr]   Downloaded libc v0.2.139
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.42.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.42.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.42.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.42.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.42.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.1.4
[INFO] [stderr]   Downloaded windows-sys v0.42.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 801c5a9968c2541d38e9a6dbab7263021d7d30e16477f7be94517fb3afaa7806
[INFO] running `Command { std: "docker" "start" "-a" "801c5a9968c2541d38e9a6dbab7263021d7d30e16477f7be94517fb3afaa7806", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "801c5a9968c2541d38e9a6dbab7263021d7d30e16477f7be94517fb3afaa7806", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "801c5a9968c2541d38e9a6dbab7263021d7d30e16477f7be94517fb3afaa7806", kill_on_drop: false }`
[INFO] [stdout] 801c5a9968c2541d38e9a6dbab7263021d7d30e16477f7be94517fb3afaa7806
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7dbd7a014933e197fd5f5dc6d99b79a25b1b55b292511864ea25ce799fb4d51
[INFO] running `Command { std: "docker" "start" "-a" "a7dbd7a014933e197fd5f5dc6d99b79a25b1b55b292511864ea25ce799fb4d51", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.6
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling tokio v1.24.1
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling io-lifetimes v1.0.3
[INFO] [stderr]    Compiling rustix v0.36.6
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]     Checking linux-raw-sys v0.1.4
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling anyhow v1.0.59
[INFO] [stderr]     Checking os_str_bytes v6.4.1
[INFO] [stderr]     Checking clap_lex v0.3.0
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking openssl-sys v0.9.75
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.6
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking is-terminal v0.4.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[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 openssl v0.10.41
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]     Checking clap v4.0.32
[INFO] [stderr]     Checking native-tls v0.2.10
[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] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/commands.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/api_client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/commands.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/commands.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::Bytes`
[INFO] [stdout]  --> src/api_client.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bytes::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/commands.rs:118:31
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub async fn clone(url: &str, path: &str) -> Result<()> {
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mode` and `digest` are never read
[INFO] [stdout]    --> src/commands.rs:242:5
[INFO] [stdout]     |
[INFO] [stdout] 240 | struct TreeEntry<'a> {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] 241 |     //Don't care to interpret this
[INFO] [stdout] 242 |     mode: &'a str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 243 |     name: &'a str,
[INFO] [stdout] 244 |     digest: &'a [u8],
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/commands.rs:205:20
[INFO] [stdout]     |
[INFO] [stdout] 205 | fn parse_tree(buf: &[u8]) -> Result<Vec<TreeEntry>> {
[INFO] [stdout]     |                    ^^^^^                ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided 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: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 205 | fn parse_tree(buf: &[u8]) -> Result<Vec<TreeEntry<'_>>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]    --> src/commands.rs:118:31
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub async fn clone(url: &str, path: &str) -> Result<()> {
[INFO] [stdout]     |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.37s
[INFO] [stdout] warning: fields `mode` and `digest` are never read
[INFO] [stdout]    --> src/commands.rs:242:5
[INFO] [stdout]     |
[INFO] [stdout] 240 | struct TreeEntry<'a> {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] 241 |     //Don't care to interpret this
[INFO] [stdout] 242 |     mode: &'a str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 243 |     name: &'a str,
[INFO] [stdout] 244 |     digest: &'a [u8],
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/commands.rs:205:20
[INFO] [stdout]     |
[INFO] [stdout] 205 | fn parse_tree(buf: &[u8]) -> Result<Vec<TreeEntry>> {
[INFO] [stdout]     |                    ^^^^^                ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided 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: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 205 | fn parse_tree(buf: &[u8]) -> Result<Vec<TreeEntry<'_>>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "a7dbd7a014933e197fd5f5dc6d99b79a25b1b55b292511864ea25ce799fb4d51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7dbd7a014933e197fd5f5dc6d99b79a25b1b55b292511864ea25ce799fb4d51", kill_on_drop: false }`
[INFO] [stdout] a7dbd7a014933e197fd5f5dc6d99b79a25b1b55b292511864ea25ce799fb4d51
