struct deamon
This commit is contained in:
@ -0,0 +1,30 @@
|
|||||||
|
use std::time::SystemTime;
|
||||||
|
|
||||||
|
pub struct ClipboardEntry {
|
||||||
|
pub content: ClipboardData,
|
||||||
|
pub timestamp: SystemTime,
|
||||||
|
}
|
||||||
|
|
||||||
|
pub enum ClipboardData {
|
||||||
|
Text(String),
|
||||||
|
Image(Vec<u8>), // png storage
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ClipboardData {
|
||||||
|
fn is_text(&self) -> bool {
|
||||||
|
match self {
|
||||||
|
ClipboardData::Text(_) => true,
|
||||||
|
ClipboardData::Image(_) => false,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn is_image(&self) -> bool {
|
||||||
|
!self.is_text()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ClipboardEntry {
|
||||||
|
fn new() -> ClipboardData {
|
||||||
|
unimplemented!()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
0.007090398s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: stale: changed "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs"
|
0.007007011s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: stale: changed "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs"
|
||||||
0.007098218s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: (vs) "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-f4e8ac4b4add01be/dep-lib-rklipd"
|
0.007017906s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: (vs) "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-f4e8ac4b4add01be/dep-lib-rklipd"
|
||||||
0.007100488s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: FileTime { seconds: 1772747149, nanos: 347268769 } < FileTime { seconds: 1772747176, nanos: 498988995 }
|
0.007020261s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: FileTime { seconds: 1772749468, nanos: 407758665 } < FileTime { seconds: 1772749469, nanos: 307772201 }
|
||||||
0.007125830s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: false }/TargetInner { name_inferred: true, ..: lib_target("rklipd", ["lib"], "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", Edition2024) }
|
0.007048268s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: false }/TargetInner { name_inferred: true, ..: lib_target("rklipd", ["lib"], "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", Edition2024) }
|
||||||
0.007133045s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleItem(ChangedFile { reference: "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-f4e8ac4b4add01be/dep-lib-rklipd", reference_mtime: FileTime { seconds: 1772747149, nanos: 347268769 }, stale: "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", stale_mtime: FileTime { seconds: 1772747176, nanos: 498988995 } }))
|
0.007057460s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleItem(ChangedFile { reference: "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-f4e8ac4b4add01be/dep-lib-rklipd", reference_mtime: FileTime { seconds: 1772749468, nanos: 407758665 }, stale: "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", stale_mtime: FileTime { seconds: 1772749469, nanos: 307772201 } }))
|
||||||
0.007239339s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: stale: changed "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs"
|
0.007185539s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: stale: changed "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs"
|
||||||
0.007241512s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: (vs) "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-76b1f7e91bbf555b/dep-test-lib-rklipd"
|
0.007188300s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: (vs) "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-76b1f7e91bbf555b/dep-test-lib-rklipd"
|
||||||
0.007243170s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: FileTime { seconds: 1772747149, nanos: 347268769 } < FileTime { seconds: 1772747176, nanos: 498988995 }
|
0.007190069s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: FileTime { seconds: 1772749468, nanos: 407758665 } < FileTime { seconds: 1772749469, nanos: 307772201 }
|
||||||
0.007254518s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: true }/TargetInner { name_inferred: true, ..: lib_target("rklipd", ["lib"], "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", Edition2024) }
|
0.007201335s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: true }/TargetInner { name_inferred: true, ..: lib_target("rklipd", ["lib"], "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", Edition2024) }
|
||||||
0.007258808s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleItem(ChangedFile { reference: "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-76b1f7e91bbf555b/dep-test-lib-rklipd", reference_mtime: FileTime { seconds: 1772747149, nanos: 347268769 }, stale: "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", stale_mtime: FileTime { seconds: 1772747176, nanos: 498988995 } }))
|
0.007206115s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleItem(ChangedFile { reference: "/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/.fingerprint/rklipd-76b1f7e91bbf555b/dep-test-lib-rklipd", reference_mtime: FileTime { seconds: 1772749468, nanos: 407758665 }, stale: "/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs", stale_mtime: FileTime { seconds: 1772749469, nanos: 307772201 } }))
|
||||||
0.007324358s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: false }/TargetInner { name: "rklipd", doc: true, ..: with_path("/home/zefad/Documents/Code/Rust/rklip/rklipd/src/main.rs", Edition2024) }
|
0.007280086s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: false }/TargetInner { name: "rklipd", doc: true, ..: with_path("/home/zefad/Documents/Code/Rust/rklip/rklipd/src/main.rs", Edition2024) }
|
||||||
0.007329183s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleDepFingerprint { name: "rklipd" })
|
0.007284923s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleDepFingerprint { name: "rklipd" })
|
||||||
0.007397712s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: true }/TargetInner { name: "rklipd", doc: true, ..: with_path("/home/zefad/Documents/Code/Rust/rklip/rklipd/src/main.rs", Edition2024) }
|
0.007357789s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: fingerprint dirty for rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)/Check { test: true }/TargetInner { name: "rklipd", doc: true, ..: with_path("/home/zefad/Documents/Code/Rust/rklip/rklipd/src/main.rs", Edition2024) }
|
||||||
0.007402084s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleDepFingerprint { name: "rklipd" })
|
0.007362148s INFO prepare_target{force=false package_id=rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd) target="rklipd"}: cargo::core::compiler::fingerprint: dirty: FsStatusOutdated(StaleDepFingerprint { name: "rklipd" })
|
||||||
Checking rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)
|
Checking rklipd v0.1.0 (/home/zefad/Documents/Code/Rust/rklip/rklipd)
|
||||||
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
|
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
|
||||||
|
|||||||
@ -1,5 +1,11 @@
|
|||||||
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-f4e8ac4b4add01be.rmeta"],"executable":null,"fresh":false}
|
{"reason":"compiler-message","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"$message_type":"diagnostic","message":"methods `is_text` and `is_image` are never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/lib.rs","byte_start":203,"byte_end":221,"line_start":13,"line_end":13,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"impl ClipboardData {","highlight_start":1,"highlight_end":19}],"label":"methods in this implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/lib.rs","byte_start":231,"byte_end":238,"line_start":14,"line_end":14,"column_start":8,"column_end":15,"is_primary":true,"text":[{"text":" fn is_text(&self) -> bool {","highlight_start":8,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/lib.rs","byte_start":391,"byte_end":399,"line_start":21,"line_end":21,"column_start":8,"column_end":16,"is_primary":true,"text":[{"text":" fn is_image(&self) -> bool {","highlight_start":8,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: methods `is_text` and `is_image` are never used\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:14:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m13\u001b[0m \u001b[1m\u001b[94m|\u001b[0m impl ClipboardData {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m------------------\u001b[0m \u001b[1m\u001b[94mmethods in this implementation\u001b[0m\n\u001b[1m\u001b[94m14\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn is_text(&self) -> bool {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^\u001b[0m\n\u001b[1m\u001b[94m...\u001b[0m\n\u001b[1m\u001b[94m21\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn is_image(&self) -> bool {\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(dead_code)]` (part of `#[warn(unused)]`) on by default\n\n"}}
|
||||||
|
{"reason":"compiler-message","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"$message_type":"diagnostic","message":"associated function `new` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/lib.rs","byte_start":450,"byte_end":469,"line_start":26,"line_end":26,"column_start":1,"column_end":20,"is_primary":false,"text":[{"text":"impl ClipboardEntry {","highlight_start":1,"highlight_end":20}],"label":"associated function in this implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/lib.rs","byte_start":479,"byte_end":482,"line_start":27,"line_end":27,"column_start":8,"column_end":11,"is_primary":true,"text":[{"text":" fn new() -> ClipboardData {","highlight_start":8,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: associated function `new` is never used\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:27:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m26\u001b[0m \u001b[1m\u001b[94m|\u001b[0m impl ClipboardEntry {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------------------\u001b[0m \u001b[1m\u001b[94massociated function in this implementation\u001b[0m\n\u001b[1m\u001b[94m27\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn new() -> ClipboardData {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^\u001b[0m\n\n"}}
|
||||||
|
{"reason":"compiler-message","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"$message_type":"diagnostic","message":"methods `is_text` and `is_image` are never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/lib.rs","byte_start":203,"byte_end":221,"line_start":13,"line_end":13,"column_start":1,"column_end":19,"is_primary":false,"text":[{"text":"impl ClipboardData {","highlight_start":1,"highlight_end":19}],"label":"methods in this implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/lib.rs","byte_start":231,"byte_end":238,"line_start":14,"line_end":14,"column_start":8,"column_end":15,"is_primary":true,"text":[{"text":" fn is_text(&self) -> bool {","highlight_start":8,"highlight_end":15}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/lib.rs","byte_start":391,"byte_end":399,"line_start":21,"line_end":21,"column_start":8,"column_end":16,"is_primary":true,"text":[{"text":" fn is_image(&self) -> bool {","highlight_start":8,"highlight_end":16}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: methods `is_text` and `is_image` are never used\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:14:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m13\u001b[0m \u001b[1m\u001b[94m|\u001b[0m impl ClipboardData {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m------------------\u001b[0m \u001b[1m\u001b[94mmethods in this implementation\u001b[0m\n\u001b[1m\u001b[94m14\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn is_text(&self) -> bool {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^^^^^\u001b[0m\n\u001b[1m\u001b[94m...\u001b[0m\n\u001b[1m\u001b[94m21\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn is_image(&self) -> bool {\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(dead_code)]` (part of `#[warn(unused)]`) on by default\n\n"}}
|
||||||
|
{"reason":"compiler-message","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"$message_type":"diagnostic","message":"methods called `new` usually return `Self`","code":{"code":"clippy::new_ret_no_self","explanation":null},"level":"warning","spans":[{"file_name":"src/lib.rs","byte_start":476,"byte_end":534,"line_start":27,"line_end":29,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" fn new() -> ClipboardData {","highlight_start":5,"highlight_end":32},{"text":" unimplemented!()","highlight_start":1,"highlight_end":25},{"text":" }","highlight_start":1,"highlight_end":6}],"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.92.0/index.html#new_ret_no_self","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::new_ret_no_self)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: methods called `new` usually return `Self`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:27:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m27\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m/\u001b[0m fn new() -> ClipboardData {\n\u001b[1m\u001b[94m28\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m unimplemented!()\n\u001b[1m\u001b[94m29\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m }\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.92.0/index.html#new_ret_no_self\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `#[warn(clippy::new_ret_no_self)]` on by default\n\n"}}
|
||||||
|
{"reason":"compiler-message","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"$message_type":"diagnostic","message":"associated function `new` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/lib.rs","byte_start":450,"byte_end":469,"line_start":26,"line_end":26,"column_start":1,"column_end":20,"is_primary":false,"text":[{"text":"impl ClipboardEntry {","highlight_start":1,"highlight_end":20}],"label":"associated function in this implementation","suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/lib.rs","byte_start":479,"byte_end":482,"line_start":27,"line_end":27,"column_start":8,"column_end":11,"is_primary":true,"text":[{"text":" fn new() -> ClipboardData {","highlight_start":8,"highlight_end":11}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: associated function `new` is never used\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:27:8\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m26\u001b[0m \u001b[1m\u001b[94m|\u001b[0m impl ClipboardEntry {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[94m-------------------\u001b[0m \u001b[1m\u001b[94massociated function in this implementation\u001b[0m\n\u001b[1m\u001b[94m27\u001b[0m \u001b[1m\u001b[94m|\u001b[0m fn new() -> ClipboardData {\n \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m^^^\u001b[0m\n\n"}}
|
||||||
|
{"reason":"compiler-message","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"$message_type":"diagnostic","message":"methods called `new` usually return `Self`","code":{"code":"clippy::new_ret_no_self","explanation":null},"level":"warning","spans":[{"file_name":"src/lib.rs","byte_start":476,"byte_end":534,"line_start":27,"line_end":29,"column_start":5,"column_end":6,"is_primary":true,"text":[{"text":" fn new() -> ClipboardData {","highlight_start":5,"highlight_end":32},{"text":" unimplemented!()","highlight_start":1,"highlight_end":25},{"text":" }","highlight_start":1,"highlight_end":6}],"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.92.0/index.html#new_ret_no_self","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(clippy::new_ret_no_self)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[33mwarning\u001b[0m\u001b[1m: methods called `new` usually return `Self`\u001b[0m\n \u001b[1m\u001b[94m--> \u001b[0msrc/lib.rs:27:5\n \u001b[1m\u001b[94m|\u001b[0m\n\u001b[1m\u001b[94m27\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m/\u001b[0m fn new() -> ClipboardData {\n\u001b[1m\u001b[94m28\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m unimplemented!()\n\u001b[1m\u001b[94m29\u001b[0m \u001b[1m\u001b[94m|\u001b[0m \u001b[1m\u001b[33m|\u001b[0m }\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.92.0/index.html#new_ret_no_self\n \u001b[1m\u001b[94m= \u001b[0m\u001b[1mnote\u001b[0m: `#[warn(clippy::new_ret_no_self)]` on by default\n\n"}}
|
||||||
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":true},"features":[],"filenames":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-76b1f7e91bbf555b.rmeta"],"executable":null,"fresh":false}
|
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":true},"features":[],"filenames":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-76b1f7e91bbf555b.rmeta"],"executable":null,"fresh":false}
|
||||||
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/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":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-2d822a811f51945a.rmeta"],"executable":null,"fresh":false}
|
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-f4e8ac4b4add01be.rmeta"],"executable":null,"fresh":false}
|
||||||
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/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":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-2a6d3df2caa9729d.rmeta"],"executable":null,"fresh":false}
|
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/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":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-2a6d3df2caa9729d.rmeta"],"executable":null,"fresh":false}
|
||||||
|
{"reason":"compiler-artifact","package_id":"path+file:///home/zefad/Documents/Code/Rust/rklip/rklipd#0.1.0","manifest_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"rklipd","src_path":"/home/zefad/Documents/Code/Rust/rklip/rklipd/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":["/home/zefad/Documents/Code/Rust/rklip/rklipd/target/debug/deps/librklipd-2d822a811f51945a.rmeta"],"executable":null,"fresh":false}
|
||||||
{"reason":"build-finished","success":true}
|
{"reason":"build-finished","success":true}
|
||||||
|
|||||||
Reference in New Issue
Block a user