Skip to content

Commit 25f9098

Browse files
committed
update lintcheck_crates logs and fix typos
1 parent 45d6a77 commit 25f9098

File tree

3 files changed

+77
-22
lines changed

3 files changed

+77
-22
lines changed

clippy_dev/lintcheck_crates.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cxx = {name = "cxx", versions = ['1.0.32']}
2727
ryu = {name = "ryu", version = ['1.0.5']}
2828
serde_yaml = {name = "serde_yaml", versions = ['0.8.17']}
2929
thiserror = {name = "thiserror", versions = ['1.0.24']}
30-
# some embark crates there are other interesting crates but
30+
# some embark crates, there are other interesting crates but
3131
# unfortunately adding them increases lintcheck runtime drastically
3232
cfg-expr = {name = "cfg-expr", versions = ['0.7.1']}
3333
puffin = {name = "puffin", git_url = "https://github.com/EmbarkStudios/puffin", git_hash = "02dd4a3"}

clippy_dev/src/lintcheck.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ impl LintcheckConfig {
318318

319319
let sources_toml_path = PathBuf::from(sources_toml);
320320

321-
// for the path where we save the lint results, get the filename without extenstion ( so for
322-
// wasd.toml, use "wasd"....)
321+
// for the path where we save the lint results, get the filename without extension (so for
322+
// wasd.toml, use "wasd"...)
323323
let filename: PathBuf = sources_toml_path.file_stem().unwrap().into();
324324
let lintcheck_results_path = PathBuf::from(format!("lintcheck-logs/{}_logs.txt", filename.display()));
325325

lintcheck-logs/lintcheck_crates_logs.txt

+74-19
Original file line numberDiff line numberDiff line change
@@ -1448,6 +1448,36 @@ target/lintcheck/sources/cargo-0.49.0/src/cargo/util/workspace.rs:52:1 clippy::m
14481448
target/lintcheck/sources/cargo-0.49.0/src/cargo/util/workspace.rs:56:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
14491449
target/lintcheck/sources/cargo-0.49.0/src/cargo/util/workspace.rs:60:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
14501450
target/lintcheck/sources/cargo-0.49.0/src/cargo/util/workspace.rs:64:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
1451+
target/lintcheck/sources/cfg-expr-0.7.1/src/error.rs:107:13 clippy::enum_glob_use "usage of wildcard import for enum variants"
1452+
target/lintcheck/sources/cfg-expr-0.7.1/src/error.rs:5:1 clippy::module_name_repetitions "item name ends with its containing module's name"
1453+
target/lintcheck/sources/cfg-expr-0.7.1/src/error.rs:74:13 clippy::enum_glob_use "usage of wildcard import for enum variants"
1454+
target/lintcheck/sources/cfg-expr-0.7.1/src/error.rs:91:24 clippy::if_not_else "unnecessary boolean `not` operation"
1455+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/lexer.rs:102:9 clippy::items_after_statements "adding items after statements is confusing, since items exist from the start of the scope"
1456+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/lexer.rs:125:33 clippy::redundant_slicing "redundant slicing of the whole range"
1457+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/lexer.rs:4:5 clippy::doc_markdown "you should put bare URLs between `<`/`>` or make a proper Markdown link"
1458+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/lexer.rs:58:5 clippy::must_use_candidate "this method could have a `#[must_use]` attribute"
1459+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/lexer.rs:76:1 clippy::module_name_repetitions "item name starts with its containing module's name"
1460+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/lexer.rs:97:9 clippy::items_after_statements "adding items after statements is confusing, since items exist from the start of the scope"
1461+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/mod.rs:351:13 clippy::enum_glob_use "usage of wildcard import for enum variants"
1462+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/mod.rs:464:5 clippy::missing_panics_doc "docs for function which may panic missing `# Panics` section"
1463+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/mod.rs:57:13 clippy::enum_glob_use "usage of wildcard import for enum variants"
1464+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/mod.rs:586:33 clippy::match_same_arms "this `match` has identical arm bodies"
1465+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/mod.rs:599:32 clippy::match_same_arms "this `match` has identical arm bodies"
1466+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:116:31 clippy::similar_names "binding's name is too similar to existing binding"
1467+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:124:36 clippy::similar_names "binding's name is too similar to existing binding"
1468+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:17:5 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
1469+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:17:5 clippy::too_many_lines "this function has too many lines (345/100)"
1470+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:22:13 clippy::shadow_unrelated "`original` is being shadowed"
1471+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:243:36 clippy::single_match_else "you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`"
1472+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:254:34 clippy::single_match_else "you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`"
1473+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:25:9 clippy::items_after_statements "adding items after statements is confusing, since items exist from the start of the scope"
1474+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:390:9 clippy::single_match_else "you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`"
1475+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:392:17 clippy::if_not_else "unnecessary `!=` operation"
1476+
target/lintcheck/sources/cfg-expr-0.7.1/src/expr/parser.rs:67:13 clippy::items_after_statements "adding items after statements is confusing, since items exist from the start of the scope"
1477+
target/lintcheck/sources/cfg-expr-0.7.1/src/lib.rs:1:null clippy::cargo_common_metadata "package `cfg-expr` is missing `package.categories` metadata"
1478+
target/lintcheck/sources/cfg-expr-0.7.1/src/targets/builtins.rs:11:5 clippy::wildcard_imports "usage of wildcard import"
1479+
target/lintcheck/sources/cfg-expr-0.7.1/src/targets/mod.rs:139:1 clippy::must_use_candidate "this function could have a `#[must_use]` attribute"
1480+
target/lintcheck/sources/cfg-expr-0.7.1/src/targets/mod.rs:153:1 clippy::must_use_candidate "this function could have a `#[must_use]` attribute"
14511481
target/lintcheck/sources/cxx-1.0.32/src/rust_string.rs:15:20 clippy::ptr_as_ptr "`as` casting between raw pointers without changing its mutability"
14521482
target/lintcheck/sources/cxx-1.0.32/src/rust_string.rs:19:24 clippy::ptr_as_ptr "`as` casting between raw pointers without changing its mutability"
14531483
target/lintcheck/sources/cxx-1.0.32/src/rust_vec.rs:21:20 clippy::ptr_as_ptr "`as` casting between raw pointers without changing its mutability"
@@ -3207,6 +3237,12 @@ target/lintcheck/sources/ripgrep-12.1.1/crates/core/search.rs:533:36 clippy::cas
32073237
target/lintcheck/sources/ripgrep-12.1.1/crates/core/search.rs:533:5 clippy::cast_precision_loss "casting `u64` to `f64` causes a loss of precision (`u64` is 64 bits wide, but `f64`'s mantissa is only 52 bits wide)"
32083238
target/lintcheck/sources/ripgrep-12.1.1/crates/core/subject.rs:20:1 clippy::module_name_repetitions "item name starts with its containing module's name"
32093239
target/lintcheck/sources/ripgrep-12.1.1/crates/core/subject.rs:4:1 clippy::single_component_path_imports "this import is redundant"
3240+
target/lintcheck/sources/rpmalloc-0.2.0/src/lib.rs:103:5 clippy::must_use_candidate "this method could have a `#[must_use]` attribute"
3241+
target/lintcheck/sources/rpmalloc-0.2.0/src/lib.rs:114:5 clippy::must_use_candidate "this method could have a `#[must_use]` attribute"
3242+
target/lintcheck/sources/rpmalloc-0.2.0/src/lib.rs:71:73 clippy::doc_markdown "you should put bare URLs between `<`/`>` or make a proper Markdown link"
3243+
target/lintcheck/sources/rpmalloc-0.2.0/src/lib.rs:72:50 clippy::doc_markdown "you should put bare URLs between `<`/`>` or make a proper Markdown link"
3244+
target/lintcheck/sources/rpmalloc-0.2.0/src/lib.rs:92:9 clippy::ptr_as_ptr "`as` casting between raw pointers without changing its mutability"
3245+
target/lintcheck/sources/rpmalloc-0.2.0/src/lib.rs:95:21 clippy::ptr_as_ptr "`as` casting between raw pointers without changing its mutability"
32103246
target/lintcheck/sources/serde-1.0.118/src/de/mod.rs:1592:9 clippy::let_underscore_drop "non-binding `let` on a type that implements `Drop`"
32113247
target/lintcheck/sources/serde-1.0.118/src/de/mod.rs:1616:9 clippy::let_underscore_drop "non-binding `let` on a type that implements `Drop`"
32123248
target/lintcheck/sources/serde-1.0.118/src/de/mod.rs:1627:9 clippy::let_underscore_drop "non-binding `let` on a type that implements `Drop`"
@@ -3221,6 +3257,25 @@ target/lintcheck/sources/syn-1.0.54/src/lit.rs:1397:40 clippy::redundant_else "r
32213257
target/lintcheck/sources/syn-1.0.54/src/lit.rs:1405:28 clippy::redundant_else "redundant else block"
32223258
target/lintcheck/sources/syn-1.0.54/src/lit.rs:1485:32 clippy::redundant_else "redundant else block"
32233259
target/lintcheck/sources/syn-1.0.54/src/token.rs:974:5 clippy::missing_panics_doc "docs for function which may panic missing `# Panics` section"
3260+
target/lintcheck/sources/tame-oidc-0.1.0/src/errors.rs:9:5 clippy::upper_case_acronyms "name `HTTP` contains a capitalized acronym"
3261+
target/lintcheck/sources/tame-oidc-0.1.0/src/lib.rs:1:null clippy::cargo_common_metadata "package `tame-oidc` is missing `package.categories` metadata"
3262+
target/lintcheck/sources/tame-oidc-0.1.0/src/oidc.rs:111:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3263+
target/lintcheck/sources/tame-oidc-0.1.0/src/oidc.rs:127:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3264+
target/lintcheck/sources/tame-oidc-0.1.0/src/oidc.rs:52:5 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3265+
target/lintcheck/sources/tame-oidc-0.1.0/src/oidc.rs:60:1 clippy::from_over_into "an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true"
3266+
target/lintcheck/sources/tame-oidc-0.1.0/src/oidc.rs:76:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3267+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:107:1 clippy::missing_panics_doc "docs for function which may panic missing `# Panics` section"
3268+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:107:1 clippy::must_use_candidate "this function could have a `#[must_use]` attribute"
3269+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:118:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3270+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:143:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3271+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:159:1 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3272+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:26:5 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3273+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:38:5 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3274+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:57:5 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3275+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:71:5 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
3276+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:77:12 clippy::upper_case_acronyms "name `JWK` contains a capitalized acronym"
3277+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:90:12 clippy::upper_case_acronyms "name `JWKS` contains a capitalized acronym"
3278+
target/lintcheck/sources/tame-oidc-0.1.0/src/provider.rs:95:5 clippy::missing_errors_doc "docs for function returning `Result` missing `# Errors` section"
32243279
target/lintcheck/sources/thiserror-1.0.24/src/lib.rs:1:null clippy::cargo_common_metadata "package `thiserror` is missing `package.keywords` metadata"
32253280
target/lintcheck/sources/unicode-xid-0.2.1/src/lib.rs:1:null clippy::cargo_common_metadata "package `unicode-xid` is missing `package.categories` metadata"
32263281
target/lintcheck/sources/unicode-xid-0.2.1/src/lib.rs:57:64 clippy::doc_markdown "you should put `XID_Start` between ticks in the documentation"
@@ -3416,7 +3471,6 @@ clippy::comparison_chain 1
34163471
clippy::expect_fun_call 1
34173472
clippy::explicit_deref_methods 1
34183473
clippy::from_iter_instead_of_collect 1
3419-
clippy::from_over_into 1
34203474
clippy::int_plus_one 1
34213475
clippy::manual_flatten 1
34223476
clippy::manual_saturating_arithmetic 1
@@ -3426,7 +3480,6 @@ clippy::or_fun_call 1
34263480
clippy::precedence 1
34273481
clippy::pub_enum_variant_names 1
34283482
clippy::redundant_clone 1
3429-
clippy::redundant_slicing 1
34303483
clippy::same_item_push 1
34313484
clippy::should_implement_trait 1
34323485
clippy::stable_sort_primitive 1
@@ -3438,13 +3491,15 @@ clippy::while_let_on_iterator 1
34383491
clippy::comparison_to_empty 2
34393492
clippy::expl_impl_clone_on_copy 2
34403493
clippy::filter_map 2
3494+
clippy::from_over_into 2
34413495
clippy::len_zero 2
34423496
clippy::manual_non_exhaustive 2
34433497
clippy::match_on_vec_items 2
34443498
clippy::option_as_ref_deref 2
34453499
clippy::option_option 2
34463500
clippy::question_mark 2
34473501
clippy::redundant_pattern_matching 2
3502+
clippy::redundant_slicing 2
34483503
clippy::type_complexity 2
34493504
clippy::unnecessary_cast 2
34503505
clippy::unused_unit 2
@@ -3458,7 +3513,6 @@ clippy::mut_mut 3
34583513
clippy::ptr_arg 3
34593514
clippy::zero_ptr 3
34603515
clippy::too_many_arguments 4
3461-
clippy::upper_case_acronyms 4
34623516
clippy::explicit_iter_loop 5
34633517
clippy::field_reassign_with_default 5
34643518
clippy::identity_op 5
@@ -3476,6 +3530,7 @@ clippy::implicit_clone 7
34763530
clippy::map_clone 7
34773531
clippy::option_map_unit_fn 7
34783532
clippy::range_plus_one 7
3533+
clippy::upper_case_acronyms 7
34793534
clippy::invalid_upcast_comparisons 8
34803535
clippy::needless_question_mark 8
34813536
clippy::wrong_self_convention 8
@@ -3486,43 +3541,43 @@ clippy::missing_safety_doc 10
34863541
clippy::needless_doctest_main 10
34873542
clippy::needless_lifetimes 12
34883543
clippy::linkedlist 14
3489-
clippy::shadow_unrelated 14
34903544
clippy::single_char_add_str 14
34913545
clippy::option_if_let_else 15
3546+
clippy::shadow_unrelated 15
34923547
clippy::needless_pass_by_value 18
3493-
clippy::cargo_common_metadata 19
34943548
clippy::cast_possible_wrap 19
34953549
clippy::cast_sign_loss 19
3496-
clippy::ptr_as_ptr 19
34973550
clippy::unnecessary_wraps 19
34983551
clippy::unused_self 19
34993552
clippy::unusual_byte_groupings 19
35003553
clippy::map_unwrap_or 20
35013554
clippy::struct_excessive_bools 20
3555+
clippy::cargo_common_metadata 21
3556+
clippy::ptr_as_ptr 21
35023557
clippy::redundant_static_lifetimes 21
35033558
clippy::cast_lossless 23
35043559
clippy::default_trait_access 26
35053560
clippy::let_underscore_drop 26
35063561
clippy::trivially_copy_pass_by_ref 26
35073562
clippy::redundant_else 29
3508-
clippy::too_many_lines 34
3509-
clippy::if_not_else 36
3510-
clippy::enum_glob_use 40
3563+
clippy::too_many_lines 35
3564+
clippy::if_not_else 38
35113565
clippy::unseparated_literal_suffix 41
35123566
clippy::cast_precision_loss 44
3513-
clippy::single_match_else 45
3514-
clippy::missing_panics_doc 57
3567+
clippy::enum_glob_use 44
3568+
clippy::single_match_else 48
35153569
clippy::inline_always 59
3516-
clippy::match_same_arms 60
3517-
clippy::similar_names 81
3570+
clippy::missing_panics_doc 59
3571+
clippy::match_same_arms 62
3572+
clippy::similar_names 83
35183573
clippy::cast_possible_truncation 95
35193574
clippy::redundant_field_names 111
35203575
clippy::redundant_closure_for_method_calls 135
3521-
clippy::items_after_statements 139
3522-
clippy::module_name_repetitions 144
3523-
clippy::wildcard_imports 163
3524-
clippy::doc_markdown 181
3525-
clippy::missing_errors_doc 343
3576+
clippy::items_after_statements 143
3577+
clippy::module_name_repetitions 146
3578+
clippy::wildcard_imports 164
3579+
clippy::doc_markdown 184
3580+
clippy::missing_errors_doc 356
35263581
clippy::unreadable_literal 365
3527-
clippy::must_use_candidate 565
3582+
clippy::must_use_candidate 571
35283583
ICEs:

0 commit comments

Comments
 (0)