[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] 36431ee5be9e74cf3374ed6cb41c8e682f9d0053 [INFO] checking pjox/ungoliant against try#506dff8de9f54f528028a7e4497ea925a4f3e19e for pr-94295 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpjox%2Fungoliant" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pjox/ungoliant on toolchain 506dff8de9f54f528028a7e4497ea925a4f3e19e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "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-57/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" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/oscar-corpus/ut1-rs` [INFO] [stderr] Updating git repository `https://github.com/jedireza/warc` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded schemars_derive v0.8.5 [INFO] [stderr] Downloaded hyper v0.14.8 [INFO] [stderr] Downloaded schemars v0.8.5 [INFO] [stderr] Downloaded reqwest v0.11.3 [INFO] [stderr] Downloaded tokio v1.6.1 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] [stderr] Downloaded fasttext v0.6.0 [INFO] [stderr] Downloaded cfasttext-sys v0.6.0 [INFO] [stderr] Downloaded scalable_bloom_filter v0.1.1 [INFO] [stderr] Downloaded runiq-lib v1.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abb6dd2606a2c384efec2f44fbdda8676f6cfc52880a779dd7d505a3d44525d0 [INFO] running `Command { std: "docker" "start" "-a" "abb6dd2606a2c384efec2f44fbdda8676f6cfc52880a779dd7d505a3d44525d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abb6dd2606a2c384efec2f44fbdda8676f6cfc52880a779dd7d505a3d44525d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abb6dd2606a2c384efec2f44fbdda8676f6cfc52880a779dd7d505a3d44525d0", kill_on_drop: false }` [INFO] [stdout] abb6dd2606a2c384efec2f44fbdda8676f6cfc52880a779dd7d505a3d44525d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+506dff8de9f54f528028a7e4497ea925a4f3e19e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f0537f7f549aa05a813214bd96f036cde54b45f11c9f93a84ebba0e1f0b2525 [INFO] running `Command { std: "docker" "start" "-a" "1f0537f7f549aa05a813214bd96f036cde54b45f11c9f93a84ebba0e1f0b2525", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling schemars v0.8.5 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking strum v0.18.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bytelines v2.2.2 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking cpufeatures v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking scalable_bloom_filter v0.1.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking libflate_lz77 v1.1.0 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [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 generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling cfasttext-sys v0.6.0 [INFO] [stderr] Checking libflate v1.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking unicode-normalization v0.1.18 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking runiq-lib v1.2.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling typed-builder v0.5.1 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling schemars_derive v0.8.5 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking ut1_blocklist v0.1.0 (https://github.com/oscar-corpus/ut1-rs#1fbc41c8) [INFO] [stderr] Checking fasttext v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking warc v0.3.0 (https://github.com/jedireza/warc#8a3ce430) [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 hyper v0.14.8 [INFO] [stderr] Checking criterion v0.3.4 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking ungoliant v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Conv` [INFO] [stdout] --> src/transformers/sentence_filter.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | use super::{Conv, RemoveShortSentences, ShortSentences}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotation` [INFO] [stdout] --> src/transformers/sentence_filter.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | let annotation = "short_sentences"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sources/commoncrawl/shard.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let x = Wet::from_path_gzip("/dev/").unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `FilterKind` [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 is never used: `mean` [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 is never used: `std` [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 is never used: `new` [INFO] [stdout] --> src/transformers/sentence_filter.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn new(min_length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lang` [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [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] --> src/io/reader/metareader.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lang` [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [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] --> src/io/reader/reader.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `missing` [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [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] --> src/pipelines/oscardoc/types/location.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema` [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `FilterKind` [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 is never read: `lang` [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [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] --> src/io/reader/metareader.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lang` [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [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] --> src/io/reader/reader.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_from_loc_meta` [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: field is never read: `missing` [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [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] --> src/pipelines/oscardoc/types/location.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema` [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sequential` [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 is never used: `parallel_on_sentences` [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 is never used: `parallel_on_shards_and_sentences` [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: `#[warn(unused_must_use)]` on by default [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: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 import: `Conv` [INFO] [stdout] --> src/transformers/sentence_filter.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | use super::{Conv, RemoveShortSentences, ShortSentences}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotation` [INFO] [stdout] --> src/transformers/sentence_filter.rs:518:13 [INFO] [stdout] | [INFO] [stdout] 518 | let annotation = "short_sentences"; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/sources/commoncrawl/shard.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let x = Wet::from_path_gzip("/dev/").unwrap(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LangFiles` [INFO] [stdout] --> src/lang.rs:776:12 [INFO] [stdout] | [INFO] [stdout] 776 | pub struct LangFiles { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lang.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn new(src: &Path) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/lang.rs:803:12 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn get(&self, key: &'static str) -> Option<&File> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/filtering/record.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(sentence_threshold: f64, sentence_filter: Length) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `FilterKind` [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 is never used: `with_min_size` [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 is never used: `mean` [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 is never used: `std` [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 is never used: `new_lid` [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 is never used: `prob` [INFO] [stdout] --> src/identifiers/identifier.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn prob(&self) -> &f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close_meta` [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 is never used: `close_meta` [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: associated function is never used: `new` [INFO] [stdout] --> src/transformers/content_detector.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(bl: Blocklist<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transformers/sentence_filter.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(filter: Length, threshold: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `conv_size` [INFO] [stdout] --> src/transformers/sentence_filter.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | conv_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rss` [INFO] [stdout] --> src/transformers/sentence_filter.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | rss: RemoveShortSentences, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transformers/sentence_filter.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(conv_size: usize, rss: RemoveShortSentences) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_idx` [INFO] [stdout] --> src/transformers/sentence_filter.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transform_idx(&self, mut doc: Document) -> (Document, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transformers/sentence_filter.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | fn new(min_length: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `filter_min_length` [INFO] [stdout] --> src/transformers/sentence_filter.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | fn filter_min_length(&self) -> &usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lang` [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [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] --> src/io/reader/metareader.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lang` [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [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] --> src/io/reader/reader.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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 is never used: `into_merged_pieces` [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 is never used: `into_pieces` [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 is never used: `annotation` [INFO] [stdout] --> src/pipelines/oscardoc/types/document.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn annotation(&self) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_record` [INFO] [stdout] --> src/pipelines/oscardoc/types/document.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn from_record(record: Record, metadata: Metadata) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `missing` [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [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] --> src/pipelines/oscardoc/types/location.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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: associated function is never used: `into_raw_parts` [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: field is never read: `schema` [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extend_ser` [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: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `LangFiles` [INFO] [stdout] --> src/lang.rs:776:12 [INFO] [stdout] | [INFO] [stdout] 776 | pub struct LangFiles { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lang.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn new(src: &Path) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/lang.rs:803:12 [INFO] [stdout] | [INFO] [stdout] 803 | pub fn get(&self, key: &'static str) -> Option<&File> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/filtering/record.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(sentence_threshold: f64, sentence_filter: Length) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `FilterKind` [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 is never used: `close_meta` [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 is never used: `close_meta` [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 is never read: `conv_size` [INFO] [stdout] --> src/transformers/sentence_filter.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | conv_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rss` [INFO] [stdout] --> src/transformers/sentence_filter.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | rss: RemoveShortSentences, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/transformers/sentence_filter.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(conv_size: usize, rss: RemoveShortSentences) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform_idx` [INFO] [stdout] --> src/transformers/sentence_filter.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn transform_idx(&self, mut doc: Document) -> (Document, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lang` [INFO] [stdout] --> src/io/reader/metareader.rs:19:5 [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] --> src/io/reader/metareader.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lang` [INFO] [stdout] --> src/io/reader/reader.rs:41:5 [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] --> src/io/reader/reader.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [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: function is never used: `test_from_loc_meta` [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: field is never read: `missing` [INFO] [stdout] --> src/pipelines/oscardoc/types/location.rs:10:5 [INFO] [stdout] | [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] --> src/pipelines/oscardoc/types/location.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `schema` [INFO] [stdout] --> src/pipelines/oscardoc/types/rebuild.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | schema: &'a Schema, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `extend_ser` [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: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "1f0537f7f549aa05a813214bd96f036cde54b45f11c9f93a84ebba0e1f0b2525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f0537f7f549aa05a813214bd96f036cde54b45f11c9f93a84ebba0e1f0b2525", kill_on_drop: false }` [INFO] [stdout] 1f0537f7f549aa05a813214bd96f036cde54b45f11c9f93a84ebba0e1f0b2525