6 lines
6.8 KiB
Plaintext
6 lines
6.8 KiB
Plaintext
{"reason":"compiler-message","package_id":"path+file:///Users/brianj/src/github/silver-octo-spoon/rust/wc-tool#0.1.0","manifest_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"wc-tool","src_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/src/main.rs","edition":"2024","doc":true,"doctest":false,"test":true},"message":{"$message_type":"diagnostic","message":"consider using `sort_by_key`","code":{"code":"clippy::unnecessary_sort_by","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":582,"byte_end":618,"line_start":21,"line_end":21,"column_start":5,"column_end":41,"is_primary":true,"text":[{"text":" sorted.sort_by(|a, b| b.1.cmp(&a.1));","highlight_start":5,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_sort_by","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::unnecessary_sort_by)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"try","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":589,"byte_end":618,"line_start":21,"line_end":21,"column_start":12,"column_end":41,"is_primary":true,"text":[{"text":" sorted.sort_by(|a, b| b.1.cmp(&a.1));","highlight_start":12,"highlight_end":41}],"label":null,"suggested_replacement":"sort_by_key(|b| std::cmp::Reverse(b.1))","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: consider using `sort_by_key`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:21:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m21\u001b[0m \u001b[1m\u001b[94m|\u001b[0m sorted.sort_by(|a, b| b.1.cmp(&a.1));\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_sort_by\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `#[warn(clippy::unnecessary_sort_by)]` on by default\n\u001b[1m\u001b[96mhelp\u001b[0m: try\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m21\u001b[0m \u001b[91m- \u001b[0m sorted.\u001b[91msort_by(|a, b| b.1.cmp(&a.1))\u001b[0m;\n\u001b[1m\u001b[94m21\u001b[0m \u001b[92m+ \u001b[0m sorted.\u001b[92msort_by_key(|b| std::cmp::Reverse(b.1))\u001b[0m;\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}}
|
|
{"reason":"compiler-message","package_id":"path+file:///Users/brianj/src/github/silver-octo-spoon/rust/wc-tool#0.1.0","manifest_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"wc-tool","src_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/src/main.rs","edition":"2024","doc":true,"doctest":false,"test":true},"message":{"$message_type":"diagnostic","message":"consider using `sort_by_key`","code":{"code":"clippy::unnecessary_sort_by","explanation":null},"level":"warning","spans":[{"file_name":"src/main.rs","byte_start":582,"byte_end":618,"line_start":21,"line_end":21,"column_start":5,"column_end":41,"is_primary":true,"text":[{"text":" sorted.sort_by(|a, b| b.1.cmp(&a.1));","highlight_start":5,"highlight_end":41}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_sort_by","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::unnecessary_sort_by)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"try","code":null,"level":"help","spans":[{"file_name":"src/main.rs","byte_start":589,"byte_end":618,"line_start":21,"line_end":21,"column_start":12,"column_end":41,"is_primary":true,"text":[{"text":" sorted.sort_by(|a, b| b.1.cmp(&a.1));","highlight_start":12,"highlight_end":41}],"label":null,"suggested_replacement":"sort_by_key(|b| std::cmp::Reverse(b.1))","suggestion_applicability":"MaybeIncorrect","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: consider using `sort_by_key`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/main.rs:21:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m21\u001b[0m \u001b[1m\u001b[94m|\u001b[0m sorted.sort_by(|a, b| b.1.cmp(&a.1));\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n \u001b[1m\u001b[94m|\u001b[0m\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mhelp\u001b[0m: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#unnecessary_sort_by\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `#[warn(clippy::unnecessary_sort_by)]` on by default\n\u001b[1m\u001b[96mhelp\u001b[0m: try\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m21\u001b[0m \u001b[91m- \u001b[0m sorted.\u001b[91msort_by(|a, b| b.1.cmp(&a.1))\u001b[0m;\n\u001b[1m\u001b[94m21\u001b[0m \u001b[92m+ \u001b[0m sorted.\u001b[92msort_by_key(|b| std::cmp::Reverse(b.1))\u001b[0m;\n \u001b[1m\u001b[94m|\u001b[0m\n\n"}}
|
|
{"reason":"compiler-artifact","package_id":"path+file:///Users/brianj/src/github/silver-octo-spoon/rust/wc-tool#0.1.0","manifest_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"wc-tool","src_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/src/main.rs","edition":"2024","doc":true,"doctest":false,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/target/debug/deps/libwc_tool-af84e2444da36269.rmeta"],"executable":null,"fresh":false}
|
|
{"reason":"compiler-artifact","package_id":"path+file:///Users/brianj/src/github/silver-octo-spoon/rust/wc-tool#0.1.0","manifest_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"wc-tool","src_path":"/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/src/main.rs","edition":"2024","doc":true,"doctest":false,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":true},"features":[],"filenames":["/Users/brianj/src/github/silver-octo-spoon/rust/wc-tool/target/debug/deps/libwc_tool-4009f1fc2d20ccce.rmeta"],"executable":null,"fresh":false}
|
|
{"reason":"build-finished","success":true}
|