[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] 3eec82f29f64ab114621fa4cc479a28089716530
[INFO] checking santhoshtr/link-suggestion against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsanthoshtr%2Flink-suggestion" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/santhoshtr/link-suggestion on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tree-sitter-language v0.1.5
[INFO] [stderr]   Downloaded v_htmlescape v0.15.8
[INFO] [stderr]   Downloaded http-range v0.1.5
[INFO] [stderr]   Downloaded streaming-iterator v0.1.9
[INFO] [stderr]   Downloaded rsqlite-vfs v0.1.1
[INFO] [stderr]   Downloaded redox_syscall v0.5.13
[INFO] [stderr]   Downloaded serde_json v1.0.150
[INFO] [stderr]   Downloaded wasm-streams v0.5.0
[INFO] [stderr]   Downloaded bzip2 v0.6.0
[INFO] [stderr]   Downloaded actix-files v0.6.6
[INFO] [stderr]   Downloaded libbz2-rs-sys v0.2.1
[INFO] [stderr]   Downloaded num-order v1.2.0
[INFO] [stderr]   Downloaded num-modular v0.6.1
[INFO] [stderr]   Downloaded bloomfilter v3.0.1
[INFO] [stderr]   Downloaded rusqlite v0.40.0
[INFO] [stderr]   Downloaded indexmap v2.10.0
[INFO] [stderr]   Downloaded io-uring v0.7.8
[INFO] [stderr]   Downloaded tree-sitter-wikitext v0.1.1
[INFO] [stderr]   Downloaded hyper-util v0.1.14
[INFO] [stderr]   Downloaded security-framework v3.6.0
[INFO] [stderr]   Downloaded handlebars v6.3.2
[INFO] [stderr]   Downloaded webpki-root-certs v1.0.7
[INFO] [stderr]   Downloaded tree-sitter v0.26.9
[INFO] [stderr]   Downloaded quick-xml v0.38.0
[INFO] [stderr]   Downloaded web-sys v0.3.99
[INFO] [stderr]   Downloaded tokio v1.46.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.38.0
[INFO] [stderr]   Downloaded sqlite-wasm-rs v0.5.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6406ee6c27b40df07fd31231e0b6388f4c20e68f39f5e36b727d7b7ff367a374
[INFO] running `Command { std: "docker" "start" "-a" "6406ee6c27b40df07fd31231e0b6388f4c20e68f39f5e36b727d7b7ff367a374", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6406ee6c27b40df07fd31231e0b6388f4c20e68f39f5e36b727d7b7ff367a374", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6406ee6c27b40df07fd31231e0b6388f4c20e68f39f5e36b727d7b7ff367a374", kill_on_drop: false }`
[INFO] [stdout] 6406ee6c27b40df07fd31231e0b6388f4c20e68f39f5e36b727d7b7ff367a374
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2005e9f3c37fa4565c4389f373e567714625d43c8876e6bb299513dd5d905807
[INFO] running `Command { std: "docker" "start" "-a" "2005e9f3c37fa4565c4389f373e567714625d43c8876e6bb299513dd5d905807", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling shlex v2.0.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking rustls-native-certs v0.8.3
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]     Checking tree-sitter-language v0.1.5
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]     Checking streaming-iterator v0.1.9
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling cc v1.2.63
[INFO] [stderr]     Checking jiff v0.2.15
[INFO] [stderr]     Checking hashlink v0.11.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking adler2 v2.0.1
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking bloomfilter v3.0.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking flate2 v1.1.2
[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]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling aws-lc-sys v0.41.0
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.38.0
[INFO] [stderr]    Compiling tree-sitter-wikitext v0.1.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking unicase v2.8.1
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]    Compiling convert_case v0.4.0
[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 num-order v1.2.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling tree-sitter v0.26.9
[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.228
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking tokio v1.46.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling derive_builder_core v0.20.2
[INFO] [stderr]     Checking clap v4.5.40
[INFO] [stderr]     Checking linksuggestion-bloom v0.1.0 (/opt/rustwide/workdir/linksuggestion-bloom)
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking zstd v0.13.3
[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 derive_builder_macro v0.20.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking derive_builder v0.20.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking quick-xml v0.38.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking handlebars v6.3.2
[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 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 actix-server v2.6.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]     Checking rusqlite v0.40.0
[INFO] [stderr]    Compiling aws-lc-rs v1.17.0
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]     Checking actix-files v0.6.6
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking rustls-platform-verifier v0.7.0
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking reqwest v0.13.4
[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:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | 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: method `calculate_link_positions_with_char_indices` is never used
[INFO] [stdout]    --> linksuggestion-core/src/link_suggestion.rs:317:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl LinkSuggestion {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 317 |     pub fn calculate_link_positions_with_char_indices(&self, full_text: &String) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking anchor-dictionary v0.1.0 (/opt/rustwide/workdir/anchor-dictionary)
[INFO] [stderr]     Checking linksuggestion-web v0.1.0 (/opt/rustwide/workdir/linksuggestion-web)
[INFO] [stdout] warning: struct `LinkRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | 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: method `calculate_link_positions_with_char_indices` is never used
[INFO] [stdout]    --> linksuggestion-core/src/link_suggestion.rs:317:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl LinkSuggestion {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 317 |     pub fn calculate_link_positions_with_char_indices(&self, full_text: &String) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkSuggestionRecord` is never constructed
[INFO] [stdout]   --> linksuggestion-core/src/link_suggestion.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct LinkSuggestionRecord {
[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:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | 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:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | 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:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | 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:83:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl LinkSuggestion {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn new_with_label(text_segment: TextSegment, label: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     fn get_freq_max(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn process(&mut self, source_article: WikiTitle, conn: &Connection) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn get_title_frequency(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn resolve_valid_title(title: &WikiTitle, connection: &Connection) -> Option<WikiTitle> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn candidate_distribution(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     fn find_title_for_label(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 307 |     pub fn link_start_byte(&self) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 317 |     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:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub fn filter_suggestions(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `language`, `to_display_format`, and `is_valid` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wiki_title.rs:31:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl WikiTitle {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     pub fn language(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn to_display_format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     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:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 | 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 `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: associated items `one_grams`, `ngrams`, and `link_candidates` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl TextSegment {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 157 |
[INFO] [stdout] 158 |     fn one_grams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn ngrams(words: &[String], n: usize) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     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:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | 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:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | 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:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | 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:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | 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:71:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl LinkSuggestion {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout]  71 |     pub fn new(text_segment: TextSegment, title: WikiTitle) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn new_with_label(text_segment: TextSegment, label: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     fn get_freq_max(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn confidence_score(&self) -> f32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn process(&mut self, source_article: WikiTitle, conn: &Connection) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 176 |     fn get_title_frequency(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn resolve_valid_title(title: &WikiTitle, connection: &Connection) -> Option<WikiTitle> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 212 |     pub fn candidate_distribution(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 225 |     fn find_title_for_label(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 279 |     pub fn calculate_link_edit_positions(&self) -> Option<(usize, usize, String)> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 307 |     pub fn link_start_byte(&self) -> Option<usize> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 317 |     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:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 | 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]  64 |     pub fn to_url_format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn to_display_format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  74 |     pub fn is_disambiguation(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn main_title(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn disambiguation_part(&self) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 101 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn namespace(&self) -> Option<String> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn without_namespace(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn is_main_namespace(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn equals(&self, other: &WikiTitle) -> bool {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     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:147:14
[INFO] [stdout]     |
[INFO] [stdout] 147 | 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: associated items `one_grams`, `ngrams`, and `link_candidates` are never used
[INFO] [stdout]    --> linksuggestion-core/src/wikitext.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl TextSegment {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout] 157 |
[INFO] [stdout] 158 |     fn one_grams(&self) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     fn ngrams(words: &[String], n: usize) -> Vec<String> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn link_candidates(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 56s
[INFO] running `Command { std: "docker" "inspect" "2005e9f3c37fa4565c4389f373e567714625d43c8876e6bb299513dd5d905807", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2005e9f3c37fa4565c4389f373e567714625d43c8876e6bb299513dd5d905807", kill_on_drop: false }`
[INFO] [stdout] 2005e9f3c37fa4565c4389f373e567714625d43c8876e6bb299513dd5d905807
