[INFO] cloning repository https://github.com/PatOConnor43/squawk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PatOConnor43/squawk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatOConnor43%2Fsquawk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatOConnor43%2Fsquawk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c29084f33c35b3a7ff5561eabacdbbdfe741c77c [INFO] building PatOConnor43/squawk against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPatOConnor43%2Fsquawk" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PatOConnor43/squawk [INFO] finished tweaking git repo https://github.com/PatOConnor43/squawk [INFO] tweaked toml for git repo https://github.com/PatOConnor43/squawk written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PatOConnor43/squawk on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PatOConnor43/squawk 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpsee-types v0.24.9 [INFO] [stderr] Downloaded jsonrpsee v0.24.9 [INFO] [stderr] Downloaded lsp-client v0.1.0 [INFO] [stderr] Downloaded jsonrpsee-types v0.25.1 [INFO] [stderr] Downloaded rustls-platform-verifier v0.5.3 [INFO] [stderr] Downloaded jsonrpsee-core v0.25.1 [INFO] [stderr] Downloaded tree-sitter v0.25.6 [INFO] [stderr] Downloaded webpki-root-certs v1.0.0 [INFO] [stderr] Downloaded jsonrpsee-http-client v0.25.1 [INFO] [stderr] Downloaded jsonrpsee v0.25.1 [INFO] [stderr] Downloaded webpki-root-certs v0.26.11 [INFO] [stderr] Downloaded jsonrpsee-core v0.24.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cd45517ef2fb6be4b590c2b72682675f1ee69556dee7eb4a0a3730cb0e48845 [INFO] running `Command { std: "docker" "start" "-a" "2cd45517ef2fb6be4b590c2b72682675f1ee69556dee7eb4a0a3730cb0e48845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cd45517ef2fb6be4b590c2b72682675f1ee69556dee7eb4a0a3730cb0e48845", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd45517ef2fb6be4b590c2b72682675f1ee69556dee7eb4a0a3730cb0e48845", kill_on_drop: false }` [INFO] [stdout] 2cd45517ef2fb6be4b590c2b72682675f1ee69556dee7eb4a0a3730cb0e48845 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cc4e2b24de97d424e42f9c2290436bdb6d44c783426ed7068f648ee5ab2100f [INFO] running `Command { std: "docker" "start" "-a" "4cc4e2b24de97d424e42f9c2290436bdb6d44c783426ed7068f648ee5ab2100f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.26 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling fluent-uri v0.1.4 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tree-sitter v0.25.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.5.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling jsonrpsee-types v0.24.9 [INFO] [stderr] Compiling jsonrpsee-types v0.25.1 [INFO] [stderr] Compiling lsp-types v0.97.0 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling jsonrpsee-core v0.24.9 [INFO] [stderr] Compiling jsonrpsee-core v0.25.1 [INFO] [stderr] Compiling jsonrpsee v0.24.9 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling jsonrpsee-http-client v0.25.1 [INFO] [stderr] Compiling jsonrpsee v0.25.1 [INFO] [stderr] Compiling lsp-client v0.1.0 [INFO] [stderr] Compiling squawk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/search.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, info}; [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 variable: `byte_range` [INFO] [stdout] --> src/search.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let byte_range = inner.child_by_field_name("left").unwrap().byte_range(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut results: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct LoggingInvocation { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 32 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | column_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | level: LoggingInvocationLevel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | line_start: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggingInvocation` has a derived impl for the trait `Debug`, but this is 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 `column_end` and `line_end` are never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct LoggerIdentifier { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 49 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | column_start: usize, [INFO] [stdout] 51 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggerIdentifier` 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: fields `column_end` and `line_end` are never read [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct WithFieldInvocation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 58 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithFieldInvocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryVariable` is never constructed [INFO] [stdout] --> src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct EntryVariable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FinializedLog` is never constructed [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct FinializedLog { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FinalizedLoggingField` is never constructed [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct FinalizedLoggingField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Field` and `Message` are never constructed [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | enum PointMarker { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 88 | Logger, [INFO] [stdout] 89 | Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointMarker` 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 `find_fields` is never used [INFO] [stdout] --> src/search.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn find_fields( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/search.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct TreeSitterLoggingFunction { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 316 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/search.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct TreeSitterWithFieldFunction { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 326 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeSitterWithFieldFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `function_name` are never read [INFO] [stdout] --> src/search.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct TreeSitterFunctionReturningLogrusEntry { [INFO] [stdout] | -------------------------------------- fields in this struct [INFO] [stdout] 336 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub function_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "4cc4e2b24de97d424e42f9c2290436bdb6d44c783426ed7068f648ee5ab2100f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cc4e2b24de97d424e42f9c2290436bdb6d44c783426ed7068f648ee5ab2100f", kill_on_drop: false }` [INFO] [stdout] 4cc4e2b24de97d424e42f9c2290436bdb6d44c783426ed7068f648ee5ab2100f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7084cea124618cd1c804ed5ba487872b894ea4f4019d35c2bfb498ee5448c0 [INFO] running `Command { std: "docker" "start" "-a" "ae7084cea124618cd1c804ed5ba487872b894ea4f4019d35c2bfb498ee5448c0", kill_on_drop: false }` [INFO] [stderr] Compiling squawk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/search.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::{debug, info}; [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 variable: `byte_range` [INFO] [stdout] --> src/search.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let byte_range = inner.child_by_field_name("left").unwrap().byte_range(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_byte_range` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/search.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut results: Vec<(usize, usize)> = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct LoggingInvocation { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 32 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | column_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | level: LoggingInvocationLevel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | line_start: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggingInvocation` has a derived impl for the trait `Debug`, but this is 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 `column_end` and `line_end` are never read [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct LoggerIdentifier { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 49 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | column_start: usize, [INFO] [stdout] 51 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggerIdentifier` 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: fields `column_end` and `line_end` are never read [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct WithFieldInvocation { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 58 | column_end: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | line_end: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WithFieldInvocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EntryVariable` is never constructed [INFO] [stdout] --> src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct EntryVariable { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FinializedLog` is never constructed [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | struct FinializedLog { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FinalizedLoggingField` is never constructed [INFO] [stdout] --> src/main.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct FinalizedLoggingField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Field` and `Message` are never constructed [INFO] [stdout] --> src/main.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 87 | enum PointMarker { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 88 | Logger, [INFO] [stdout] 89 | Field, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointMarker` 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 `find_fields` is never used [INFO] [stdout] --> src/search.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn find_fields( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/search.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 315 | pub struct TreeSitterLoggingFunction { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 316 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `filename` is never read [INFO] [stdout] --> src/search.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | pub struct TreeSitterWithFieldFunction { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 326 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeSitterWithFieldFunction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `function_name` are never read [INFO] [stdout] --> src/search.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 335 | pub struct TreeSitterFunctionReturningLogrusEntry { [INFO] [stdout] | -------------------------------------- fields in this struct [INFO] [stdout] 336 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub function_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "ae7084cea124618cd1c804ed5ba487872b894ea4f4019d35c2bfb498ee5448c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7084cea124618cd1c804ed5ba487872b894ea4f4019d35c2bfb498ee5448c0", kill_on_drop: false }` [INFO] [stdout] ae7084cea124618cd1c804ed5ba487872b894ea4f4019d35c2bfb498ee5448c0