[INFO] fetching crate oscar-tools 0.4.0... [INFO] testing oscar-tools-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate oscar-tools 0.4.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate oscar-tools 0.4.0 [INFO] finished tweaking crates.io crate oscar-tools 0.4.0 [INFO] tweaked toml for crates.io crate oscar-tools 0.4.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oscar-tools 0.4.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate oscar-tools 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scalable_bloom_filter v0.1.1 [INFO] [stderr] Downloaded bytelines v2.4.0 [INFO] [stderr] Downloaded libflate_lz77 v1.2.0 [INFO] [stderr] Downloaded warc v0.3.1 [INFO] [stderr] Downloaded dyn-clone v1.0.13 [INFO] [stderr] Downloaded typed-builder v0.5.1 [INFO] [stderr] Downloaded schemars v0.8.13 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded avro-rs v0.13.0 [INFO] [stderr] Downloaded zerocopy v0.3.0 [INFO] [stderr] Downloaded schemars_derive v0.8.13 [INFO] [stderr] Downloaded libflate v1.4.0 [INFO] [stderr] Downloaded runiq-lib v1.2.2 [INFO] [stderr] Downloaded chrono v0.4.28 [INFO] [stderr] Downloaded rustix v0.38.10 [INFO] [stderr] Downloaded zerocopy-derive v0.2.0 [INFO] [stderr] Downloaded oscar-io v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37a2a078512038d199ae24530e72e4d98a2e2e0eb53e2fbfba128fd9ad77a758 [INFO] running `Command { std: "docker" "start" "-a" "37a2a078512038d199ae24530e72e4d98a2e2e0eb53e2fbfba128fd9ad77a758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37a2a078512038d199ae24530e72e4d98a2e2e0eb53e2fbfba128fd9ad77a758", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a2a078512038d199ae24530e72e4d98a2e2e0eb53e2fbfba128fd9ad77a758", kill_on_drop: false }` [INFO] [stdout] 37a2a078512038d199ae24530e72e4d98a2e2e0eb53e2fbfba128fd9ad77a758 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 89acfafd31df8910fc5bb2b612b7d3ce29078d1f759c49b7ccc7c45106821a9f [INFO] running `Command { std: "docker" "start" "-a" "89acfafd31df8910fc5bb2b612b7d3ce29078d1f759c49b7ccc7c45106821a9f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling libflate_lz77 v1.2.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling libflate v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling schemars v0.8.13 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling chrono v0.4.28 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling dyn-clone v1.0.13 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling typed-builder v0.5.1 [INFO] [stderr] Compiling schemars_derive v0.8.13 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling os_str_bytes v6.5.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling scalable_bloom_filter v0.1.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling bytelines v2.4.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling runiq-lib v1.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling warc v0.3.1 [INFO] [stderr] Compiling avro-rs v0.13.0 [INFO] [stderr] Compiling oscar-io v0.1.3 [INFO] [stderr] Compiling oscar-tools v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/ops/checksum.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compress::Compress` [INFO] [stdout] --> src/ops/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) use compress::Compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dedup::Dedup` [INFO] [stdout] --> src/ops/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) use dedup::Dedup; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract_text::ExtractText` [INFO] [stdout] --> src/ops/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) use extract_text::ExtractText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filter_tags::FilterTags` [INFO] [stdout] --> src/ops/mod.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) use filter_tags::FilterTags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sampling::SampleText` [INFO] [stdout] --> src/ops/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use sampling::SampleText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sampling::SamplingKind` [INFO] [stdout] --> src/ops/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use sampling::SamplingKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::Split` [INFO] [stdout] --> src/ops/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use split::Split; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPRESSED_FILE_EXTS` is never used [INFO] [stdout] --> src/ops/compress.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const COMPRESSED_FILE_EXTS: [&'static str; 2] = ["gz", "zst"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Compress` is never used [INFO] [stdout] --> src/ops/compress.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Compress { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/ops/compress.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn compress(dest_file: &mut impl Write, r: T, compression: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_gzip` is never used [INFO] [stdout] --> src/ops/compress.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn compress_gzip(dest_file: &mut impl Write, r: T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dedup` is never used [INFO] [stdout] --> src/ops/dedup.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Dedup { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExtractText` is never used [INFO] [stdout] --> src/ops/extract_text.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ExtractText { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FilterTags` is never used [INFO] [stdout] --> src/ops/filter_tags.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait FilterTags { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SamplingKind` is never used [INFO] [stdout] --> src/ops/sampling.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SamplingKind { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SampleText` is never used [INFO] [stdout] --> src/ops/sampling.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SampleText { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitWriter` is never constructed [INFO] [stdout] --> src/ops/split.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct SplitWriter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `format_filename`, `next_filename`, and `rotate_file` are never used [INFO] [stdout] --> src/ops/split.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SplitWriter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 29 | /// Create a new writer. `max_size` is in bytes. [INFO] [stdout] 30 | pub fn new(dst: &Path, max_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn format_filename(filename: &Path, part_number: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn rotate_file(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Split` is never used [INFO] [stdout] --> src/ops/split.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | pub trait Split { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/split.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/cli.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/cli.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/ops/checksum.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hook_to_clap` is never used [INFO] [stdout] --> src/cli.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Command { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 8 | fn hook_to_clap(ctx: clap::App<'static>) -> clap::App<'static> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Runnable` is never used [INFO] [stdout] --> src/cli.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Runnable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 - Io(std::io::Error), [INFO] [stdout] 6 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Json(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Json(serde_json::Error), [INFO] [stdout] 7 + Json(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | ThreadPoolBuild(rayon::ThreadPoolBuildError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - ThreadPoolBuild(rayon::ThreadPoolBuildError), [INFO] [stdout] 8 + ThreadPoolBuild(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | OscarIo(oscar_io::error::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - OscarIo(oscar_io::error::Error), [INFO] [stdout] 11 + OscarIo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Custom(String), [INFO] [stdout] 13 + Custom(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingContent` and `MalformedContent` are never constructed [INFO] [stdout] --> src/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | MissingContent(serde_json::Value), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | MalformedContent(serde_json::Value), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_to_hashset` is never used [INFO] [stdout] --> src/impls/oscar_doc/filter_tags.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl FilterTagDoc { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `extract_from_doc` and `extract` are never used [INFO] [stdout] --> src/impls/oscar_doc/oscar_doc.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 234 | impl OscarDoc { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 238 | fn extract_from_doc(doc: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn extract(src: T, dst: &mut U) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/oscar_txt/dedup.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DedupTxt { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | /// TODO: provide a way to specify filter? [INFO] [stdout] 20 | fn new(filter: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_offset` is never read [INFO] [stdout] --> src/impls/oscar_txt/sampling/indexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Indexer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | inner: R, [INFO] [stdout] 7 | prev_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WithReplacement` is never constructed [INFO] [stdout] --> src/ops/sampling.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SamplingKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 6 | WithReplacement, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/impls/oscar_doc/filter_tags.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/split.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "89acfafd31df8910fc5bb2b612b7d3ce29078d1f759c49b7ccc7c45106821a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89acfafd31df8910fc5bb2b612b7d3ce29078d1f759c49b7ccc7c45106821a9f", kill_on_drop: false }` [INFO] [stdout] 89acfafd31df8910fc5bb2b612b7d3ce29078d1f759c49b7ccc7c45106821a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 035dd64857b7bbf908a93b80fe605c955481199d6c41c73f46fc4904db73f833 [INFO] running `Command { std: "docker" "start" "-a" "035dd64857b7bbf908a93b80fe605c955481199d6c41c73f46fc4904db73f833", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.10 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/ops/checksum.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compress::Compress` [INFO] [stdout] --> src/ops/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) use compress::Compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dedup::Dedup` [INFO] [stdout] --> src/ops/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) use dedup::Dedup; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract_text::ExtractText` [INFO] [stdout] --> src/ops/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) use extract_text::ExtractText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filter_tags::FilterTags` [INFO] [stdout] --> src/ops/mod.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) use filter_tags::FilterTags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sampling::SampleText` [INFO] [stdout] --> src/ops/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use sampling::SampleText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sampling::SamplingKind` [INFO] [stdout] --> src/ops/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use sampling::SamplingKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::Split` [INFO] [stdout] --> src/ops/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use split::Split; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPRESSED_FILE_EXTS` is never used [INFO] [stdout] --> src/ops/compress.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const COMPRESSED_FILE_EXTS: [&'static str; 2] = ["gz", "zst"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Compress` is never used [INFO] [stdout] --> src/ops/compress.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Compress { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress` is never used [INFO] [stdout] --> src/ops/compress.rs:157:4 [INFO] [stdout] | [INFO] [stdout] 157 | fn compress(dest_file: &mut impl Write, r: T, compression: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_gzip` is never used [INFO] [stdout] --> src/ops/compress.rs:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | fn compress_gzip(dest_file: &mut impl Write, r: T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dedup` is never used [INFO] [stdout] --> src/ops/dedup.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Dedup { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ExtractText` is never used [INFO] [stdout] --> src/ops/extract_text.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ExtractText { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FilterTags` is never used [INFO] [stdout] --> src/ops/filter_tags.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait FilterTags { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SamplingKind` is never used [INFO] [stdout] --> src/ops/sampling.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SamplingKind { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SampleText` is never used [INFO] [stdout] --> src/ops/sampling.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SampleText { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SplitWriter` is never constructed [INFO] [stdout] --> src/ops/split.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct SplitWriter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `format_filename`, `next_filename`, and `rotate_file` are never used [INFO] [stdout] --> src/ops/split.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SplitWriter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 29 | /// Create a new writer. `max_size` is in bytes. [INFO] [stdout] 30 | pub fn new(dst: &Path, max_size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn format_filename(filename: &Path, part_number: u64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn rotate_file(&mut self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Split` is never used [INFO] [stdout] --> src/ops/split.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | pub trait Split { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/split.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling oscar-tools v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/ops/checksum.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/ops/compress.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | io::{Cursor, Read}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dedup::Dedup` [INFO] [stdout] --> src/ops/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) use dedup::Dedup; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `extract_text::ExtractText` [INFO] [stdout] --> src/ops/mod.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) use extract_text::ExtractText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `filter_tags::FilterTags` [INFO] [stdout] --> src/ops/mod.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) use filter_tags::FilterTags; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sampling::SampleText` [INFO] [stdout] --> src/ops/mod.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use sampling::SampleText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sampling::SamplingKind` [INFO] [stdout] --> src/ops/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use sampling::SamplingKind; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `split::Split` [INFO] [stdout] --> src/ops/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) use split::Split; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/cli.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/cli.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/error.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/ops/checksum.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cursor` [INFO] [stdout] --> src/ops/compress.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | io::{Cursor, Read}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_dummy_corpus` is never used [INFO] [stdout] --> src/ops/checksum.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn gen_dummy_corpus() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `compress_folder` is never used [INFO] [stdout] --> src/ops/compress.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Compress { [INFO] [stdout] | -------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 87 | fn compress_folder( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Dedup` is never used [INFO] [stdout] --> src/ops/dedup.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Dedup { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `extract_from_path` is never used [INFO] [stdout] --> src/ops/extract_text.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ExtractText { [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] 12 | fn extract_from_path(src: &Path, dst: &Path, del_src: bool) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FilterTags` is never used [INFO] [stdout] --> src/ops/filter_tags.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait FilterTags { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SamplingKind` is never used [INFO] [stdout] --> src/ops/sampling.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SamplingKind { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SampleText` is never used [INFO] [stdout] --> src/ops/sampling.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait SampleText { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Split` is never used [INFO] [stdout] --> src/ops/split.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | pub trait Split { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/split.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `hook_to_clap` is never used [INFO] [stdout] --> src/cli.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Command { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 8 | fn hook_to_clap(ctx: clap::App<'static>) -> clap::App<'static> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Runnable` is never used [INFO] [stdout] --> src/cli.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Runnable { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | Json(serde_json::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - Json(serde_json::Error), [INFO] [stdout] 7 + Json(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | ThreadPoolBuild(rayon::ThreadPoolBuildError), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - ThreadPoolBuild(rayon::ThreadPoolBuildError), [INFO] [stdout] 8 + ThreadPoolBuild(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | MissingContent(serde_json::Value), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - MissingContent(serde_json::Value), [INFO] [stdout] 9 + MissingContent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | MalformedContent(serde_json::Value), [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - MalformedContent(serde_json::Value), [INFO] [stdout] 10 + MalformedContent(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | OscarIo(oscar_io::error::Error), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - OscarIo(oscar_io::error::Error), [INFO] [stdout] 11 + OscarIo(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - Custom(String), [INFO] [stdout] 13 + Custom(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `convert_to_hashset` is never used [INFO] [stdout] --> src/impls/oscar_doc/filter_tags.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl FilterTagDoc { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/impls/oscar_txt/dedup.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl DedupTxt { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 19 | /// TODO: provide a way to specify filter? [INFO] [stdout] 20 | fn new(filter: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `prev_offset` is never read [INFO] [stdout] --> src/impls/oscar_txt/sampling/indexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Indexer { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 6 | inner: R, [INFO] [stdout] 7 | prev_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_dummy_corpus` is never used [INFO] [stdout] --> src/ops/checksum.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn gen_dummy_corpus() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WithReplacement` is never constructed [INFO] [stdout] --> src/ops/sampling.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum SamplingKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 6 | WithReplacement, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/impls/oscar_doc/filter_tags.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/split.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "035dd64857b7bbf908a93b80fe605c955481199d6c41c73f46fc4904db73f833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035dd64857b7bbf908a93b80fe605c955481199d6c41c73f46fc4904db73f833", kill_on_drop: false }` [INFO] [stdout] 035dd64857b7bbf908a93b80fe605c955481199d6c41c73f46fc4904db73f833 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] db19d88dcd55849b256dd384ea44c499674c385a1f1311c24d5550b07bfbb4b2 [INFO] running `Command { std: "docker" "start" "-a" "db19d88dcd55849b256dd384ea44c499674c385a1f1311c24d5550b07bfbb4b2", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/error.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/error.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `info` [INFO] [stderr] --> src/ops/checksum.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | use log::{debug, error, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `compress::Compress` [INFO] [stderr] --> src/ops/mod.rs:13:16 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) use compress::Compress; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `dedup::Dedup` [INFO] [stderr] --> src/ops/mod.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) use dedup::Dedup; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `extract_text::ExtractText` [INFO] [stderr] --> src/ops/mod.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) use extract_text::ExtractText; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `filter_tags::FilterTags` [INFO] [stderr] --> src/ops/mod.rs:16:16 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) use filter_tags::FilterTags; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sampling::SampleText` [INFO] [stderr] --> src/ops/mod.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) use sampling::SampleText; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sampling::SamplingKind` [INFO] [stderr] --> src/ops/mod.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub use sampling::SamplingKind; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `split::Split` [INFO] [stderr] --> src/ops/mod.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) use split::Split; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `COMPRESSED_FILE_EXTS` is never used [INFO] [stderr] --> src/ops/compress.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const COMPRESSED_FILE_EXTS: [&'static str; 2] = ["gz", "zst"]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Compress` is never used [INFO] [stderr] --> src/ops/compress.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub trait Compress { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compress` is never used [INFO] [stderr] --> src/ops/compress.rs:157:4 [INFO] [stderr] | [INFO] [stderr] 157 | fn compress(dest_file: &mut impl Write, r: T, compression: &str) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `compress_gzip` is never used [INFO] [stderr] --> src/ops/compress.rs:168:4 [INFO] [stderr] | [INFO] [stderr] 168 | fn compress_gzip(dest_file: &mut impl Write, r: T) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Dedup` is never used [INFO] [stderr] --> src/ops/dedup.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait Dedup { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ExtractText` is never used [INFO] [stderr] --> src/ops/extract_text.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait ExtractText { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `FilterTags` is never used [INFO] [stderr] --> src/ops/filter_tags.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait FilterTags { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `SamplingKind` is never used [INFO] [stderr] --> src/ops/sampling.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum SamplingKind { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SampleText` is never used [INFO] [stderr] --> src/ops/sampling.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait SampleText { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SplitWriter` is never constructed [INFO] [stderr] --> src/ops/split.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | struct SplitWriter { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `format_filename`, `next_filename`, and `rotate_file` are never used [INFO] [stderr] --> src/ops/split.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl SplitWriter { [INFO] [stderr] | ---------------- associated items in this implementation [INFO] [stderr] 29 | /// Create a new writer. `max_size` is in bytes. [INFO] [stderr] 30 | pub fn new(dst: &Path, max_size: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | fn format_filename(filename: &Path, part_number: u64) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 87 | pub fn rotate_file(&mut self) -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Split` is never used [INFO] [stderr] --> src/ops/split.rs:161:11 [INFO] [stderr] | [INFO] [stderr] 161 | pub trait Split { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ops/split.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `oscar-tools` (lib) generated 23 warnings (run `cargo fix --lib -p oscar-tools` to apply 9 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/main.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/cli.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/cli.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stderr] --> src/error.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | #[cfg(not(tarpaulin_include))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `Cursor` [INFO] [stderr] --> src/ops/compress.rs:203:14 [INFO] [stderr] | [INFO] [stderr] 203 | io::{Cursor, Read}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `hook_to_clap` is never used [INFO] [stderr] --> src/cli.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 7 | pub trait Command { [INFO] [stderr] | ------- associated function in this trait [INFO] [stderr] 8 | fn hook_to_clap(ctx: clap::App<'static>) -> clap::App<'static> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Runnable` is never used [INFO] [stderr] --> src/cli.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | pub trait Runnable { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | Json(serde_json::Error), [INFO] [stderr] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 7 - Json(serde_json::Error), [INFO] [stderr] 7 + Json(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | ThreadPoolBuild(rayon::ThreadPoolBuildError), [INFO] [stderr] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 8 - ThreadPoolBuild(rayon::ThreadPoolBuildError), [INFO] [stderr] 8 + ThreadPoolBuild(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:9:20 [INFO] [stderr] | [INFO] [stderr] 9 | MissingContent(serde_json::Value), [INFO] [stderr] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 9 - MissingContent(serde_json::Value), [INFO] [stderr] 9 + MissingContent(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | MalformedContent(serde_json::Value), [INFO] [stderr] | ---------------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - MalformedContent(serde_json::Value), [INFO] [stderr] 10 + MalformedContent(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | OscarIo(oscar_io::error::Error), [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 11 - OscarIo(oscar_io::error::Error), [INFO] [stderr] 11 + OscarIo(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/error.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | Custom(String), [INFO] [stderr] | ------ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 13 - Custom(String), [INFO] [stderr] 13 + Custom(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated function `convert_to_hashset` is never used [INFO] [stderr] --> src/impls/oscar_doc/filter_tags.rs:60:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl FilterTagDoc { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/impls/oscar_txt/dedup.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 18 | impl DedupTxt { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 19 | /// TODO: provide a way to specify filter? [INFO] [stderr] 20 | fn new(filter: Box) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `prev_offset` is never read [INFO] [stderr] --> src/impls/oscar_txt/sampling/indexer.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Indexer { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 6 | inner: R, [INFO] [stderr] 7 | prev_offset: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `gen_dummy_corpus` is never used [INFO] [stderr] --> src/ops/checksum.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 144 | fn gen_dummy_corpus() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `WithReplacement` is never constructed [INFO] [stderr] --> src/ops/sampling.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum SamplingKind { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] 6 | WithReplacement, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/impls/oscar_doc/filter_tags.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 60 | fn convert_to_hashset(arr: &[serde_json::Value]) -> HashSet> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ops/split.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 61 | fn next_filename(&mut self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: function `gen_dummy_corpus` is never used [INFO] [stderr] --> src/ops/checksum.rs:144:8 [INFO] [stderr] | [INFO] [stderr] 144 | fn gen_dummy_corpus() -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `compress_folder` is never used [INFO] [stderr] --> src/ops/compress.rs:87:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub trait Compress { [INFO] [stderr] | -------- associated function in this trait [INFO] [stderr] ... [INFO] [stderr] 87 | fn compress_folder( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `extract_from_path` is never used [INFO] [stderr] --> src/ops/extract_text.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait ExtractText { [INFO] [stderr] | ----------- associated function in this trait [INFO] [stderr] 12 | fn extract_from_path(src: &Path, dst: &Path, del_src: bool) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `oscar-tools` (bin "oscar-tools" test) generated 22 warnings (2 duplicates) (run `cargo fix --bin "oscar-tools" --tests` to apply 3 suggestions) [INFO] [stderr] warning: `oscar-tools` (lib test) generated 19 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/oscar_tools-f87b13bca968cc00) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test ops::checksum::tests::test_write_checksum ... ok [INFO] [stdout] test ops::extract_text::tests::test_extract_json ... ok [INFO] [stdout] test ops::checksum::tests::test_get_write_hashes ... ok [INFO] [stdout] test ops::compress::test::test_dst_not_directory ... ok [INFO] [stdout] test ops::compress::test::test_compress ... ok [INFO] [stdout] test ops::checksum::tests::test_checksum_folder ... ok [INFO] [stdout] test ops::split::tests::file_name_single ... ok [INFO] [stdout] test ops::split::tests::file_name_multiple ... ok [INFO] [stdout] test ops::compress::test::test_dst_exists ... ok [INFO] [stdout] test ops::checksum::tests::test_checksum_lang ... ok [INFO] [stdout] test ops::extract_text::tests::test_extract_text ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/oscar_tools-324e3b0425f85834) [INFO] [stdout] [INFO] [stdout] running 48 tests [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_included ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_complex_filtered ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_complex ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_exclude ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_excluded ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_excluded_ ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_no_tag ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_same_exclude_include ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_1 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_2 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_4 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_5a ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_5b ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_filter_write ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_include ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_edge_case_3 ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_verycomplex ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_filter_write_clean ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::extract_bad_content ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::extract_no_content ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::apply_filter_rules_no_include ... ok [INFO] [stdout] test impls::oscar_doc::filter_tags::test::test_filter_write_overlap ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_extract_multiple ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::text_extract_from_doc ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_extract_single ... ok [INFO] [stdout] test impls::oscar_txt::sampling::indexer::test::test_indexer ... ok [INFO] [stdout] test impls::oscar_txt::sampling::indexed_reader::tests::test_indexed_reader ... ok [INFO] [stdout] test impls::oscar_txt::sampling::indexed_reader::tests::test_indexed_reader_out_of_bounds ... ok [INFO] [stdout] test impls::oscar_txt::sampling::sampling::tests::test_get_sample_on_scale ... ignored [INFO] [stdout] test impls::oscar_txt::sampling::sampling::tests::test_get_sample ... ok [INFO] [stdout] test impls::oscar_txt::sampling::sampling::tests::test_sample_sorting ... ok [INFO] [stdout] test impls::oscar_txt::sampling::sampling::tests::test_index ... ok [INFO] [stdout] test impls::oscar_txt::sampling::sampling::tests::test_sample_sampling ... ok [INFO] [stdout] test impls::oscar_txt::dedup::tests::test_multi_doc ... ok [INFO] [stdout] test impls::oscar_txt::dedup::tests::test_simple ... ok [INFO] [stdout] test ops::checksum::tests::test_write_checksum ... ok [INFO] [stdout] test ops::checksum::tests::test_get_write_hashes ... ok [INFO] [stdout] test ops::compress::test::test_compress ... ok [INFO] [stdout] test ops::checksum::tests::test_checksum_folder ... ok [INFO] [stdout] test ops::checksum::tests::test_checksum_lang ... ok [INFO] [stdout] test ops::compress::test::test_dst_not_directory ... ok [INFO] [stdout] test ops::compress::test::test_dst_exists ... ok [INFO] [stdout] test ops::split::tests::file_name_multiple ... ok [INFO] [stdout] test ops::extract_text::tests::test_extract_json ... ok [INFO] [stdout] test ops::split::tests::file_name_single ... ok [INFO] [stdout] test ops::extract_text::tests::test_extract_text ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_compress ... ok [INFO] [stdout] test impls::oscar_doc::oscar_doc::tests::test_split_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "db19d88dcd55849b256dd384ea44c499674c385a1f1311c24d5550b07bfbb4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db19d88dcd55849b256dd384ea44c499674c385a1f1311c24d5550b07bfbb4b2", kill_on_drop: false }` [INFO] [stdout] db19d88dcd55849b256dd384ea44c499674c385a1f1311c24d5550b07bfbb4b2