[INFO] cloning repository https://github.com/hamidi-dev/gitrivia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamidi-dev/gitrivia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidi-dev%2Fgitrivia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidi-dev%2Fgitrivia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 79eac202cddb83cc8893afe426a2b57179eec0fe
[INFO] checking hamidi-dev/gitrivia against fa2e5c134b37481738d46002dfb836237332dd9a for pr-164277
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidi-dev%2Fgitrivia" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hamidi-dev/gitrivia
[INFO] finished tweaking git repo https://github.com/hamidi-dev/gitrivia
[INFO] tweaked toml for git repo https://github.com/hamidi-dev/gitrivia written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hamidi-dev/gitrivia on toolchain fa2e5c134b37481738d46002dfb836237332dd9a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hamidi-dev/gitrivia 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" "+fa2e5c134b37481738d46002dfb836237332dd9a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69
[INFO] running `Command { std: "docker" "start" "4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69" "/opt/rustwide/cargo-home/bin/cargo" "+fa2e5c134b37481738d46002dfb836237332dd9a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]     Checking clap_builder v4.5.41
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling cc v1.0.100
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking comfy-table v7.1.4
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling libz-sys v1.1.18
[INFO] [stderr]    Compiling libssh2-sys v0.3.1
[INFO] [stderr]    Compiling libgit2-sys v0.16.2+1.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]     Checking clap v4.5.41
[INFO] [stderr]     Checking serde v1.0.210
[INFO] [stderr]     Checking git2 v0.18.3
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking gitrivia v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `bus_factor` is never used
[INFO] [stdout]    --> src/domain/bus_factor.rs:229:8
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub fn bus_factor(
[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 `as_busfactor_json` is never used
[INFO] [stdout]    --> src/domain/bus_factor.rs:246:8
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub fn as_busfactor_json(map: &BTreeMap<String, (String, f64)>) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aggregate_dir_from_file_scores` is never used
[INFO] [stdout]    --> src/domain/bus_factor.rs:258:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub fn aggregate_dir_from_file_scores(scores: &[BusScore], depth: usize) -> Vec<DirScore> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_seen` is never read
[INFO] [stdout]   --> src/domain/stats.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CommitStats {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 14 |     pub total_seen: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CommitStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_all_commits` is never used
[INFO] [stdout]   --> src/domain/stats.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn count_all_commits(repo: &Repository) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bus_factor` is never used
[INFO] [stdout]    --> src/domain/bus_factor.rs:229:8
[INFO] [stdout]     |
[INFO] [stdout] 229 | pub fn bus_factor(
[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 `as_busfactor_json` is never used
[INFO] [stdout]    --> src/domain/bus_factor.rs:246:8
[INFO] [stdout]     |
[INFO] [stdout] 246 | pub fn as_busfactor_json(map: &BTreeMap<String, (String, f64)>) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `aggregate_dir_from_file_scores` is never used
[INFO] [stdout]    --> src/domain/bus_factor.rs:258:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | pub fn aggregate_dir_from_file_scores(scores: &[BusScore], depth: usize) -> Vec<DirScore> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `total_seen` is never read
[INFO] [stdout]   --> src/domain/stats.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct CommitStats {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 14 |     pub total_seen: usize,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CommitStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_all_commits` is never used
[INFO] [stdout]   --> src/domain/stats.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn count_all_commits(repo: &Repository) -> usize {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.66s
[INFO] running `Command { std: "docker" "inspect" "4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69", kill_on_drop: false }`
[INFO] [stdout] 4c7d73e61e5ddc7ee8320784e811be948ede44ebcf9dfc9b2a13d50774e8df69
