[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 try#149edce6c6ee840adb602803b96d083101ef3592 for pr-133502-16 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshtr%2Flink-suggestion" "/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/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/santhoshtr/link-suggestion on toolchain 149edce6c6ee840adb602803b96d083101ef3592 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+149edce6c6ee840adb602803b96d083101ef3592" "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" "+149edce6c6ee840adb602803b96d083101ef3592" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+149edce6c6ee840adb602803b96d083101ef3592" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1d24e468a2aea9e3e2a063895410a022fdfccd2facaa48384eea66dc51ed6a7 [INFO] running `Command { std: "docker" "start" "-a" "c1d24e468a2aea9e3e2a063895410a022fdfccd2facaa48384eea66dc51ed6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1d24e468a2aea9e3e2a063895410a022fdfccd2facaa48384eea66dc51ed6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d24e468a2aea9e3e2a063895410a022fdfccd2facaa48384eea66dc51ed6a7", kill_on_drop: false }` [INFO] [stdout] c1d24e468a2aea9e3e2a063895410a022fdfccd2facaa48384eea66dc51ed6a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+149edce6c6ee840adb602803b96d083101ef3592" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feec7355b26b3cbaa3b9a14b424074421bb12804997526b126f22d1f23bd4a80 [INFO] running `Command { std: "docker" "start" "-a" "feec7355b26b3cbaa3b9a14b424074421bb12804997526b126f22d1f23bd4a80", kill_on_drop: false }` [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking tokio v1.46.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking bloomfilter v3.0.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking linksuggestion-bloom v0.1.0 (/opt/rustwide/workdir/linksuggestion-bloom) [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Checking tree-sitter-language v0.1.5 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tree-sitter-wikitext v0.1.0 (https://github.com/santhoshtr/tree-sitter-wikitext?rev=7772030#77720308) [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Compiling tree-sitter v0.25.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking libbz2-rs-sys v0.2.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking quick-xml v0.38.0 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking num-modular v0.6.1 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking num-order v1.2.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking linksuggestion-core v0.1.0 (/opt/rustwide/workdir/linksuggestion-core) [INFO] [stderr] Checking handlebars v6.3.2 [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] [stderr] Checking zstd v0.13.3 [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] [stderr] Checking actix-http v3.11.0 [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>>> = [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>) { [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 { [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 { [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 { [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> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn extract_links(&mut self, wikitext: &str) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn extract_text(&mut self, wikitext: &str) -> Result, &'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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn bigrams(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn trigrams(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn four_grams(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn link_candidates(&self) -> Vec { [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>>> = [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>) { [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 { [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> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn extract_links(&mut self, wikitext: &str) -> Result, &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn extract_text(&mut self, wikitext: &str) -> Result, &'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 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn bigrams(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn trigrams(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn four_grams(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn link_candidates(&self) -> Vec { [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 1m 53s [INFO] running `Command { std: "docker" "inspect" "feec7355b26b3cbaa3b9a14b424074421bb12804997526b126f22d1f23bd4a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feec7355b26b3cbaa3b9a14b424074421bb12804997526b126f22d1f23bd4a80", kill_on_drop: false }` [INFO] [stdout] feec7355b26b3cbaa3b9a14b424074421bb12804997526b126f22d1f23bd4a80