[INFO] cloning repository https://github.com/santhoshtr/link-suggestion
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/santhoshtr/link-suggestion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshtr%2Flink-suggestion", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshtr%2Flink-suggestion'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 453d28d173562352b62d27daeb9241e1dee260bf
[INFO] checking santhoshtr/link-suggestion against master#4068bafedd8ba724e332a5221c06a6fa531a30d2 for pr-146978
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshtr%2Flink-suggestion" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/santhoshtr/link-suggestion
[INFO] finished tweaking git repo https://github.com/santhoshtr/link-suggestion
[INFO] tweaked toml for git repo https://github.com/santhoshtr/link-suggestion written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/santhoshtr/link-suggestion on toolchain 4068bafedd8ba724e332a5221c06a6fa531a30d2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/santhoshtr/link-suggestion 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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/santhoshtr/tree-sitter-wikitext`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libbz2-rs-sys v0.2.1
[INFO] [stderr]   Downloaded tree-sitter v0.25.8
[INFO] [stderr]   Downloaded bzip2 v0.6.0
[INFO] [stderr]   Downloaded tokio v1.46.0
[INFO] [stderr]   Downloaded quick-xml v0.38.0
[INFO] [stderr]   Downloaded bloomfilter v3.0.1
[INFO] [stderr]   Downloaded actix-files v0.6.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff604064a5ae3ee540b84a117cea36a9d53236b35b580f5abbb0d985f41b0d70
[INFO] running `Command { std: "docker" "start" "-a" "ff604064a5ae3ee540b84a117cea36a9d53236b35b580f5abbb0d985f41b0d70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff604064a5ae3ee540b84a117cea36a9d53236b35b580f5abbb0d985f41b0d70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff604064a5ae3ee540b84a117cea36a9d53236b35b580f5abbb0d985f41b0d70", kill_on_drop: false }`
[INFO] [stdout] ff604064a5ae3ee540b84a117cea36a9d53236b35b580f5abbb0d985f41b0d70
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4068bafedd8ba724e332a5221c06a6fa531a30d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2749ce1a1da511827a772235cb05c2a97e7d41c0e9f27ad3b10684a0d4bce53d
[INFO] running `Command { std: "docker" "start" "-a" "2749ce1a1da511827a772235cb05c2a97e7d41c0e9f27ad3b10684a0d4bce53d", kill_on_drop: false }`
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rustls v0.23.28
[INFO] [stderr]     Checking webpki-roots v1.0.0
[INFO] [stderr]     Checking tree-sitter-language v0.1.5
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]     Checking fallible-iterator v0.3.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking streaming-iterator v0.1.9
[INFO] [stderr]     Checking bloomfilter v3.0.1
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]     Checking regex-lite v0.1.6
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking libbz2-rs-sys v0.2.1
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking num-modular v0.6.1
[INFO] [stderr]     Checking bzip2 v0.6.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking num-order v1.2.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.35.0
[INFO] [stderr]    Compiling tree-sitter-wikitext v0.1.0 (https://github.com/santhoshtr/tree-sitter-wikitext?rev=7772030#77720308)
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling tree-sitter v0.25.8
[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.30
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking tokio v1.46.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking rustls-webpki v0.103.3
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking linksuggestion-bloom v0.1.0 (/opt/rustwide/workdir/linksuggestion-bloom)
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]    Compiling derive_builder_macro v0.20.2
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tokio-rustls v0.26.2
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking quick-xml v0.38.0
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]     Checking handlebars v6.3.2
[INFO] [stderr]     Checking rusqlite v0.37.0
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking reqwest v0.12.22
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking linksuggestion-core v0.1.0 (/opt/rustwide/workdir/linksuggestion-core)
[INFO] [stdout] warning: struct `LinkRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct LinkRecord {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct LinkRecord {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkSuggestion` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct LinkSuggestion {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkSuggestionRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct LinkSuggestionRecord {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct LinkRecord {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strip_punctuation` is never used
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn strip_punctuation(s: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `FREQ_MAX_CACHE` is never used
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | static FREQ_MAX_CACHE: LazyLock<Arc<Mutex<HashMap<String, usize>>>> =
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> linksuggestion-core/src/link_suggestion.rs:69:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl LinkSuggestion {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  69 |     pub fn new(text_segment: TextSegment, title: WikiTitle) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn new_with_label(text_segment: TextSegment, title: WikiTitle, label: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     fn get_freq_max(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn confidence_score(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn process(&mut self, source_article: WikiTitle, conn: Arc<Mutex<Connection>>) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn is_valid_title(&self, connection: MutexGuard<'_, Connection>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     fn find_title_for_label(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn calculate_link_edit_positions(&self) -> Option<(usize, usize, String)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 268 |     pub fn calculate_link_positions_with_char_indices(&self, full_text: &String) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_suggestions` is never used
[INFO] [stdout]    --> linksuggestion-core/src/link_suggestion.rs:361:8
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub fn filter_suggestions(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WikiTitle` is never constructed
[INFO] [stdout]  --> linksuggestion-core/src/wiki_title.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct WikiTitle {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> linksuggestion-core/src/wiki_title.rs:17:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl WikiTitle {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout]  16 |     /// Creates a new WikiTitle from a raw string
[INFO] [stdout]  17 |     pub fn new(title: &str, language: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  27 |     pub fn raw(&self) -> &str {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn language(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  36 |     pub fn normalized(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  41 |     fn normalize_title(title: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn to_url_format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn to_display_format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn is_disambiguation(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn main_title(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  92 |     pub fn disambiguation_part(&self) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn namespace(&self) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn without_namespace(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub fn is_main_namespace(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn equals(&self, other: &WikiTitle) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn equals_str(&self, other: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_wikipedia_wikitext` is never used
[INFO] [stdout]    --> linksuggestion-core/src/wiki_title.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub async fn fetch_wikipedia_wikitext(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WikiLink` is never constructed
[INFO] [stdout]  --> linksuggestion-core/src/wikitext.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct WikiLink {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TextSegment` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/wikitext.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct TextSegment {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WikiText` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/wikitext.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct WikiText {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `extract_links`, and `extract_text` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:41:12
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl WikiText {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  41 |     pub fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn extract_links(&mut self, wikitext: &str) -> Result<Vec<WikiLink>, &'static str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn extract_text(&mut self, wikitext: &str) -> Result<Vec<TextSegment>, &'static str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node_text` is never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn get_node_text(node: Node, source: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `one_grams`, `bigrams`, `trigrams`, `four_grams`, and `link_candidates` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl TextSegment {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 157 |
[INFO] [stdout] 158 |     fn one_grams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn bigrams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn trigrams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn four_grams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn link_candidates(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkSuggestion` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct LinkSuggestion {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkSuggestionRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct LinkSuggestionRecord {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct LinkRecord {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `strip_punctuation` is never used
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn strip_punctuation(s: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `FREQ_MAX_CACHE` is never used
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 51 | static FREQ_MAX_CACHE: LazyLock<Arc<Mutex<HashMap<String, usize>>>> =
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> linksuggestion-core/src/link_suggestion.rs:69:12
[INFO] [stdout]     |
[INFO] [stdout]  68 | impl LinkSuggestion {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  69 |     pub fn new(text_segment: TextSegment, title: WikiTitle) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn new_with_label(text_segment: TextSegment, title: WikiTitle, label: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     fn get_freq_max(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn confidence_score(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 140 |     pub fn process(&mut self, source_article: WikiTitle, conn: Arc<Mutex<Connection>>) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn is_valid_title(&self, connection: MutexGuard<'_, Connection>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 182 |     fn find_title_for_label(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 242 |     pub fn calculate_link_edit_positions(&self) -> Option<(usize, usize, String)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 268 |     pub fn calculate_link_positions_with_char_indices(&self, full_text: &String) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `filter_suggestions` is never used
[INFO] [stdout]    --> linksuggestion-core/src/link_suggestion.rs:361:8
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub fn filter_suggestions(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `raw`, `language`, `to_display_format`, and `is_valid` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wiki_title.rs:27:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl WikiTitle {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  27 |     pub fn raw(&self) -> &str {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn language(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     pub fn to_display_format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 104 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fetch_wikipedia_wikitext` is never used
[INFO] [stdout]    --> linksuggestion-core/src/wiki_title.rs:150:14
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub async fn fetch_wikipedia_wikitext(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WikiLink` is never constructed
[INFO] [stdout]  --> linksuggestion-core/src/wikitext.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct WikiLink {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TextSegment` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/wikitext.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct TextSegment {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WikiText` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/wikitext.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct WikiText {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `extract_links`, and `extract_text` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:41:12
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl WikiText {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  41 |     pub fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  66 |     pub fn extract_links(&mut self, wikitext: &str) -> Result<Vec<WikiLink>, &'static str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn extract_text(&mut self, wikitext: &str) -> Result<Vec<TextSegment>, &'static str> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_node_text` is never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:152:4
[INFO] [stdout]     |
[INFO] [stdout] 152 | fn get_node_text(node: Node, source: &str) -> String {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `one_grams`, `bigrams`, `trigrams`, `four_grams`, and `link_candidates` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl TextSegment {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] 157 |
[INFO] [stdout] 158 |     fn one_grams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn bigrams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 185 |     fn trigrams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn four_grams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     pub fn link_candidates(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking actix-files v0.6.6
[INFO] [stderr]     Checking linksuggestion-web v0.1.0 (/opt/rustwide/workdir/linksuggestion-web)
[INFO] [stderr]     Checking anchor-dictionary v0.1.0 (/opt/rustwide/workdir/anchor-dictionary)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.94s
[INFO] running `Command { std: "docker" "inspect" "2749ce1a1da511827a772235cb05c2a97e7d41c0e9f27ad3b10684a0d4bce53d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2749ce1a1da511827a772235cb05c2a97e7d41c0e9f27ad3b10684a0d4bce53d", kill_on_drop: false }`
[INFO] [stdout] 2749ce1a1da511827a772235cb05c2a97e7d41c0e9f27ad3b10684a0d4bce53d
