[INFO] cloning repository https://github.com/starc007/crev
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starc007/crev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarc007%2Fcrev", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarc007%2Fcrev'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 00c66513fb4b480b9b79b2a2270877de29238a7a
[INFO] checking starc007/crev against e3607d549209cc9fdfe7e907123b4185210e2c2b for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarc007%2Fcrev" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/starc007/crev
[INFO] finished tweaking git repo https://github.com/starc007/crev
[INFO] tweaked toml for git repo https://github.com/starc007/crev written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/starc007/crev on toolchain e3607d549209cc9fdfe7e907123b4185210e2c2b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/starc007/crev 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" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "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 tree-sitter-python v0.21.0
[INFO] [stderr]   Downloaded tree-sitter-javascript v0.21.4
[INFO] [stderr]   Downloaded tree-sitter v0.22.6
[INFO] [stderr]   Downloaded tree-sitter-go v0.21.2
[INFO] [stderr]   Downloaded tree-sitter-rust v0.21.2
[INFO] [stderr]   Downloaded tree-sitter-typescript v0.21.2
[INFO] [stderr]   Downloaded libz-sys v1.1.25
[INFO] [stderr]   Downloaded ring v0.17.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d
[INFO] running `Command { std: "docker" "start" "bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d", 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" "bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d", 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" "bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]    Compiling rustls v0.23.37
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling cc v1.0.106
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]    Compiling tree-sitter v0.22.6
[INFO] [stderr]    Compiling ring v0.17.9
[INFO] [stderr]    Compiling libz-sys v1.1.25
[INFO] [stderr]    Compiling libsqlite3-sys v0.28.0
[INFO] [stderr]    Compiling libgit2-sys v0.16.2+1.7.2
[INFO] [stderr]    Compiling tree-sitter-javascript v0.21.4
[INFO] [stderr]    Compiling tree-sitter-python v0.21.0
[INFO] [stderr]    Compiling tree-sitter-typescript v0.21.2
[INFO] [stderr]    Compiling tree-sitter-rust v0.21.2
[INFO] [stderr]    Compiling tree-sitter-go v0.21.2
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking git2 v0.18.3
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking rusqlite v0.31.0
[INFO] [stderr]     Checking crev v0.1.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/ast.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ParsedFile {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 11 |     pub path: std::path::PathBuf,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsedFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `signature`, `doc_comment`, and `is_public` are never read
[INFO] [stdout]   --> src/ast.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct FunctionInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub signature: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub doc_comment: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 27 |     pub is_public: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionInfo` 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: field `definition_range` is never read
[INFO] [stdout]   --> src/ast.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct TypeDef {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub definition_range: (u32, u32),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TypeDef` 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: method `extract_function_at_line` is never used
[INFO] [stdout]    --> src/ast.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl AstParser {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn extract_function_at_line(&self, file: &ParsedFile, line: u32) -> Option<FunctionInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `functions_changed`, `token_count`, and `quality` are never read
[INFO] [stdout]    --> src/context.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct ReviewContext {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 134 |     pub diff: ParsedDiff,
[INFO] [stdout] 135 |     pub functions_changed: Vec<FunctionInfo>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub token_count: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 140 |     pub quality: ContextQuality,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ReviewContext` 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: method `name` is never used
[INFO] [stdout]   --> src/git.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl FileType {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_seen` is never read
[INFO] [stdout]   --> src/history.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct RecurringPattern {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub last_seen: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecurringPattern` 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 `message` is never read
[INFO] [stdout]   --> src/linters.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct LinterFinding {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub message: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LinterFinding` 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 `pull_model` is never used
[INFO] [stdout]    --> src/ollama.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub async fn pull_model(model: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `path` is never read
[INFO] [stdout]   --> src/ast.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct ParsedFile {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 11 |     pub path: std::path::PathBuf,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParsedFile` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `signature`, `doc_comment`, and `is_public` are never read
[INFO] [stdout]   --> src/ast.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct FunctionInfo {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub signature: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub doc_comment: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 27 |     pub is_public: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionInfo` 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: field `definition_range` is never read
[INFO] [stdout]   --> src/ast.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct TypeDef {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub definition_range: (u32, u32),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TypeDef` 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: method `extract_function_at_line` is never used
[INFO] [stdout]    --> src/ast.rs:135:12
[INFO] [stdout]     |
[INFO] [stdout]  84 | impl AstParser {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn extract_function_at_line(&self, file: &ParsedFile, line: u32) -> Option<FunctionInfo> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `functions_changed`, `token_count`, and `quality` are never read
[INFO] [stdout]    --> src/context.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct ReviewContext {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 134 |     pub diff: ParsedDiff,
[INFO] [stdout] 135 |     pub functions_changed: Vec<FunctionInfo>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub token_count: usize,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 140 |     pub quality: ContextQuality,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ReviewContext` 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: method `name` is never used
[INFO] [stdout]   --> src/git.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl FileType {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn name(&self) -> &str {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `last_seen` is never read
[INFO] [stdout]   --> src/history.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct RecurringPattern {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub last_seen: i64,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RecurringPattern` 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 `message` is never read
[INFO] [stdout]   --> src/linters.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct LinterFinding {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub message: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LinterFinding` 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 `pull_model` is never used
[INFO] [stdout]    --> src/ollama.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub async fn pull_model(model: &str) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.25s
[INFO] running `Command { std: "docker" "inspect" "bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d", kill_on_drop: false }`
[INFO] [stdout] bc11727ff6fae87cd5a8c04f7b0ac47163a508acb0401865f5b2a8ddf95f9e4d
