[INFO] cloning repository https://github.com/pjox/ungoliant [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pjox/ungoliant" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjox%2Fungoliant", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjox%2Fungoliant'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f1571516fd3337fe8fe9e6c533144e73d2d7017 [INFO] checking pjox/ungoliant against try#742889a08e10036dc30b8a7308f2a2a15b706883 for pr-103450-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjox%2Fungoliant" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pjox/ungoliant on toolchain 742889a08e10036dc30b8a7308f2a2a15b706883 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pjox/ungoliant [INFO] finished tweaking git repo https://github.com/pjox/ungoliant [INFO] tweaked toml for git repo https://github.com/pjox/ungoliant written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/pjox/ungoliant already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 483ef4710020dedf2a8a3a318b410f95f22a9ec44a559aa2c492d9a92f2b4e01 [INFO] running `Command { std: "docker" "start" "-a" "483ef4710020dedf2a8a3a318b410f95f22a9ec44a559aa2c492d9a92f2b4e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "483ef4710020dedf2a8a3a318b410f95f22a9ec44a559aa2c492d9a92f2b4e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483ef4710020dedf2a8a3a318b410f95f22a9ec44a559aa2c492d9a92f2b4e01", kill_on_drop: false }` [INFO] [stdout] 483ef4710020dedf2a8a3a318b410f95f22a9ec44a559aa2c492d9a92f2b4e01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+742889a08e10036dc30b8a7308f2a2a15b706883" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ff86703f91ab46a93c7b0572e9c8d485fe4090e2f63a84313757c28229dca01 [INFO] running `Command { std: "docker" "start" "-a" "8ff86703f91ab46a93c7b0572e9c8d485fe4090e2f63a84313757c28229dca01", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking libflate_lz77 v1.1.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling cfasttext-sys v0.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unic-ucd-hangul v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking libflate v1.1.2 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking unic-ucd-category v0.9.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling schemars v0.8.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking scalable_bloom_filter v0.1.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking unic-ucd-normal v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling typed-builder v0.5.1 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking unic-ucd-name v0.9.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking twox-hash v1.6.2 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking unic-ucd-common v0.9.0 [INFO] [stderr] Checking unic-ucd-name_aliases v0.9.0 [INFO] [stderr] Checking unic-ucd-age v0.9.0 [INFO] [stderr] Checking unic-ucd-case v0.9.0 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-ucd-block v0.9.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking bytelines v2.2.2 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking runiq-lib v1.2.2 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking fasttext v0.6.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking ut1_blocklist v0.1.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking unicode-script v0.5.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking warc v0.3.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking avro-rs v0.13.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking unic-ucd v0.9.0 [INFO] [stderr] Checking ungoliant v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::Lines` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::str::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::identifiers::{self, Identification, Identifier}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::header::Header` [INFO] [stdout] --> src/transformers/annotate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::header::Header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::noisy::Noisy` [INFO] [stdout] --> src/transformers/annotate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::noisy::Noisy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ContentDetector` [INFO] [stdout] --> src/transformers/annotate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::ContentDetector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ShortSentences` [INFO] [stdout] --> src/transformers/annotate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ShortSentences; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TinyDocument` [INFO] [stdout] --> src/transformers/annotate.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::TinyDocument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Lines` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::str::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::identifiers::{self, Identification, Identifier}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::header::Header` [INFO] [stdout] --> src/transformers/annotate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::header::Header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::noisy::Noisy` [INFO] [stdout] --> src/transformers/annotate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::noisy::Noisy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ContentDetector` [INFO] [stdout] --> src/transformers/annotate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::ContentDetector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ShortSentences` [INFO] [stdout] --> src/transformers/annotate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ShortSentences; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TinyDocument` [INFO] [stdout] --> src/transformers/annotate.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::TinyDocument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/transformers/sentence_filter.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let a = ShortSentences::new(Length::with_min_size(10), 0.5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterKind` is never used [INFO] [stdout] --> src/filtering/sentence.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum FilterKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mean` is never used [INFO] [stdout] --> src/filtering/sentence.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn mean(&self) -> &f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `std` is never used [INFO] [stdout] --> src/filtering/sentence.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn std(&self) -> &f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Reader [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Reader { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `missing` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IncompleteLocation { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 10 | missing: LocationKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncompleteLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct RebuildWriter<'a, T> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/header.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(header_pctg: f64, threshold_pctg: f64, min_length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn new(min_length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterKind` is never used [INFO] [stdout] --> src/filtering/sentence.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum FilterKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Reader [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Reader { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `missing` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IncompleteLocation { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 10 | missing: LocationKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncompleteLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct RebuildWriter<'a, T> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_from_loc_meta` is never used [INFO] [stdout] --> src/processing/rebuild.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn test_from_loc_meta() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sequential` is never used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn sequential(nb_shards: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parallel_on_sentences` is never used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn parallel_on_sentences(nb_shards: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parallel_on_shards_and_sentences` is never used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn parallel_on_shards_and_sentences(nb_shards: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | cls.predict(sentence); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | cls.predict(sentence); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | cls.predict(sentence); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | cls.predict(sentence); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | cls.predict(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/pipeline_bench_rayon.rs:159:21 [INFO] [stdout] | [INFO] [stdout] 159 | cls.predict(s); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/pipeline_bench.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | cls.predict(sentence); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::from_utf8_lossy` that must be used [INFO] [stdout] --> benches/pipeline_bench.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | String::from_utf8_lossy(lang.as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pipelines::oscarmeta::types::Metadata` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pipelines::oscarmeta::types::Metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Lines` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::str::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::identifiers::{self, Identification, Identifier}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::header::Header` [INFO] [stdout] --> src/transformers/annotate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::header::Header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::noisy::Noisy` [INFO] [stdout] --> src/transformers/annotate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::noisy::Noisy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ContentDetector` [INFO] [stdout] --> src/transformers/annotate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::ContentDetector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ShortSentences` [INFO] [stdout] --> src/transformers/annotate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ShortSentences; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TinyDocument` [INFO] [stdout] --> src/transformers/annotate.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::TinyDocument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pipelines::oscarmeta::types::Metadata` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::pipelines::oscarmeta::types::Metadata; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Lines` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::str::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifier` [INFO] [stdout] --> src/pipelines/oscardoc/pipeline.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::identifiers::{self, Identification, Identifier}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::header::Header` [INFO] [stdout] --> src/transformers/annotate.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::header::Header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::noisy::Noisy` [INFO] [stdout] --> src/transformers/annotate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::noisy::Noisy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ContentDetector` [INFO] [stdout] --> src/transformers/annotate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::ContentDetector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ShortSentences` [INFO] [stdout] --> src/transformers/annotate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::ShortSentences; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TinyDocument` [INFO] [stdout] --> src/transformers/annotate.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::TinyDocument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/filtering/record.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(sentence_threshold: f64, sentence_filter: Length) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterKind` is never used [INFO] [stdout] --> src/filtering/sentence.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum FilterKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_min_size` is never used [INFO] [stdout] --> src/filtering/sentence.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_min_size(min_size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mean` is never used [INFO] [stdout] --> src/filtering/sentence.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | fn mean(&self) -> &f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `std` is never used [INFO] [stdout] --> src/filtering/sentence.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | fn std(&self) -> &f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_lid` is never used [INFO] [stdout] --> src/identifiers/fasttext.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new_lid() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `close_meta` is never used [INFO] [stdout] --> src/io/langfiles.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn close_meta(&self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `close_meta` is never used [INFO] [stdout] --> src/io/langfiles.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn close_meta(&self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Reader [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Reader { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LangFiles` is never constructed [INFO] [stdout] --> src/lang.rs:781:12 [INFO] [stdout] | [INFO] [stdout] 781 | pub struct LangFiles { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lang.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 791 | pub fn new(src: &Path) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> src/lang.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | pub fn get(&self, key: &'static str) -> Option<&File> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_schema` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/document.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_schema() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_schema` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/document.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn get_schema() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_record` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/document.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn from_record(record: Record, metadata: Metadata) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `missing` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IncompleteLocation { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 10 | missing: LocationKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncompleteLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct RebuildWriter<'a, T> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `into_raw_parts` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn into_raw_parts(self) -> (Location, Metadata) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend_ser` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn extend_ser(&mut self, values: I) -> AvroResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pipelines/oscarmeta/pipeline.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(src: PathBuf, dst: PathBuf, lid_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `into_merged_pieces` is never used [INFO] [stdout] --> src/pipelines/oscarmeta/types.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn into_merged_pieces(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `into_pieces` is never used [INFO] [stdout] --> src/pipelines/oscarmeta/types.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | fn into_pieces(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_schema` is never used [INFO] [stdout] --> src/pipelines/oscarmeta/types.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn get_schema() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rank` is never used [INFO] [stdout] --> src/processing/check.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn rank(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_defaults` is never used [INFO] [stdout] --> src/transformers/content_detector.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn with_defaults() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/header.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(header_pctg: f64, threshold_pctg: f64, min_length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conv_size` and `rss` are never read [INFO] [stdout] --> src/transformers/sentence_filter.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Conv { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 71 | conv_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | rss: RemoveShortSentences, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(filter: Length, threshold: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(conv_size: usize, rss: RemoveShortSentences) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `transform_idx` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn transform_idx(&self, mut doc: Document) -> (Document, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | fn new(min_length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `filter_min_length` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn filter_min_length(&self) -> &usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/transformers/sentence_filter.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | let a = ShortSentences::new(Length::with_min_size(10), 0.5); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/filtering/record.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(sentence_threshold: f64, sentence_filter: Length) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FilterKind` is never used [INFO] [stdout] --> src/filtering/sentence.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | enum FilterKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `close_meta` is never used [INFO] [stdout] --> src/io/langfiles.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn close_meta(&self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `close_meta` is never used [INFO] [stdout] --> src/io/langfiles.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn close_meta(&self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Reader [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Reader { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | lang: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Reader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LangFiles` is never constructed [INFO] [stdout] --> src/lang.rs:781:12 [INFO] [stdout] | [INFO] [stdout] 781 | pub struct LangFiles { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lang.rs:791:12 [INFO] [stdout] | [INFO] [stdout] 791 | pub fn new(src: &Path) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> src/lang.rs:808:12 [INFO] [stdout] | [INFO] [stdout] 808 | pub fn get(&self, key: &'static str) -> Option<&File> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_schema` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/document.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_schema() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_schema` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/document.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn get_schema() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `missing` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct IncompleteLocation { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 10 | missing: LocationKind, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncompleteLocation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `schema` is never read [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct RebuildWriter<'a, T> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extend_ser` is never used [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn extend_ser(&mut self, values: I) -> AvroResult [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pipelines/oscarmeta/pipeline.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(src: PathBuf, dst: PathBuf, lid_path: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_schema` is never used [INFO] [stdout] --> src/pipelines/oscarmeta/types.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn get_schema() -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rank` is never used [INFO] [stdout] --> src/processing/check.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn rank(&self) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_from_loc_meta` is never used [INFO] [stdout] --> src/processing/rebuild.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn test_from_loc_meta() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conv_size` and `rss` are never read [INFO] [stdout] --> src/transformers/sentence_filter.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Conv { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 71 | conv_size: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | rss: RemoveShortSentences, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new(conv_size: usize, rss: RemoveShortSentences) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `transform_idx` is never used [INFO] [stdout] --> src/transformers/sentence_filter.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn transform_idx(&self, mut doc: Document) -> (Document, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "8ff86703f91ab46a93c7b0572e9c8d485fe4090e2f63a84313757c28229dca01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ff86703f91ab46a93c7b0572e9c8d485fe4090e2f63a84313757c28229dca01", kill_on_drop: false }` [INFO] [stdout] 8ff86703f91ab46a93c7b0572e9c8d485fe4090e2f63a84313757c28229dca01