[INFO] fetching crate flapigen 0.10.0... [INFO] linting flapigen-0.10.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate flapigen 0.10.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate flapigen 0.10.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate flapigen 0.10.0 [INFO] tweaked toml for crates.io crate flapigen 0.10.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate flapigen 0.10.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate flapigen 0.10.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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.20.2 [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded errno v0.3.9 [INFO] [stderr] Downloaded bitflags v2.6.0 [INFO] [stderr] Downloaded env_filter v0.1.2 [INFO] [stderr] Downloaded tempfile v3.14.0 [INFO] [stderr] Downloaded rustversion v1.0.18 [INFO] [stderr] Downloaded env_logger v0.11.5 [INFO] [stderr] Downloaded log v0.4.22 [INFO] [stderr] Downloaded unicode-ident v1.0.13 [INFO] [stderr] Downloaded borsh v1.5.2 [INFO] [stderr] Downloaded indexmap v2.6.0 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded serde v1.0.214 [INFO] [stderr] Downloaded hashbrown v0.15.1 [INFO] [stderr] Downloaded serde_derive v1.0.214 [INFO] [stderr] Downloaded getopts v0.2.21 [INFO] [stderr] Downloaded quote v1.0.37 [INFO] [stderr] Downloaded unicase v2.8.0 [INFO] [stderr] Downloaded smol_str v0.3.2 [INFO] [stderr] Downloaded either v1.13.0 [INFO] [stderr] Downloaded rustix v0.38.40 [INFO] [stderr] Downloaded libc v0.2.162 [INFO] [stderr] Downloaded linux-raw-sys v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348565f6b3135bb350db86bc5a22bc091d9b8b34c91d22193924a745a15158e4 [INFO] running `Command { std: "docker" "start" "-a" "348565f6b3135bb350db86bc5a22bc091d9b8b34c91d22193924a745a15158e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348565f6b3135bb350db86bc5a22bc091d9b8b34c91d22193924a745a15158e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348565f6b3135bb350db86bc5a22bc091d9b8b34c91d22193924a745a15158e4", kill_on_drop: false }` [INFO] [stdout] 348565f6b3135bb350db86bc5a22bc091d9b8b34c91d22193924a745a15158e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d66d75c1f26b234535a6305dda4f7a3749ed3a3b3e492b6a318e06cca4e9f91c [INFO] running `Command { std: "docker" "start" "-a" "d66d75c1f26b234535a6305dda4f7a3749ed3a3b3e492b6a318e06cca4e9f91c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicase v2.8.0 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking jni-sys v0.3.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.87 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking which v4.4.2 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling flapigen v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/cpp/cpp_code.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | includes.extend(mem::take(&mut p.provided_by_module).into_iter()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/collect.rs:416:17 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 180 - includes.extend(mem::take(&mut p.provided_by_module).into_iter()); [INFO] [stdout] 180 + includes.extend(mem::take(&mut p.provided_by_module)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/cpp/cpp_code.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | includes.extend(mem::take(&mut m.output.provided_by_module).into_iter()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/collect.rs:416:17 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 182 - includes.extend(mem::take(&mut m.output.provided_by_module).into_iter()); [INFO] [stdout] 182 + includes.extend(mem::take(&mut m.output.provided_by_module)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `write!()` with a format string that ends in a single newline [INFO] [stdout] --> src/cpp/cpp_code.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | / write!( [INFO] [stdout] 442 | | out, [INFO] [stdout] 443 | | "extern const {f_ty} {name};\n", [INFO] [stdout] 444 | | f_ty = fti.base.name.display(), [INFO] [stdout] 445 | | name = static_.ident [INFO] [stdout] 446 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stdout] = note: `#[warn(clippy::write_with_newline)]` on by default [INFO] [stdout] help: use `writeln!` instead [INFO] [stdout] | [INFO] [stdout] 441 ~ writeln!( [INFO] [stdout] 442 | out, [INFO] [stdout] 443 ~ "extern const {f_ty} {name};", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/cpp/fclass.rs:1046:1 [INFO] [stdout] | [INFO] [stdout] 1046 | / fn generate_cpp_header_preamble( [INFO] [stdout] 1047 | | ctx: &mut CppContext, [INFO] [stdout] 1048 | | class: &ForeignClassInfo, [INFO] [stdout] 1049 | | tmp_class_name: &str, [INFO] [stdout] ... | [INFO] [stdout] 1055 | | cpp_include_f: &mut FileWriteCache, [INFO] [stdout] 1056 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/cpp/map_class_self_type.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / fn register_rust_ty_conversion_rules( [INFO] [stdout] 125 | | conv_map: &mut TypeMap, [INFO] [stdout] 126 | | class: &ForeignClassInfo, [INFO] [stdout] 127 | | this_type: RustType, [INFO] [stdout] ... | [INFO] [stdout] 132 | | this_type_mut_ref: RustTypeIdx, [INFO] [stdout] 133 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/cpp/map_class_self_type.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / fn register_main_foreign_types( [INFO] [stdout] 243 | | conv_map: &mut TypeMap, [INFO] [stdout] 244 | | class: &ForeignClassInfo, [INFO] [stdout] 245 | | this_type: RustTypeIdx, [INFO] [stdout] ... | [INFO] [stdout] 250 | | this_type_mut_ref: RustTypeIdx, [INFO] [stdout] 251 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/cpp/mod.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | f_code_str: &String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 538 ~ f_code_str: &str, [INFO] [stdout] 539 | ) -> bool { [INFO] [stdout] 540 ~ let entry = (f_module_name.clone(), f_code_str.to_owned()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/cpp/cpp_code.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | includes.extend(mem::take(&mut p.provided_by_module).into_iter()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/collect.rs:416:17 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 180 - includes.extend(mem::take(&mut p.provided_by_module).into_iter()); [INFO] [stdout] 180 + includes.extend(mem::take(&mut p.provided_by_module)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/cpp/cpp_code.rs:182:25 [INFO] [stdout] | [INFO] [stdout] 182 | includes.extend(mem::take(&mut m.output.provided_by_module).into_iter()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> /rustc/3645249d79dfb136b5d8de3ce153d19d6698d92d/library/core/src/iter/traits/collect.rs:416:17 [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 182 - includes.extend(mem::take(&mut m.output.provided_by_module).into_iter()); [INFO] [stdout] 182 + includes.extend(mem::take(&mut m.output.provided_by_module)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `write!()` with a format string that ends in a single newline [INFO] [stdout] --> src/cpp/cpp_code.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | / write!( [INFO] [stdout] 442 | | out, [INFO] [stdout] 443 | | "extern const {f_ty} {name};\n", [INFO] [stdout] 444 | | f_ty = fti.base.name.display(), [INFO] [stdout] 445 | | name = static_.ident [INFO] [stdout] 446 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#write_with_newline [INFO] [stdout] = note: `#[warn(clippy::write_with_newline)]` on by default [INFO] [stdout] help: use `writeln!` instead [INFO] [stdout] | [INFO] [stdout] 441 ~ writeln!( [INFO] [stdout] 442 | out, [INFO] [stdout] 443 ~ "extern const {f_ty} {name};", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/cpp/fclass.rs:1046:1 [INFO] [stdout] | [INFO] [stdout] 1046 | / fn generate_cpp_header_preamble( [INFO] [stdout] 1047 | | ctx: &mut CppContext, [INFO] [stdout] 1048 | | class: &ForeignClassInfo, [INFO] [stdout] 1049 | | tmp_class_name: &str, [INFO] [stdout] ... | [INFO] [stdout] 1055 | | cpp_include_f: &mut FileWriteCache, [INFO] [stdout] 1056 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/typemap/typemap_macro.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl PartialOrd for ModuleName { [INFO] [stdout] 110 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 111 | | Some(self.name.cmp(&other.name)) [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 110 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 111 - Some(self.name.cmp(&other.name)) [INFO] [stdout] 112 - } [INFO] [stdout] 110 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/cpp/map_class_self_type.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 124 | / fn register_rust_ty_conversion_rules( [INFO] [stdout] 125 | | conv_map: &mut TypeMap, [INFO] [stdout] 126 | | class: &ForeignClassInfo, [INFO] [stdout] 127 | | this_type: RustType, [INFO] [stdout] ... | [INFO] [stdout] 132 | | this_type_mut_ref: RustTypeIdx, [INFO] [stdout] 133 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/cpp/map_class_self_type.rs:242:1 [INFO] [stdout] | [INFO] [stdout] 242 | / fn register_main_foreign_types( [INFO] [stdout] 243 | | conv_map: &mut TypeMap, [INFO] [stdout] 244 | | class: &ForeignClassInfo, [INFO] [stdout] 245 | | this_type: RustTypeIdx, [INFO] [stdout] ... | [INFO] [stdout] 250 | | this_type_mut_ref: RustTypeIdx, [INFO] [stdout] 251 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/typemap/typemap_macro.rs:1075:1 [INFO] [stdout] | [INFO] [stdout] 1075 | / enum TyValueOrRef<'a> { [INFO] [stdout] 1076 | | Value(Type), [INFO] [stdout] | | ----------- the largest variant contains at least 320 bytes [INFO] [stdout] 1077 | | Ref(&'a Type), [INFO] [stdout] | | ------------- the second-largest variant contains at least 8 bytes [INFO] [stdout] 1078 | | } [INFO] [stdout] | |_^ the entire enum is at least 320 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 1076 - Value(Type), [INFO] [stdout] 1076 + Value(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/cpp/mod.rs:538:17 [INFO] [stdout] | [INFO] [stdout] 538 | f_code_str: &String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 538 ~ f_code_str: &str, [INFO] [stdout] 539 | ) -> bool { [INFO] [stdout] 540 ~ let entry = (f_module_name.clone(), f_code_str.to_owned()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/typemap.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / impl ToString for TypeConvCode { [INFO] [stdout] 185 | | fn to_string(&self) -> String { [INFO] [stdout] 186 | | self.code.clone() [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] = note: `#[warn(clippy::to_string_trait_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/types.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / pub(crate) enum FnArg { [INFO] [stdout] 103 | | SelfArg(Span, SelfTypeVariant), [INFO] [stdout] | | ------------------------------ the second-largest variant contains at least 13 bytes [INFO] [stdout] 104 | | Default(NamedArg), [INFO] [stdout] | | ----------------- the largest variant contains at least 360 bytes [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ the entire enum is at least 360 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 104 - Default(NamedArg), [INFO] [stdout] 104 + Default(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | /// for example android.support.annotation.NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | /// for example for Android Studio [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | /// you should pass android.support.annotation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this looks like an `else if` but the `else` is missing [INFO] [stdout] --> /opt/rustwide/target/debug/build/flapigen-f59975c3173a58fd/out/jni-include.rs:1:5789 [INFO] [stdout] | [INFO] [stdout] 1 | ...env : Some (env) , callback : self , need_detach : false , } ; } if res != (JNI_EDETACHED as jint) { panic ! ("get_jni_env: GetEnv... [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: to remove this lint, add the missing `else` or add a new line before the second `if` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#possible_missing_else [INFO] [stdout] = note: `#[warn(clippy::possible_missing_else)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> tests/test_code_in_readme.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fs::create_dir_all(&tmp_dir.path().join(&test.name)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `tmp_dir.path().join(&test.name)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test_expectations.rs:403:42 [INFO] [stdout] | [INFO] [stdout] 403 | let class_pos = find_subsequence(&code, needle.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^ help: change this to: `code` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: needless call to `as_bytes` [INFO] [stdout] --> tests/test_expectations.rs:404:35 [INFO] [stdout] | [INFO] [stdout] 404 | let end_pos = class_pos + needle.as_bytes().len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `needle.len()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes [INFO] [stdout] = note: `#[warn(clippy::needless_as_bytes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test_expectations.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | let pos = find_subsequence(&code, needle.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^ help: change this to: `code` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test_expectations.rs:430:36 [INFO] [stdout] | [INFO] [stdout] 430 | let pos = find_subsequence(&code, needle.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^ help: change this to: `code` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> tests/test_expectations.rs:575:28 [INFO] [stdout] | [INFO] [stdout] 575 | .any(|ext| path.path().to_str().map_or(false, |x| x.ends_with(ext))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 575 - .any(|ext| path.path().to_str().map_or(false, |x| x.ends_with(ext))) [INFO] [stdout] 575 + .any(|ext| path.path().to_str().is_some_and(|x| x.ends_with(ext))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test_expectations.rs:667:24 [INFO] [stdout] | [INFO] [stdout] 667 | parse_code(&test_name, Source::Path(&test_case), lang).expect("parse_code failed"); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `test_name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test_expectations.rs:667:49 [INFO] [stdout] | [INFO] [stdout] 667 | parse_code(&test_name, Source::Path(&test_case), lang).expect("parse_code failed"); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `test_case` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> tests/test_expectations.rs:677:45 [INFO] [stdout] | [INFO] [stdout] 677 | let rust_cpp_expectation = new_path(&test_case, rust_ext); [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `test_case` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> tests/test_expectations.rs:683:22 [INFO] [stdout] | [INFO] [stdout] 683 | .map(|v| rustfmt_without_errors(v)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `rustfmt_without_errors` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | assert!(!rule.if_simple_rtype_ftype_map().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:382:13 [INFO] [stdout] | [INFO] [stdout] 382 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | assert!(!rule.if_simple_rtype_ftype_map_no_lang_backend().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `rule.if_simple_rtype_ftype_map_no_lang_backend().is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/typemap/typemap_macro/tests.rs:605:13 [INFO] [stdout] | [INFO] [stdout] 605 | assert!(!subst_map.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try: `subst_map.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `partial_cmp` on an `Ord` type [INFO] [stdout] --> src/typemap/typemap_macro.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl PartialOrd for ModuleName { [INFO] [stdout] 110 | | fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 111 | | Some(self.name.cmp(&other.name)) [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_partial_ord_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_partial_ord_impl)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 110 - fn partial_cmp(&self, other: &Self) -> Option { [INFO] [stdout] 111 - Some(self.name.cmp(&other.name)) [INFO] [stdout] 112 - } [INFO] [stdout] 110 + fn partial_cmp(&self, other: &Self) -> Option { Some(self.cmp(other)) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/typemap/typemap_macro.rs:1075:1 [INFO] [stdout] | [INFO] [stdout] 1075 | / enum TyValueOrRef<'a> { [INFO] [stdout] 1076 | | Value(Type), [INFO] [stdout] | | ----------- the largest variant contains at least 320 bytes [INFO] [stdout] 1077 | | Ref(&'a Type), [INFO] [stdout] | | ------------- the second-largest variant contains at least 8 bytes [INFO] [stdout] 1078 | | } [INFO] [stdout] | |_^ the entire enum is at least 320 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 1076 - Value(Type), [INFO] [stdout] 1076 + Value(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct implementation of `ToString` [INFO] [stdout] --> src/typemap.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / impl ToString for TypeConvCode { [INFO] [stdout] 185 | | fn to_string(&self) -> String { [INFO] [stdout] 186 | | self.code.clone() [INFO] [stdout] 187 | | } [INFO] [stdout] 188 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: prefer implementing `Display` instead [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl [INFO] [stdout] = note: `#[warn(clippy::to_string_trait_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/types.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / pub(crate) enum FnArg { [INFO] [stdout] 103 | | SelfArg(Span, SelfTypeVariant), [INFO] [stdout] | | ------------------------------ the second-largest variant contains at least 13 bytes [INFO] [stdout] 104 | | Default(NamedArg), [INFO] [stdout] | | ----------------- the largest variant contains at least 360 bytes [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ the entire enum is at least 360 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 104 - Default(NamedArg), [INFO] [stdout] 104 + Default(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | /// for example android.support.annotation.NonNull [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | /// for example for Android Studio [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | /// you should pass android.support.annotation [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.42s [INFO] running `Command { std: "docker" "inspect" "d66d75c1f26b234535a6305dda4f7a3749ed3a3b3e492b6a318e06cca4e9f91c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66d75c1f26b234535a6305dda4f7a3749ed3a3b3e492b6a318e06cca4e9f91c", kill_on_drop: false }` [INFO] [stdout] d66d75c1f26b234535a6305dda4f7a3749ed3a3b3e492b6a318e06cca4e9f91c