[INFO] cloning repository https://github.com/ross39/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/ross39/codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fross39%2Fcodecrafters-git-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fross39%2Fcodecrafters-git-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7cb2c67c456b6f731da595e61d4c0e4be480b95c [INFO] testing ross39/codecrafters-git-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fross39%2Fcodecrafters-git-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ross39/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/ross39/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/ross39/codecrafters-git-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ross39/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/ross39/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 parking_lot_core v0.9.6 [INFO] [stderr] Downloaded thiserror v1.0.32 [INFO] [stderr] Downloaded thiserror-impl v1.0.32 [INFO] [stderr] Downloaded is-terminal v0.4.2 [INFO] [stderr] Downloaded clap_lex v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded heck v0.4.0 [INFO] [stderr] Downloaded futures-io v0.3.21 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded os_str_bytes v6.4.1 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded indexmap v1.9.1 [INFO] [stderr] Downloaded clap_derive v4.0.21 [INFO] [stderr] Downloaded anyhow v1.0.59 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded openssl-sys v0.9.75 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded serde v1.0.142 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded clap v4.0.32 [INFO] [stderr] Downloaded openssl v0.10.41 [INFO] [stderr] Downloaded rustix v0.36.6 [INFO] [stderr] Downloaded web-sys v0.3.59 [INFO] [stderr] Downloaded tokio v1.24.1 [INFO] [stderr] Downloaded linux-raw-sys v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eadab9a546394b3ce8459012301d9f31eacfba81cf11b606eea9f4517149936 [INFO] running `Command { std: "docker" "start" "-a" "8eadab9a546394b3ce8459012301d9f31eacfba81cf11b606eea9f4517149936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eadab9a546394b3ce8459012301d9f31eacfba81cf11b606eea9f4517149936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eadab9a546394b3ce8459012301d9f31eacfba81cf11b606eea9f4517149936", kill_on_drop: false }` [INFO] [stdout] 8eadab9a546394b3ce8459012301d9f31eacfba81cf11b606eea9f4517149936 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28f619bc375e793498a15825f8ca77a7229ca7bd6dbcf0c9dc328e5c9492182f [INFO] running `Command { std: "docker" "start" "-a" "28f619bc375e793498a15825f8ca77a7229ca7bd6dbcf0c9dc328e5c9492182f", 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 quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.6 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling bytes v1.3.0 [INFO] [stderr] Compiling tokio v1.24.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling clap_lex v0.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling digest v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling is-terminal v0.4.2 [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] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling clap v4.0.32 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.15 [INFO] [stderr] Compiling hyper v0.14.23 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.13 [INFO] [stderr] Compiling git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Commit` is never constructed [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum GitObjectType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Commit(GitCommit), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.69s [INFO] running `Command { std: "docker" "inspect" "28f619bc375e793498a15825f8ca77a7229ca7bd6dbcf0c9dc328e5c9492182f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f619bc375e793498a15825f8ca77a7229ca7bd6dbcf0c9dc328e5c9492182f", kill_on_drop: false }` [INFO] [stdout] 28f619bc375e793498a15825f8ca77a7229ca7bd6dbcf0c9dc328e5c9492182f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e81957673cae05111f1315fdf7bc904d4beafcc1be63b7bcc171b79f9ba53542 [INFO] running `Command { std: "docker" "start" "-a" "e81957673cae05111f1315fdf7bc904d4beafcc1be63b7bcc171b79f9ba53542", kill_on_drop: false }` [INFO] [stderr] Compiling git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Commit` is never constructed [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum GitObjectType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | Commit(GitCommit), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "e81957673cae05111f1315fdf7bc904d4beafcc1be63b7bcc171b79f9ba53542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81957673cae05111f1315fdf7bc904d4beafcc1be63b7bcc171b79f9ba53542", kill_on_drop: false }` [INFO] [stdout] e81957673cae05111f1315fdf7bc904d4beafcc1be63b7bcc171b79f9ba53542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 794ef0e7b24efa16690eaab2cc93ce7f7a1a0a25da04fbb237d788bbbb4843a7 [INFO] running `Command { std: "docker" "start" "-a" "794ef0e7b24efa16690eaab2cc93ce7f7a1a0a25da04fbb237d788bbbb4843a7", kill_on_drop: false }` [INFO] [stderr] warning: variant `Commit` is never constructed [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 38 | enum GitObjectType { [INFO] [stderr] | ------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 41 | Commit(GitCommit), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `git-starter-rust` (bin "git-starter-rust" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_starter_rust-ffefd973f0809b5a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "794ef0e7b24efa16690eaab2cc93ce7f7a1a0a25da04fbb237d788bbbb4843a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "794ef0e7b24efa16690eaab2cc93ce7f7a1a0a25da04fbb237d788bbbb4843a7", kill_on_drop: false }` [INFO] [stdout] 794ef0e7b24efa16690eaab2cc93ce7f7a1a0a25da04fbb237d788bbbb4843a7