[INFO] crate pandoc 0.7.0 is already in cache [INFO] extracting crate pandoc 0.7.0 into work/ex/clippy-test-run/sources/stable/reg/pandoc/0.7.0 [INFO] extracting crate pandoc 0.7.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pandoc/0.7.0 [INFO] validating manifest of pandoc-0.7.0 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of pandoc-0.7.0 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing pandoc-0.7.0 [INFO] finished frobbing pandoc-0.7.0 [INFO] frobbed toml for pandoc-0.7.0 written to work/ex/clippy-test-run/sources/stable/reg/pandoc/0.7.0/Cargo.toml [INFO] started frobbing pandoc-0.7.0 [INFO] finished frobbing pandoc-0.7.0 [INFO] frobbed toml for pandoc-0.7.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pandoc/0.7.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting pandoc-0.7.0 against stable+rustflags=-Dclippy::into_iter_on_array for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pandoc/0.7.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dclippy::into_iter_on_array" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] d635edd1bd9ce861c7f5bb0d45d4f390576c1251eb802ac2ae40285e53aa45a1 [INFO] running `"docker" "start" "-a" "d635edd1bd9ce861c7f5bb0d45d4f390576c1251eb802ac2ae40285e53aa45a1"` [INFO] [stderr] Checking pandoc v0.7.0 (/opt/crater/workdir) [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | const PANDOC_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:31 [INFO] [stderr] | [INFO] [stderr] 19 | const PANDOC_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | const LATEX_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | const LATEX_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | const PATH_DELIMIT: &'static str = ":"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | const PANDOC_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::const_static_lifetime)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:19:31 [INFO] [stderr] | [INFO] [stderr] 19 | const PANDOC_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:30:20 [INFO] [stderr] | [INFO] [stderr] 30 | const LATEX_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^--------------- help: consider removing `'static`: `&[&'static str]` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:30:30 [INFO] [stderr] | [INFO] [stderr] 30 | const LATEX_PATH: &'static [&'static str] = &[ [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: Constants have by default a `'static` lifetime [INFO] [stderr] --> src/lib.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | const PATH_DELIMIT: &'static str = ":"; [INFO] [stderr] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#const_static_lifetime [INFO] [stderr] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/lib.rs:246:34 [INFO] [stderr] | [INFO] [stderr] 246 | if b.len() == 0 { [INFO] [stderr] | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `b.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:749:5 [INFO] [stderr] | [INFO] [stderr] 749 | / pub fn set_doc_class<'p>(&'p mut self, class: DocumentClass) -> &'p mut Pandoc { [INFO] [stderr] 750 | | self.options.push(PandocOption::Var("documentclass".to_string(), Some(class.to_string()))); [INFO] [stderr] 751 | | self [INFO] [stderr] 752 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:758:5 [INFO] [stderr] | [INFO] [stderr] 758 | / pub fn set_show_cmdline<'p>(&'p mut self, flag: bool) -> &'p mut Pandoc { [INFO] [stderr] 759 | | self.print_pandoc_cmdline = flag; [INFO] [stderr] 760 | | self [INFO] [stderr] 761 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/lib.rs:782:9 [INFO] [stderr] | [INFO] [stderr] 782 | / let _ = match self.input { [INFO] [stderr] 783 | | Some(InputKind::Files(ref mut files)) => { [INFO] [stderr] 784 | | files.push(filename); [INFO] [stderr] 785 | | }, [INFO] [stderr] ... | [INFO] [stderr] 790 | | }, [INFO] [stderr] 791 | | }; [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:815:5 [INFO] [stderr] | [INFO] [stderr] 815 | / pub fn set_output<'p>(&'p mut self, output: OutputKind) -> &'p mut Pandoc { [INFO] [stderr] 816 | | self.output = Some(output); [INFO] [stderr] 817 | | self [INFO] [stderr] 818 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:836:5 [INFO] [stderr] | [INFO] [stderr] 836 | / pub fn set_toc<'p>(&'p mut self) -> &'p mut Pandoc { [INFO] [stderr] 837 | | self.options.push(PandocOption::TableOfContents); [INFO] [stderr] 838 | | self [INFO] [stderr] 839 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:842:5 [INFO] [stderr] | [INFO] [stderr] 842 | / pub fn set_chapters<'p>(&'p mut self) -> &'p mut Pandoc { [INFO] [stderr] 843 | | self.options.push(PandocOption::TopLevelDivision(Tld::Chapter)); [INFO] [stderr] 844 | | self [INFO] [stderr] 845 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:851:5 [INFO] [stderr] | [INFO] [stderr] 851 | / pub fn set_number_sections<'p>(&'p mut self) -> &'p mut Pandoc { [INFO] [stderr] 852 | | self.options.push(PandocOption::NumberSections); [INFO] [stderr] 853 | | self [INFO] [stderr] 854 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:863:5 [INFO] [stderr] | [INFO] [stderr] 863 | / pub fn set_slide_level<'p>(&'p mut self, level: u32) -> &'p mut Pandoc { [INFO] [stderr] 864 | | self.options.push(PandocOption::SlideLevel(level)); [INFO] [stderr] 865 | | self [INFO] [stderr] 866 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:885:5 [INFO] [stderr] | [INFO] [stderr] 885 | / pub fn add_filter<'p>(&'p mut self, filter: fn(String) -> String) -> &'p mut Pandoc { [INFO] [stderr] 886 | | self.filters.push(filter); [INFO] [stderr] 887 | | self [INFO] [stderr] 888 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:891:5 [INFO] [stderr] | [INFO] [stderr] 891 | / pub fn add_option<'p>(&'p mut self, option: PandocOption) -> &'p mut Pandoc { [INFO] [stderr] 892 | | self.options.push(option); [INFO] [stderr] 893 | | self [INFO] [stderr] 894 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:917:32 [INFO] [stderr] | [INFO] [stderr] 917 | .chain(PANDOC_PATH.into_iter().cloned()) [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:918:31 [INFO] [stderr] | [INFO] [stderr] 918 | .chain(LATEX_PATH.into_iter().cloned()) [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/lib.rs:1040:9 [INFO] [stderr] | [INFO] [stderr] 1040 | let _ = try!(self.preprocess()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: length comparison to zero [INFO] [stderr] --> src/lib.rs:246:34 [INFO] [stderr] | [INFO] [stderr] 246 | if b.len() == 0 { [INFO] [stderr] | ^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `b.is_empty()` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_zero)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:749:5 [INFO] [stderr] | [INFO] [stderr] 749 | / pub fn set_doc_class<'p>(&'p mut self, class: DocumentClass) -> &'p mut Pandoc { [INFO] [stderr] 750 | | self.options.push(PandocOption::Var("documentclass".to_string(), Some(class.to_string()))); [INFO] [stderr] 751 | | self [INFO] [stderr] 752 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::needless_lifetimes)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:758:5 [INFO] [stderr] | [INFO] [stderr] 758 | / pub fn set_show_cmdline<'p>(&'p mut self, flag: bool) -> &'p mut Pandoc { [INFO] [stderr] 759 | | self.print_pandoc_cmdline = flag; [INFO] [stderr] 760 | | self [INFO] [stderr] 761 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/lib.rs:782:9 [INFO] [stderr] | [INFO] [stderr] 782 | / let _ = match self.input { [INFO] [stderr] 783 | | Some(InputKind::Files(ref mut files)) => { [INFO] [stderr] 784 | | files.push(filename); [INFO] [stderr] 785 | | }, [INFO] [stderr] ... | [INFO] [stderr] 790 | | }, [INFO] [stderr] 791 | | }; [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::let_unit_value)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:815:5 [INFO] [stderr] | [INFO] [stderr] 815 | / pub fn set_output<'p>(&'p mut self, output: OutputKind) -> &'p mut Pandoc { [INFO] [stderr] 816 | | self.output = Some(output); [INFO] [stderr] 817 | | self [INFO] [stderr] 818 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:836:5 [INFO] [stderr] | [INFO] [stderr] 836 | / pub fn set_toc<'p>(&'p mut self) -> &'p mut Pandoc { [INFO] [stderr] 837 | | self.options.push(PandocOption::TableOfContents); [INFO] [stderr] 838 | | self [INFO] [stderr] 839 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:842:5 [INFO] [stderr] | [INFO] [stderr] 842 | / pub fn set_chapters<'p>(&'p mut self) -> &'p mut Pandoc { [INFO] [stderr] 843 | | self.options.push(PandocOption::TopLevelDivision(Tld::Chapter)); [INFO] [stderr] 844 | | self [INFO] [stderr] 845 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:851:5 [INFO] [stderr] | [INFO] [stderr] 851 | / pub fn set_number_sections<'p>(&'p mut self) -> &'p mut Pandoc { [INFO] [stderr] 852 | | self.options.push(PandocOption::NumberSections); [INFO] [stderr] 853 | | self [INFO] [stderr] 854 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:863:5 [INFO] [stderr] | [INFO] [stderr] 863 | / pub fn set_slide_level<'p>(&'p mut self, level: u32) -> &'p mut Pandoc { [INFO] [stderr] 864 | | self.options.push(PandocOption::SlideLevel(level)); [INFO] [stderr] 865 | | self [INFO] [stderr] 866 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:885:5 [INFO] [stderr] | [INFO] [stderr] 885 | / pub fn add_filter<'p>(&'p mut self, filter: fn(String) -> String) -> &'p mut Pandoc { [INFO] [stderr] 886 | | self.filters.push(filter); [INFO] [stderr] 887 | | self [INFO] [stderr] 888 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: explicit lifetimes given in parameter types where they could be elided (or replaced with `'_` if needed by type declaration) [INFO] [stderr] --> src/lib.rs:891:5 [INFO] [stderr] | [INFO] [stderr] 891 | / pub fn add_option<'p>(&'p mut self, option: PandocOption) -> &'p mut Pandoc { [INFO] [stderr] 892 | | self.options.push(option); [INFO] [stderr] 893 | | self [INFO] [stderr] 894 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:917:32 [INFO] [stderr] | [INFO] [stderr] 917 | .chain(PANDOC_PATH.into_iter().cloned()) [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::into_iter_on_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this .into_iter() call is equivalent to .iter() and will not move the slice [INFO] [stderr] --> src/lib.rs:918:31 [INFO] [stderr] | [INFO] [stderr] 918 | .chain(LATEX_PATH.into_iter().cloned()) [INFO] [stderr] | ^^^^^^^^^ help: call directly: `iter` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref [INFO] [stderr] [INFO] [stderr] warning: this let-binding has unit value. Consider omitting `let _ =` [INFO] [stderr] --> src/lib.rs:1040:9 [INFO] [stderr] | [INFO] [stderr] 1040 | let _ = try!(self.preprocess()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `"docker" "inspect" "d635edd1bd9ce861c7f5bb0d45d4f390576c1251eb802ac2ae40285e53aa45a1"` [INFO] running `"docker" "rm" "-f" "d635edd1bd9ce861c7f5bb0d45d4f390576c1251eb802ac2ae40285e53aa45a1"` [INFO] [stdout] d635edd1bd9ce861c7f5bb0d45d4f390576c1251eb802ac2ae40285e53aa45a1