[INFO] cloning repository https://github.com/Noah3141/wiktionary_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Noah3141/wiktionary_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah3141%2Fwiktionary_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah3141%2Fwiktionary_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0e70fd3af7dc6cfae123ccffdf28b6a5bb46ad6 [INFO] checking Noah3141/wiktionary_parser against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah3141%2Fwiktionary_parser" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Noah3141/wiktionary_parser [INFO] finished tweaking git repo https://github.com/Noah3141/wiktionary_parser [INFO] tweaked toml for git repo https://github.com/Noah3141/wiktionary_parser written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Noah3141/wiktionary_parser on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Noah3141/wiktionary_parser 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded scraper v0.19.1 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded bytes v1.6.1 [INFO] [stderr] Downloaded serde_json v1.0.120 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6eabb8059b248ad59b572cf559b8c6d6f4e99cc310837cbb6ad5e3f2a783b74c [INFO] running `Command { std: "docker" "start" "-a" "6eabb8059b248ad59b572cf559b8c6d6f4e99cc310837cbb6ad5e3f2a783b74c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6eabb8059b248ad59b572cf559b8c6d6f4e99cc310837cbb6ad5e3f2a783b74c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eabb8059b248ad59b572cf559b8c6d6f4e99cc310837cbb6ad5e3f2a783b74c", kill_on_drop: false }` [INFO] [stdout] 6eabb8059b248ad59b572cf559b8c6d6f4e99cc310837cbb6ad5e3f2a783b74c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9500b0bee87f7ff15f6374fca363f02daadb77194e98cc149f53400a4b510e9d [INFO] running `Command { std: "docker" "start" "-a" "9500b0bee87f7ff15f6374fca363f02daadb77194e98cc149f53400a4b510e9d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking scraper v0.19.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking wiktionary_parser v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Request` [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [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 import: `RuNounTable` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_conj/entry/test.rs:2:55 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::wiktionary_macro::{Expand, RuConj, RuNounTable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Selector` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_conj/lemma/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::select_from` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_verb/lemma/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::select_from; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuNounPlus` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_verb/lemma/test.rs:1:91 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{language::Language, section_header::SectionHeader, wiktionary_macro::{RuNounPlus, RuVerb}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_decl_adj/lemma/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Selector` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_decl_adj/lemma/mod.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::wiktionary_macro::Expand` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_decl_adj/entry/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::wiktionary_macro::Expand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RuNounTable` [INFO] [stdout] --> src/models/wiktionary_macro/belarusian/be_ndecl/entry/test.rs:3:56 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::wiktionary_macro::{BeNDecl, Expand, RuNounTable}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Russian` [INFO] [stdout] --> src/models/wiktionary_macro/belarusian/be_ndecl/entry/test.rs:4:47 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::language::Language::{self, Russian}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `*` [INFO] [stdout] --> src/models/wiktionary_macro/belarusian/be_ndecl/entry/test.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::section_header::SectionHeader::{self, *}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Selector` [INFO] [stdout] --> src/models/wiktionary_macro/belarusian/be_conj/lemma/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/models/wiktionary_macro/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RuIpa` and `section_header::SectionHeader` [INFO] [stdout] --> src/models/wiktionary_macro/test.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::{language::Language, section_header::SectionHeader, wiktionary_macro::{ipa::Ipa, RuIpa}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `language` [INFO] [stdout] --> src/utils/split_sections/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{language, section_header::SectionHeader}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/split_at_delimiters_bracketed_by_n_equals/mod.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use super::is_surrounded_by_n_equals::{self, is_surrounded_by_n_equals}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Request` [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Request; [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 import: `Selector` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_conj/lemma/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::select_from` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_verb/lemma/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::utils::select_from; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufWriter` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_decl_adj/lemma/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::BufWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Selector` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_decl_adj/lemma/mod.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::wiktionary_macro::Expand` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_decl_adj/entry/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::wiktionary_macro::Expand; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Selector` [INFO] [stdout] --> src/models/wiktionary_macro/belarusian/be_conj/lemma/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use scraper::{Html, Selector}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `language` [INFO] [stdout] --> src/utils/split_sections/mod.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{language, section_header::SectionHeader}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/utils/split_at_delimiters_bracketed_by_n_equals/mod.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use super::is_surrounded_by_n_equals::{self, is_surrounded_by_n_equals}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::selectable::Selectable` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_ipa/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scraper::selectable::Selectable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scraper::selectable::Selectable` [INFO] [stdout] --> src/models/wiktionary_macro/russian/ru_ipa/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use scraper::selectable::Selectable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/wiktionary_macro/ukrainian/uk_ndecl/entry/mod.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_form(&self, html: &scraper::Html, mut form_selector: &str) -> Option { [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: unused variable: `tag_start` [INFO] [stdout] --> src/utils/split_sections/mod.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | for (header_index, tag_start) in matches { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | async fn html(&self, client: &reqwest::Client) -> scraper::Html { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 227 ~ fn html(&self, client: &reqwest::Client) -> impl std::future::Future + Send {async { [INFO] [stdout] 228 | let res = self.expand_with(&client).await; [INFO] [stdout] 229 | let fragment = scraper::Html::parse_fragment(&res); [INFO] [stdout] 230 | fragment [INFO] [stdout] 231 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | async fn expand(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 242 ~ fn expand(&self) -> impl std::future::Future + Send {async { [INFO] [stdout] 243 | let client = reqwest::Client::new(); [INFO] [stdout] 244 | self.expand_with(&client).await [INFO] [stdout] 245 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | async fn expand_with(&self, client: &reqwest::Client) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 249 ~ fn expand_with(&self, client: &reqwest::Client) -> impl std::future::Future + Send {async { [INFO] [stdout] 250 | let macro_text = &self.macro_text() [INFO] [stdout] ... [INFO] [stdout] 276 | html_escape::decode_html_entities(&html).to_string() [INFO] [stdout] 277 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> src/models/wiktionary_macro/ukrainian/uk_ndecl/entry/test.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let form = table.get_form(&html, class_selectors::DAT_P); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [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/models/wiktionary_macro/ukrainian/uk_ndecl/entry/mod.rs:9:50 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn get_form(&self, html: &scraper::Html, mut form_selector: &str) -> Option { [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: unused variable: `sections` [INFO] [stdout] --> src/utils/split_sections/test.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | let sections = split_sections(ukrainian); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_start` [INFO] [stdout] --> src/utils/split_sections/mod.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | for (header_index, tag_start) in matches { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | async fn html(&self, client: &reqwest::Client) -> scraper::Html { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 227 ~ fn html(&self, client: &reqwest::Client) -> impl std::future::Future + Send {async { [INFO] [stdout] 228 | let res = self.expand_with(&client).await; [INFO] [stdout] 229 | let fragment = scraper::Html::parse_fragment(&res); [INFO] [stdout] 230 | fragment [INFO] [stdout] 231 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | async fn expand(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 242 ~ fn expand(&self) -> impl std::future::Future + Send {async { [INFO] [stdout] 243 | let client = reqwest::Client::new(); [INFO] [stdout] 244 | self.expand_with(&client).await [INFO] [stdout] 245 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/models/wiktionary_macro/mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | async fn expand_with(&self, client: &reqwest::Client) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 249 ~ fn expand_with(&self, client: &reqwest::Client) -> impl std::future::Future + Send {async { [INFO] [stdout] 250 | let macro_text = &self.macro_text() [INFO] [stdout] ... [INFO] [stdout] 276 | html_escape::decode_html_entities(&html).to_string() [INFO] [stdout] 277 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `СаудівськаАравія` should have a snake case name [INFO] [stdout] --> src/models/wiktionary_macro/ukrainian/uk_ndecl/lemma/test.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn СаудівськаАравія() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `саудівська_аравія` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Бутан` should have a snake case name [INFO] [stdout] --> src/models/wiktionary_macro/ukrainian/uk_ndecl/entry/test.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | async fn Бутан() { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `бутан` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.16s [INFO] running `Command { std: "docker" "inspect" "9500b0bee87f7ff15f6374fca363f02daadb77194e98cc149f53400a4b510e9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9500b0bee87f7ff15f6374fca363f02daadb77194e98cc149f53400a4b510e9d", kill_on_drop: false }` [INFO] [stdout] 9500b0bee87f7ff15f6374fca363f02daadb77194e98cc149f53400a4b510e9d