{"reason":"compiler-message","package_id":"path+file:///home/thomas/Projects/bacon-ls-bug#bacon-ls@0.26.0","manifest_path":"/home/thomas/Projects/bacon-ls-bug/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"bacon_ls","src_path":"/home/thomas/Projects/bacon-ls-bug/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"$message_type":"diagnostic","message":"unused import: `std::io::Cursor`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"src/lib.rs","byte_start":880,"byte_end":895,"line_start":30,"line_end":30,"column_start":5,"column_end":20,"is_primary":true,"text":[{"text":"use std::io::Cursor;","highlight_start":5,"highlight_end":20}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"src/lib.rs","byte_start":876,"byte_end":897,"line_start":30,"line_end":31,"column_start":1,"column_end":1,"is_primary":true,"text":[{"text":"use std::io::Cursor;","highlight_start":1,"highlight_end":21},{"text":"","highlight_start":1,"highlight_end":1}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: unused import: `std::io::Cursor`\u001b[0m\n  \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:30:5\n   \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m30\u001b[0m \u001b[1m\u001b[94m|\u001b[0m use std::io::Cursor;\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[1mnote\u001b[0m: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default\n\n"}}
