[INFO] cloning repository https://github.com/BreakingLead/rdict [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BreakingLead/rdict" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBreakingLead%2Frdict", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBreakingLead%2Frdict'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ae21a7948302b6a9b784d6658838207fee4941e [INFO] building BreakingLead/rdict against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBreakingLead%2Frdict" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 78% (11/14) Updating files: 85% (12/14) Updating files: 92% (13/14) Updating files: 100% (14/14) Updating files: 100% (14/14), done. [INFO] started tweaking git repo https://github.com/BreakingLead/rdict [INFO] finished tweaking git repo https://github.com/BreakingLead/rdict [INFO] tweaked toml for git repo https://github.com/BreakingLead/rdict written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BreakingLead/rdict on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BreakingLead/rdict already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml5ever v0.17.0 [INFO] [stderr] Downloaded select v0.6.0 [INFO] [stderr] Downloaded clap_derive v4.5.5 [INFO] [stderr] Downloaded tinyvec v1.6.1 [INFO] [stderr] Downloaded cc v1.0.101 [INFO] [stderr] Downloaded object v0.36.0 [INFO] [stderr] Downloaded hyper-util v0.1.5 [INFO] [stderr] Downloaded markup5ever_rcdom v0.2.0 [INFO] [stderr] Downloaded rustls v0.23.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a156d89adec7b000b13a8213532b2013130d592169fcb32b581d8709627240e [INFO] running `Command { std: "docker" "start" "-a" "9a156d89adec7b000b13a8213532b2013130d592169fcb32b581d8709627240e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a156d89adec7b000b13a8213532b2013130d592169fcb32b581d8709627240e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a156d89adec7b000b13a8213532b2013130d592169fcb32b581d8709627240e", kill_on_drop: false }` [INFO] [stdout] 9a156d89adec7b000b13a8213532b2013130d592169fcb32b581d8709627240e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbb428e27fbcfc59071cc89770c3b676a50ca7da062c01a63e07ce2ebd2f0d40 [INFO] running `Command { std: "docker" "start" "-a" "fbb428e27fbcfc59071cc89770c3b676a50ca7da062c01a63e07ce2ebd2f0d40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling clap_builder v4.5.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling clap v4.5.7 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling xml5ever v0.17.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.2.0 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling select v0.6.0 [INFO] [stderr] Compiling rdict v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/online_search.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [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: `select::predicate::Class` [INFO] [stdout] --> src/online_search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use select::predicate::Class; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf` and `sync::OnceLock` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `directories::ProjectDirs` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use directories::ProjectDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `online_search::get_html` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use online_search::get_html; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_buf` is never read [INFO] [stdout] --> src/archive_reader.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut index_buf: &str = ""; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dict_buf_size` is never read [INFO] [stdout] --> src/archive_reader.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut dict_buf_size = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `html` [INFO] [stdout] --> src/online_search.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_info(html: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Paraphrase` is more private than the item `WordInfo::paraphrase` [INFO] [stdout] --> src/archive_reader.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub paraphrase: Paraphrase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WordInfo::paraphrase` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Paraphrase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/archive_reader.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct Paraphrase(Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `archive_reader::Usage` is more private than the item `WordInfo::usages` [INFO] [stdout] --> src/archive_reader.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub usages: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `WordInfo::usages` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `archive_reader::Usage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/archive_reader.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | struct Usage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/archive_reader.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | struct Paraphrase(Vec); [INFO] [stdout] | ---------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Paraphrase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lang`, `id`, and `paraphrase` are never read [INFO] [stdout] --> src/archive_reader.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WordInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 47 | pub lang: Language, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub word: String, [INFO] [stdout] 49 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | pub pronounciation: Pronounciation, [INFO] [stdout] 51 | pub paraphrase: Paraphrase, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_html` is never used [INFO] [stdout] --> src/online_search.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_html(word: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_info` is never used [INFO] [stdout] --> src/online_search.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_info(html: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.61s [INFO] running `Command { std: "docker" "inspect" "fbb428e27fbcfc59071cc89770c3b676a50ca7da062c01a63e07ce2ebd2f0d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbb428e27fbcfc59071cc89770c3b676a50ca7da062c01a63e07ce2ebd2f0d40", kill_on_drop: false }` [INFO] [stdout] fbb428e27fbcfc59071cc89770c3b676a50ca7da062c01a63e07ce2ebd2f0d40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af317316dfd17a647fb11d17588d22d0d94935d7379e7788526bebbcba0895b4 [INFO] running `Command { std: "docker" "start" "-a" "af317316dfd17a647fb11d17588d22d0d94935d7379e7788526bebbcba0895b4", kill_on_drop: false }` [INFO] [stderr] Compiling rdict v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/online_search.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [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: `select::predicate::Class` [INFO] [stdout] --> src/online_search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use select::predicate::Class; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf` and `sync::OnceLock` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{path::PathBuf, sync::OnceLock}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `directories::ProjectDirs` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use directories::ProjectDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `online_search::get_html` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use online_search::get_html; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index_buf` is never read [INFO] [stdout] --> src/archive_reader.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut index_buf: &str = ""; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dict_buf_size` is never read [INFO] [stdout] --> src/archive_reader.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let mut dict_buf_size = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `html` [INFO] [stdout] --> src/online_search.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_info(html: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_html` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Paraphrase` is more private than the item `WordInfo::paraphrase` [INFO] [stdout] --> src/archive_reader.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub paraphrase: Paraphrase, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WordInfo::paraphrase` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Paraphrase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/archive_reader.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | struct Paraphrase(Vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `archive_reader::Usage` is more private than the item `WordInfo::usages` [INFO] [stdout] --> src/archive_reader.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub usages: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ field `WordInfo::usages` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `archive_reader::Usage` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/archive_reader.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | struct Usage { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/archive_reader.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | struct Paraphrase(Vec); [INFO] [stdout] | ---------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Paraphrase` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lang`, `id`, and `paraphrase` are never read [INFO] [stdout] --> src/archive_reader.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct WordInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 47 | pub lang: Language, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub word: String, [INFO] [stdout] 49 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | pub pronounciation: Pronounciation, [INFO] [stdout] 51 | pub paraphrase: Paraphrase, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_html` is never used [INFO] [stdout] --> src/online_search.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_html(word: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_info` is never used [INFO] [stdout] --> src/online_search.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_info(html: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.12s [INFO] running `Command { std: "docker" "inspect" "af317316dfd17a647fb11d17588d22d0d94935d7379e7788526bebbcba0895b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af317316dfd17a647fb11d17588d22d0d94935d7379e7788526bebbcba0895b4", kill_on_drop: false }` [INFO] [stdout] af317316dfd17a647fb11d17588d22d0d94935d7379e7788526bebbcba0895b4